092aa8fa6d
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
1.3 KiB
1.3 KiB
Prometheus
To enable the Prometheus:
[metrics]
[metrics.prometheus]
metrics:
prometheus: {}
--metrics
--metrics.prometheus
buckets
Optional, Default="0.100000, 0.300000, 1.200000, 5.000000"
Buckets for latency metrics.
[metrics]
[metrics.prometheus]
buckets = [0.1,0.3,1.2,5.0]
metrics:
prometheus:
buckets:
- 0.1
- 0.3
- 1.2
- 5.0
--metrics
--metrics.prometheus.buckets=0.100000, 0.300000, 1.200000, 5.000000
addEntryPointsLabels
Optional, Default=true
Enable metrics on entry points.
[metrics]
[metrics.prometheus]
addEntryPointsLabels = true
metrics:
prometheus:
addEntryPointsLabels: true
--metrics
--metrics.prometheus.addEntryPointsLabels=true
addServicesLabels
Optional, Default=true
Enable metrics on services.
[metrics]
[metrics.prometheus]
addServicesLabels = true
metrics:
prometheus:
addServicesLabels: true
--metrics
--metrics.prometheus.addServicesLabels=true