StatsD

To enable the Statsd:

  1. [metrics]
  2. [metrics.statsD]

  1. metrics:
  2. statsD: {}

  1. --metrics.statsd=true

address

Required, Default="localhost:8125"

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

  1. [metrics]
  2. [metrics.statsD]
  3. address = "localhost:8125"

  1. metrics:
  2. statsD:
  3. address: localhost:8125

  1. --metrics.statsd.address=localhost:8125

addEntryPointsLabels

Optional, Default=true

Enable metrics on entry points.

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

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

  1. --metrics.statsd.addEntryPointsLabels=true

addServicesLabels

Optional, Default=true

Enable metrics on services.

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

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

  1. --metrics.statsd.addServicesLabels=true

pushInterval

Optional, Default=10s

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

  1. [metrics]
  2. [metrics.statsD]
  3. pushInterval = 10s

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

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

prefix

Optional, Default="traefik"

The prefix to use for metrics collection.

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

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

  1. --metrics.statsd.prefix="traefik"