traefik/docs/content/observability/metrics/statsd.md
2019-11-19 10:18:05 +01:00

1.5 KiB

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