feat: enable router labels for Prometheus metrics in Traefik configuration

This commit is contained in:
2026-07-12 16:49:21 +08:00
parent 7d9db9def7
commit df2a24165a
+1
View File
@@ -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