Monitoring with telegraf, influxdb grafana:

- Influxdb (1.8) behind traefik proxy so that telegraf can run in host_mode. Secured with HTTP basic auth
- Grafana (7.4) with Postgres database for beatifull dashboards
- Telegraf (1.18) in docker host mode with local configuration file
- Added docker.group to all other docker services to track them in monitoring
This commit is contained in:
Florian Zirker 2021-03-28 13:50:02 +02:00
parent 95b541aefc
commit 38f5ac4406
8 changed files with 413 additions and 0 deletions

12
monitoring/influxdb.conf Normal file
View file

@ -0,0 +1,12 @@
[meta]
dir = "/var/lib/influxdb/meta"
[data]
dir = "/var/lib/influxdb/data"
wal-dir = "/var/lib/influxdb/wal"
max-concurrent-compactions = 1
[monitor]
store-enabled = false
store-database = "_internal"
store-interval = "10s"