forked from Deuxfleurs/infrastructure
Add traefik v1 prometheus metrics configuration
This commit is contained in:
parent
3ff113ceab
commit
91ffdc732c
1 changed files with 9 additions and 0 deletions
|
@ -43,3 +43,12 @@ entrypoint = "admin"
|
||||||
prefix = "traefik"
|
prefix = "traefik"
|
||||||
domain = "web.deuxfleurs.fr"
|
domain = "web.deuxfleurs.fr"
|
||||||
exposedByDefault = false
|
exposedByDefault = false
|
||||||
|
|
||||||
|
[metrics]
|
||||||
|
[metrics.prometheus]
|
||||||
|
# -- below is for traefik 1.7 see https://doc.traefik.io/traefik/v1.7/configuration/metrics/
|
||||||
|
entryPoint = "metrics" # default to "/traefik"
|
||||||
|
buckets = [0.1,0.3,1.2,5.0] # default buckets
|
||||||
|
# -- options below seem to ONLY be for traefik v2
|
||||||
|
# addServicesLabels = true
|
||||||
|
# addEntryPointsLabels = true
|
||||||
|
|
Loading…
Reference in a new issue