traefik/docs/content/observability/metrics/datadog.md
2019-07-18 21:36:05 +02:00

1.5 KiB

DataDog

To enable the DataDog:

[metrics]
  [metrics.dataDog]
--metrics
--metrics.datadog

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
--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
--metrics.datadog.addEntryPointsLabels=true

addServicesLabels

Optional, Default=true

Enable metrics on services.

[metrics]
  [metrics.dataDog]
    addServicesLabels = true
metrics:
  dataDog:
    addServicesLabels: true
--metrics
--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
--metrics.datadog.pushInterval=10s