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 JaegerJAEGER_ENABLE=true# Jaeger endpointJAEGER_ENDPOINT=# Whether to enable log spanJAEGER_LOG_SPAN=true
The SaaS gateway uses Prometheus for system monitoring. By default, system metrics can be collected via the /metrics
path.
# Metrics pathPROM_METRICS_PATH=/metrics# Metrics prefixPROM_METRICS_PREFIX=sdf_gw_
System logs are output in the /www/logs/
directory.