Add InfluxDB support for traefik metrics
This commit is contained in:
parent
e3131481e9
commit
00d7c5972f
35 changed files with 4693 additions and 28 deletions
|
@ -368,6 +368,7 @@ type Metrics struct {
|
|||
Prometheus *Prometheus `description:"Prometheus metrics exporter type" export:"true"`
|
||||
Datadog *Datadog `description:"DataDog metrics exporter type" export:"true"`
|
||||
StatsD *Statsd `description:"StatsD metrics exporter type" export:"true"`
|
||||
InfluxDB *InfluxDB `description:"InfluxDB metrics exporter type"`
|
||||
}
|
||||
|
||||
// Prometheus can contain specific configuration used by the Prometheus Metrics exporter
|
||||
|
@ -384,7 +385,13 @@ type Datadog struct {
|
|||
// Statsd contains address and metrics pushing interval configuration
|
||||
type Statsd struct {
|
||||
Address string `description:"StatsD address"`
|
||||
PushInterval string `description:"DataDog push interval" export:"true"`
|
||||
PushInterval string `description:"StatsD push interval" export:"true"`
|
||||
}
|
||||
|
||||
// InfluxDB contains address and metrics pushing interval configuration
|
||||
type InfluxDB struct {
|
||||
Address string `description:"InfluxDB address"`
|
||||
PushInterval string `description:"InfluxDB push interval"`
|
||||
}
|
||||
|
||||
// Buckets holds Prometheus Buckets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue