From df2a24165a7b5fbc69a18ef3501d0d853382e985 Mon Sep 17 00:00:00 2001 From: furyhawk Date: Sun, 12 Jul 2026 16:49:21 +0800 Subject: [PATCH] feat: enable router labels for Prometheus metrics in Traefik configuration --- swarm/core.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/swarm/core.yml b/swarm/core.yml index 9edbbec..313ca64 100644 --- a/swarm/core.yml +++ b/swarm/core.yml @@ -174,6 +174,7 @@ services: - --metrics.prometheus.buckets=0.1,0.3,1.2,5.0 - --metrics.prometheus.addEntryPointsLabels=true - --metrics.prometheus.addServicesLabels=true + - --metrics.prometheus.addRoutersLabels=true networks: # Use the public network created to be shared between Traefik and # any other service that needs to be publicly available with HTTPS