aboutsummaryrefslogtreecommitdiff
path: root/app/config
diff options
context:
space:
mode:
Diffstat (limited to 'app/config')
-rw-r--r--app/config/configuration/traefik/traefik.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/config/configuration/traefik/traefik.toml b/app/config/configuration/traefik/traefik.toml
index 03fca8a..d38e2ca 100644
--- a/app/config/configuration/traefik/traefik.toml
+++ b/app/config/configuration/traefik/traefik.toml
@@ -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