traefik/docs/content/observability/metrics/statsd.md
2019-07-18 21:36:05 +02:00

1.5 KiB

StatsD

To enable the Statsd:

[metrics]
  [metrics.statsd]
metrics:
  statsd: {}
--metrics
--metrics.statsd

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
--metrics.statsd.address="localhost:8125"

addEntryPointsLabels

Optional, Default=true

Enable metrics on entry points.

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

addServicesLabels

Optional, Default=true

Enable metrics on services.

[metrics]
  [metrics.statsd]
    addServicesLabels = true
metrics:
  statsd:
    addServicesLabels: true
--metrics
--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
--metrics.statsd.pushInterval=10s