Add Prometheus metrics and Jaeger tracing to Traefik configuration
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user