In the process of deploying an online environment, we recommend you integrate with link tracking and metrics collection services to facilitate troubleshooting and system monitoring.

SDF-GW uses Jaeger as the link tracking system. To enable Jaeger, you just need to configure the following environment variables.

# Enable Jaeger
JAEGER_ENABLE=true
# Jaeger endpoint
JAEGER_ENDPOINT=
# Whether to enable log span
JAEGER_LOG_SPAN=true

Monitoring metrics

The SaaS gateway uses Prometheus for system monitoring. By default, system metrics can be collected via the /metrics path.

Configure environmental variables of monitoring metrics

# Metrics path
PROM_METRICS_PATH=/metrics
# Metrics prefix
PROM_METRICS_PREFIX=sdf_gw_

Log collection

System logs are output in the /www/logs/ directory.