Datadog

To enable the Datadog:

File (YAML)

  1. metrics:
  2. datadog: {}

File (TOML)

  1. [metrics]
  2. [metrics.datadog]

CLI

  1. --metrics.datadog=true

address

Required, Default=”127.0.0.1:8125”

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

File (YAML)

  1. metrics:
  2. datadog:
  3. address: 127.0.0.1:8125

File (TOML)

  1. [metrics]
  2. [metrics.datadog]
  3. address = "127.0.0.1:8125"

CLI

  1. --metrics.datadog.address=127.0.0.1:8125

addEntryPointsLabels

Optional, Default=true

Enable metrics on entry points.

File (YAML)

  1. metrics:
  2. datadog:
  3. addEntryPointsLabels: true

File (TOML)

  1. [metrics]
  2. [metrics.datadog]
  3. addEntryPointsLabels = true

CLI

  1. --metrics.datadog.addEntryPointsLabels=true

addRoutersLabels

Optional, Default=false

Enable metrics on routers.

File (TOML)

  1. [metrics]
  2. [metrics.datadog]
  3. addRoutersLabels = true

File (YAML)

  1. metrics:
  2. datadog:
  3. addRoutersLabels: true

CLI

  1. --metrics.datadog.addrouterslabels=true

addServicesLabels

Optional, Default=true

Enable metrics on services.

File (YAML)

  1. metrics:
  2. datadog:
  3. addServicesLabels: true

File (TOML)

  1. [metrics]
  2. [metrics.datadog]
  3. addServicesLabels = true

CLI

  1. --metrics.datadog.addServicesLabels=true

pushInterval

Optional, Default=10s

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

File (YAML)

  1. metrics:
  2. datadog:
  3. pushInterval: 10s

File (TOML)

  1. [metrics]
  2. [metrics.datadog]
  3. pushInterval = "10s"

CLI

  1. --metrics.datadog.pushInterval=10s

prefix

Optional, Default=”traefik”

The prefix to use for metrics collection.

File (YAML)

  1. metrics:
  2. datadog:
  3. prefix: traefik

File (TOML)

  1. [metrics]
  2. [metrics.datadog]
  3. prefix = "traefik"

CLI

  1. --metrics.datadog.prefix=traefik