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 94ee5d3e5c - Show all commits

View file

@ -47,8 +47,4 @@ entrypoint = "admin"
[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
entryPoint = "admin"