1
0
Fork 0
This repository has been archived on 2024-12-18. You can view files and clone it, but cannot push or open issues or pull requests.
mining-dashboards/docker/telegraf.conf
Julien Riou df7141504e
Auto create InfluxDB database and users
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-02 12:38:47 +01:00

17 lines
401 B
Text

[global_tags]
[agent]
interval = "60s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "60s"
flush_jitter = "0s"
precision = ""
hostname = "docker"
omit_hostname = false
[[outputs.influxdb]]
database = "${INFLUXDB_DB}"
urls = ["http://${INFLUXDB_WRITE_USER}:${INFLUXDB_WRITE_USER_PASSWORD}@influxdb:8086"]