StatsD
To enable the Statsd:
File (TOML)
[metrics]
[metrics.statsD]
File (YAML)
metrics:
statsD: {}
CLI
--metrics.statsd=true
address
Required, Default=”localhost:8125”
Address instructs exporter to send metrics to statsd at this address.
File (TOML)
[metrics]
[metrics.statsD]
address = "localhost:8125"
File (YAML)
metrics:
statsD:
address: localhost:8125
CLI
--metrics.statsd.address=localhost:8125
addEntryPointsLabels
Optional, Default=true
Enable metrics on entry points.
File (TOML)
[metrics]
[metrics.statsD]
addEntryPointsLabels = true
File (YAML)
metrics:
statsD:
addEntryPointsLabels: true
CLI
--metrics.statsd.addEntryPointsLabels=true
addServicesLabels
Optional, Default=true
Enable metrics on services.
File (TOML)
[metrics]
[metrics.statsD]
addServicesLabels = true
File (YAML)
metrics:
statsD:
addServicesLabels: true
CLI
--metrics.statsd.addServicesLabels=true
pushInterval
Optional, Default=10s
The interval used by the exporter to push metrics to statsD.
File (TOML)
[metrics]
[metrics.statsD]
pushInterval = 10s
File (YAML)
metrics:
statsD:
pushInterval: 10s
CLI
--metrics.statsd.pushInterval=10s
prefix
Optional, Default=”traefik”
The prefix to use for metrics collection.
File (TOML)
[metrics]
[metrics.statsD]
prefix = "traefik"
File (YAML)
metrics:
statsD:
prefix: traefik
CLI
--metrics.statsd.prefix="traefik"