1
0
mirror of https://github.com/containous/traefik.git synced 2025-10-08 19:33:30 +03:00

Metrics: Add support for InfluxDB Database / RetentionPolicy and HTTP client

This commit is contained in:
Drew Kerrigan
2018-05-29 16:58:03 -04:00
committed by Traefiker Bot
parent a7200a292b
commit 67a0b4b4b1
6 changed files with 217 additions and 12 deletions

View File

@@ -185,6 +185,13 @@ pushinterval = "10s"
#
address = "localhost:8089"
# InfluxDB's address protocol (udp or http)
#
# Required
# Default: "udp"
#
protocol = "udp"
# InfluxDB push interval
#
# Optional
@@ -192,6 +199,20 @@ address = "localhost:8089"
#
pushinterval = "10s"
# InfluxDB database used when protocol is http
#
# Optional
# Default: ""
#
database = ""
# InfluxDB retention policy used when protocol is http
#
# Optional
# Default: ""
#
retentionpolicy = ""
# ...
```

View File

@@ -80,6 +80,7 @@
# ...
```
### InfluxDB
```toml
@@ -96,6 +97,13 @@
#
address = "localhost:8089"
# InfluxDB's address protocol (udp or http)
#
# Required
# Default: "udp"
#
protocol = "udp"
# InfluxDB push interval
#
# Optional
@@ -103,6 +111,20 @@
#
pushinterval = "10s"
# InfluxDB database used when protocol is http
#
# Optional
# Default: ""
#
database = ""
# InfluxDB retention policy used when protocol is http
#
# Optional
# Default: ""
#
retentionpolicy = ""
# ...
```