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 <thaJeztah@users.noreply.github.com>
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
This commit is contained in:
Milos Gajdos 2023-10-01 09:33:54 +01:00
parent 735c161b53
commit 504a3bafc5
No known key found for this signature in database

View file

@ -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.