package
1.6.0-rc4
Repository: https://github.com/csimplestring/traefik.git
Documentation: pkg.go.dev

# Functions

NewMultiRegistry is an implementation of metrics.Registry that wraps multiple registries.
NewVoidRegistry is a noop implementation of metrics.Registry.
OnConfigurationUpdate increases the current generation of the prometheus state.
RegisterDatadog registers the metrics pusher if this didn't happen yet and creates a datadog Registry instance.
RegisterInfluxDB registers the metrics pusher if this didn't happen yet and creates a InfluxDB Registry instance.
RegisterPrometheus registers all Prometheus metrics.
RegisterStatsd registers the metrics pusher if this didn't happen yet and creates a statsd Registry instance.
StopDatadog stops internal datadogTicker which controls the pushing of metrics to DD Agent and resets it to `nil`.
StopInfluxDB stops internal influxDBTicker which controls the pushing of metrics to InfluxDB Agent and resets it to `nil`.
StopStatsd stops internal statsdTicker which controls the pushing of metrics to StatsD Agent and resets it to `nil`.

# Structs

PrometheusHandler exposes Prometheus routes.

# Interfaces

Registry has to implemented by any system that wants to monitor and expose metrics.