Skip to content

Commit 973143a

Browse files
committed
update docs
1 parent ac6e439 commit 973143a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/admin/prometheus.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ The Prometheus endpoint can be enabled in the
3535
[Helm chart's](https://github.com/coder/coder/tree/main/helm) `values.yml` by
3636
setting the environment variable `CODER_PROMETHEUS_ADDRESS` to `0.0.0.0:2112`.
3737
The environment variable `CODER_PROMETHEUS_ENABLE` will be enabled
38-
automatically. A Service Endpoint will also be exposed allowing Prometheus
39-
Service Monitors to be used.
38+
automatically. A Service Endpoint will not be exposed; if you need to expose the
39+
Prometheus port on a Service, (for example, to use a `ServiceMonitor`), create a
40+
separate service instead.
4041

4142
### Prometheus configuration
4243

helm/coder/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ coder:
285285
# coder.service.prometheusNodePort -- Enabled if coder.service.type is set
286286
# to NodePort. If not set, Kubernetes will allocate a port from the default
287287
# range, 30000-32767. The "prometheus-http" port on the coder service is
288-
# only exposed if CODER_PROMETHEUS_ENABLE is set to true.
288+
# not exposed if CODER_PROMETHEUS_ENABLE is set to true.
289289
prometheusNodePort: ""
290290

291291
# coder.ingress -- The Ingress object to expose for Coder.

0 commit comments

Comments
 (0)