StatsD
To enable the Statsd:
File (YAML)
metrics:
statsD: {}
File (TOML)
[metrics]
[metrics.statsD]
CLI
--metrics.statsd=true
address
Required, Default=”localhost:8125”
Address instructs exporter to send metrics to statsd at this address.
File (YAML)
metrics:
statsD:
address: localhost:8125
File (TOML)
[metrics]
[metrics.statsD]
address = "localhost:8125"
CLI
--metrics.statsd.address=localhost:8125
addEntryPointsLabels
Optional, Default=true
Enable metrics on entry points.
File (YAML)
metrics:
statsD:
addEntryPointsLabels: true
File (TOML)
[metrics]
[metrics.statsD]
addEntryPointsLabels = true
CLI
--metrics.statsd.addEntryPointsLabels=true
AddRoutersLabels
Optional, Default=false
Enable metrics on entry points.
File (TOML)
[metrics]
[metrics.statsD]
addRoutersLabels = true
File (YAML)
metrics:
statsD:
addRoutersLabels: true
CLI
--metrics.statsd.addrouterslabels=true
addServicesLabels
Optional, Default=true
Enable metrics on services.
File (YAML)
metrics:
statsD:
addServicesLabels: true
File (TOML)
[metrics]
[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 (YAML)
metrics:
statsD:
pushInterval: 10s
File (TOML)
[metrics]
[metrics.statsD]
pushInterval = 10s
CLI
--metrics.statsd.pushInterval=10s
prefix
Optional, Default=”traefik”
The prefix to use for metrics collection.
File (YAML)
metrics:
statsD:
prefix: traefik
File (TOML)
[metrics]
[metrics.statsD]
prefix = "traefik"
CLI
--metrics.statsd.prefix="traefik"