DataDog

This document describes the steps to follow to use DataDog with Traefik Enterprise.

Enable DataDog Metrics

If you want to use DataDog as a metric provider, you have to define the environment variables on your proxies to set the IP and port of the DataDog agent.

Name Description Default Required
DOGSTATSD_HOST_IP The IP of the agent - yes
DOGSTATSD_HOST_PORT The port of the agent 8125 no
## Deploy with "teectl apply --file=routing.toml"

[entryPoints]
  [entryPoints.web]
    address = ":80"
  [entryPoints.websecure]
    address = ":443"

[metrics.datadog]

[providers.kubernetescrd]

Enable DataDog Tracing

If you want to use DataDog as a tracing provider, you have to define the environment variables on your proxies to set the IP and port of the DataDog agent.

Name Description Default Required
DOGSTATSD_HOST_IP The IP of the agent - yes
DOGSTATSD_HOST_PORT The port of the agent 8126 no
## Deploy with "teectl apply --file=routing.toml"

[entryPoints]
  [entryPoints.web]
    address = ":80"
  [entryPoints.websecure]
    address = ":443"

[tracing.datadog]

[providers.kubernetescrd]