api: move prometheus handler inside api handler /v1/metrics

This commit is contained in:
yusing
2025-02-01 02:09:43 +08:00
parent 6ae391a3c9
commit 0d518166ee
4 changed files with 10 additions and 17 deletions

View File

@@ -42,8 +42,8 @@ GODOXY_HTTPS_ADDR=:443
# API listening address
GODOXY_API_ADDR=127.0.0.1:8888
# Prometheus Metrics listening address (uncomment to enable)
#GODOXY_PROMETHEUS_ADDR=:8889
# Prometheus Metrics
GODOXY_PROMETHEUS_ENABLED=true
# Debug mode
GODOXY_DEBUG=false