Add Prometheus metrics and Jaeger tracing to Traefik configuration

This commit is contained in:
Jeppe Bundgaard
2026-02-16 11:32:24 +01:00
parent 7c2b6f1357
commit 21f64bbb5f
+18
View File
@@ -3,6 +3,8 @@ entryPoints:
address: ":80"
websecure:
address: ":443"
metrics:
address: ":9100"
providers:
docker:
@@ -19,6 +21,22 @@ log:
accessLog: {}
metrics:
prometheus:
entryPoint: metrics
addEntryPointsLabels: true
addRoutersLabels: true
addServicesLabels: true
tracing:
serviceName: traefik
jaeger:
samplingServerURL: http://jaeger:5778/sampling
samplingType: const
samplingParam: 1.0
localAgentHostPort: jaeger:6831
traceContextHeaderName: uber-trace-id
certificatesResolvers:
le:
acme: