Add traefik v1 prometheus metrics configuration #27

Merged
quentin merged 2 commits from feature/enable-traefik-metrics into master 2020-12-14 16:08:42 +00:00
Showing only changes of commit 91ffdc732c - Show all commits

View file

@ -43,3 +43,12 @@ entrypoint = "admin"
prefix = "traefik"
domain = "web.deuxfleurs.fr"
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