Skip to content

Commit 3509733

Browse files
Backport of docs: warn against enabling Prometheus metrics if not in use (#26569)
Co-authored-by: Tim Gross <[email protected]>
1 parent 29f28da commit 3509733

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

website/content/docs/configuration/telemetry.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,10 @@ telemetry {
149149

150150
These `telemetry` parameters apply to [Prometheus].
151151

152-
- `prometheus_metrics` `(bool: false)` - Specifies whether the agent should
153-
make Prometheus formatted metrics available at `/v1/metrics?format=prometheus`.
152+
- `prometheus_metrics` `(bool: false)` - Specifies whether the agent should make
153+
Prometheus formatted metrics available at `/v1/metrics?format=prometheus`.
154+
Nomad's Prometheus client retains metrics in memory unless scraped, so you
155+
should not enable this field unless you are collecting metrics via Promtheus.
154156

155157
### `circonus` (Apica)
156158

0 commit comments

Comments
 (0)