mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
docs: clarified prometheus integration behavior (#16724)
Closes issue #16538 Updated docs to explain Behavior of enabling Prometheus
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user