traefik/docs/content/observability/metrics/datadog.md
2022-04-15 15:44:08 +02:00

2.3 KiB

title description
Traefik Datadog Metrics Documentation Traefik Proxy supports Datadog for backend metrics. Read the technical documentation to enable Datadog for observability.

Datadog

To enable the Datadog:

metrics:
  datadog: {}
[metrics]
  [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:
  datadog:
    address: 127.0.0.1:8125
[metrics]
  [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:
  datadog:
    addEntryPointsLabels: true
[metrics]
  [metrics.datadog]
    addEntryPointsLabels = true
--metrics.datadog.addEntryPointsLabels=true

addRoutersLabels

Optional, Default=false

Enable metrics on routers.

[metrics]
  [metrics.datadog]
    addRoutersLabels = true
metrics:
  datadog:
    addRoutersLabels: true
--metrics.datadog.addrouterslabels=true

addServicesLabels

Optional, Default=true

Enable metrics on services.

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

prefix

Optional, Default="traefik"

The prefix to use for metrics collection.

metrics:
  datadog:
    prefix: traefik
[metrics]
  [metrics.datadog]
    prefix = "traefik"
--metrics.datadog.prefix=traefik