Skip to content

StatsD

To enable the Statsd:

[metrics]
  [metrics.statsD]
metrics:
  statsD: {}
--metrics.statsd=true

address

Required, Default="localhost:8125"

Address instructs exporter to send metrics to statsd at this address.

[metrics]
  [metrics.statsD]
    address = "localhost:8125"
metrics:
  statsD:
    address: localhost:8125
--metrics.statsd.address=localhost:8125

addEntryPointsLabels

Optional, Default=true

Enable metrics on entry points.

[metrics]
  [metrics.statsD]
    addEntryPointsLabels = true
metrics:
  statsD:
    addEntryPointsLabels: true
--metrics.statsd.addEntryPointsLabels=true

addServicesLabels

Optional, Default=true

Enable metrics on services.

[metrics]
  [metrics.statsD]
    addServicesLabels = true
metrics:
  statsD:
    addServicesLabels: true
--metrics.statsd.addServicesLabels=true

pushInterval

Optional, Default=10s

The interval used by the exporter to push metrics to statsD.

[metrics]
  [metrics.statsD]
    pushInterval = 10s
metrics:
  statsD:
    pushInterval: 10s
--metrics.statsd.pushInterval=10s

prefix

Optional, Default="traefik"

The prefix to use for metrics collection.

[metrics]
  [metrics.statsD]
    prefix = "traefik"
metrics:
  statsD:
    prefix: traefik
--metrics.statsd.prefix="traefik"