From 1cecbe7e7054c54e88b8eeef0a96f53c0858117d Mon Sep 17 00:00:00 2001 From: David Pashaev Date: Thu, 15 Jan 2026 22:50:59 +0700 Subject: [PATCH] prometheus metrics endpoint path flag and env value New flag and env param for Prometheus metrics --- docs/configuration.mdx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/configuration.mdx b/docs/configuration.mdx index eb179b5..8e22744 100644 --- a/docs/configuration.mdx +++ b/docs/configuration.mdx @@ -280,12 +280,13 @@ The Prometheus module collects metrics from other modules and exposes an HTTP en The following flags allow you to configure the Prometheus module: -| Flag | Environment variable | Description | Default | -|--------------------------------------------------------------------------------|------------------------------------------------------------------------------|---------------------------------------------------|-----------| -| --prometheus-collect-interval | PROMETHEUS_COLLECT_INTERVAL | Set the interval for collecting modules' metrics. | 1s | -| --prometheus-namespace | PROMETHEUS_NAMESPACE | Set the namespace of modules' metrics. | gotenberg | -| --prometheus-disable-collect | PROMETHEUS_DISABLE_COLLECT | Disable the collect of metrics. | false | -| --prometheus-disable-route-logging | PROMETHEUS_DISABLE_ROUTE_LOGGING | Disable the route logging. | false | +| Flag | Environment variable | Description | Default | +|--------------------------------------------------------------------------------|------------------------------------------------------------------------------|---------------------------------------------------|---------------------| +| --prometheus-metrics-path | PROMETHEUS_METRICS_PATH | Set the metrics endpoint path. | /prometheus/metrics | +| --prometheus-collect-interval | PROMETHEUS_COLLECT_INTERVAL | Set the interval for collecting modules' metrics. | 1s | +| --prometheus-namespace | PROMETHEUS_NAMESPACE | Set the namespace of modules' metrics. | gotenberg | +| --prometheus-disable-collect | PROMETHEUS_DISABLE_COLLECT | Disable the collect of metrics. | false | +| --prometheus-disable-route-logging | PROMETHEUS_DISABLE_ROUTE_LOGGING | Disable the route logging. | false | ## Logging