aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin <quentin@dufour.io>2020-12-14 17:08:34 +0100
committerQuentin <quentin@dufour.io>2020-12-14 17:08:34 +0100
commit41e33f40ad1523d4e1016964d33f6b2aba3959dd (patch)
treef4562acd74f8cbea84b400c819210702cc4830eb
parent3ff113ceab18d3cd63dd7ad6bb1b9ba8874a18e1 (diff)
parent94ee5d3e5cb6cd22678f006d5afb0cc47dfbfa63 (diff)
downloadinfrastructure-41e33f40ad1523d4e1016964d33f6b2aba3959dd.tar.gz
infrastructure-41e33f40ad1523d4e1016964d33f6b2aba3959dd.zip
Merge pull request 'Add traefik v1 prometheus metrics configuration' (#27) from feature/enable-traefik-metrics into master
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/infrastructure/pulls/27
-rw-r--r--app/config/configuration/traefik/traefik.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/config/configuration/traefik/traefik.toml b/app/config/configuration/traefik/traefik.toml
index 03fca8a..4a48fde 100644
--- a/app/config/configuration/traefik/traefik.toml
+++ b/app/config/configuration/traefik/traefik.toml
@@ -43,3 +43,8 @@ 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 = "admin"