Skip to content

StatsD

To enable the Statsd:

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

address

Required, Default="localhost:8125"

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

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

addEntryPointsLabels

Optional, Default=true

Enable metrics on entry points.

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

addRoutersLabels

Optional, Default=false

Enable metrics on entry points.

[metrics]
  [metrics.statsD]
    addRoutersLabels = true
metrics:
  statsD:
    addRoutersLabels: true
--metrics.statsd.addrouterslabels=true

addServicesLabels

Optional, Default=true

Enable metrics on services.

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

pushInterval

Optional, Default=10s

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

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

prefix

Optional, Default="traefik"

The prefix to use for metrics collection.

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