traefik/docs/content/observability/metrics/datadog.md
2019-11-19 10:18:05 +01:00

1.5 KiB

Datadog

To enable the Datadog:

[metrics]
  [metrics.datadog]
metrics:
  datadog: {}
--metrics.datadog=true

address

Required, Default="127.0.0.1:8125"

Address instructs exporter to send metrics to datadog-agent at this address.

[metrics]
  [metrics.datadog]
    address = "127.0.0.1:8125"
metrics:
  datadog:
    address: 127.0.0.1:8125
--metrics.datadog.address=127.0.0.1:8125

addEntryPointsLabels

Optional, Default=true

Enable metrics on entry points.

[metrics]
  [metrics.datadog]
    addEntryPointsLabels = true
metrics:
  datadog:
    addEntryPointsLabels: true
--metrics.datadog.addEntryPointsLabels=true

addServicesLabels

Optional, Default=true

Enable metrics on services.

[metrics]
  [metrics.datadog]
    addServicesLabels = true
metrics:
  datadog:
    addServicesLabels: true
--metrics.datadog.addServicesLabels=true

pushInterval

Optional, Default=10s

The interval used by the exporter to push metrics to datadog-agent.

[metrics]
  [metrics.datadog]
    pushInterval = 10s
metrics:
  datadog:
    pushInterval: 10s
--metrics.datadog.pushInterval=10s