about summary refs log tree commit diff
path: root/bundles/traefik/files
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/traefik/files')
-rw-r--r--bundles/traefik/files/metrics.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/bundles/traefik/files/metrics.yaml b/bundles/traefik/files/metrics.yaml
new file mode 100644
index 0000000..817e6cc
--- /dev/null
+++ b/bundles/traefik/files/metrics.yaml
@@ -0,0 +1,8 @@
+http:
+  routers:
+    traefik-metrics:
+      entrypoints: metrics
+      rule: Path(`/metrics/traefik`)
+      service: prometheus@internal
+      middlewares:
+        - replacepath-bare@file