Datadog
To enable the Datadog:
File (YAML)
metrics:
datadog: {}
File (TOML)
[metrics]
[metrics.datadog]
CLI
--metrics.datadog=true
address
Required, Default=”127.0.0.1:8125”
Address instructs exporter to send metrics to datadog-agent at this address.
This address can be a Unix Domain Socket (UDS) address with the following form: unix:///path/to/datadog.socket
.
File (YAML)
metrics:
datadog:
address: 127.0.0.1:8125
File (TOML)
[metrics]
[metrics.datadog]
address = "127.0.0.1:8125"
CLI
--metrics.datadog.address=127.0.0.1:8125
addEntryPointsLabels
Optional, Default=true
Enable metrics on entry points.
File (YAML)
metrics:
datadog:
addEntryPointsLabels: true
File (TOML)
[metrics]
[metrics.datadog]
addEntryPointsLabels = true
CLI
--metrics.datadog.addEntryPointsLabels=true
addRoutersLabels
Optional, Default=false
Enable metrics on routers.
File (TOML)
[metrics]
[metrics.datadog]
addRoutersLabels = true
File (YAML)
metrics:
datadog:
addRoutersLabels: true
CLI
--metrics.datadog.addrouterslabels=true
addServicesLabels
Optional, Default=true
Enable metrics on services.
File (YAML)
metrics:
datadog:
addServicesLabels: true
File (TOML)
[metrics]
[metrics.datadog]
addServicesLabels = true
CLI
--metrics.datadog.addServicesLabels=true
pushInterval
Optional, Default=10s
The interval used by the exporter to push metrics to datadog-agent.
File (YAML)
metrics:
datadog:
pushInterval: 10s
File (TOML)
[metrics]
[metrics.datadog]
pushInterval = "10s"
CLI
--metrics.datadog.pushInterval=10s
prefix
Optional, Default=”traefik”
The prefix to use for metrics collection.
File (YAML)
metrics:
datadog:
prefix: traefik
File (TOML)
[metrics]
[metrics.datadog]
prefix = "traefik"
CLI
--metrics.datadog.prefix=traefik