docs: clarified prometheus integration behavior (#16724)

Closes issue #16538 
Updated docs to explain Behavior of enabling Prometheus
This commit is contained in:
Michael Vincent Patterson
2025-02-26 19:30:41 +00:00
committed by GitHub
parent 7cd6e9cdd6
commit 5295902596
+2 -3
View File
@@ -31,9 +31,8 @@ coderd_api_active_users_duration_hour 0
### Kubernetes deployment
The Prometheus endpoint can be enabled in the [Helm chart's](https://github.com/coder/coder/tree/main/helm)
`values.yml` by setting the environment variable `CODER_PROMETHEUS_ADDRESS` to
`0.0.0.0:2112`. The environment variable `CODER_PROMETHEUS_ENABLE` will be
enabled automatically. A Service Endpoint will not be exposed; if you need to
`values.yml` by setting `CODER_PROMETHEUS_ENABLE=true`. Once enabled, the environment variable `CODER_PROMETHEUS_ADDRESS` will be set by default to
`0.0.0.0:2112`. A Service Endpoint will not be exposed; if you need to
expose the Prometheus port on a Service, (for example, to use a
`ServiceMonitor`), create a separate headless service instead.