From 504a3bafc565683d2ef1dfdc080668c58185e8f2 Mon Sep 17 00:00:00 2001 From: Milos Gajdos Date: Sun, 1 Oct 2023 09:33:54 +0100 Subject: [PATCH] Properly indent prometheus docs Incorrect section indentation of the prometheus docs confuses some folks. This commit fixes that by indenting the prometheus section under the debug configuration section. Co-authored-by: Sebastiaan van Stijn Signed-off-by: Milos Gajdos --- docs/configuration.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index d5e04ba3..07eb13bc 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -828,7 +828,13 @@ the `HOST:PORT` on which the debug server should accept connections. If the registry is configured as a pull-through cache, the `debug` server can be used to access proxy statistics. These statistics are exposed at `/debug/vars` in JSON format. -## `prometheus` +#### `prometheus` + +```none +prometheus: + enabled: true + path: /metrics +``` The `prometheus` option defines whether the prometheus metrics are enabled, as well as the path to access the metrics.