Merge pull request #4086 from milosgajdos/indent-prometheus-docs

Properly indent prometheus docs
This commit is contained in:
Milos Gajdos 2023-10-02 20:40:14 +01:00 committed by GitHub
commit 93a64460fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -830,7 +830,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.