Add 'telegraf.yaml'

This commit is contained in:
Adolfo Delorenzo 2022-08-03 22:42:59 +02:00
parent 9f1e03254f
commit ee8d3fe6ea

17
telegraf.yaml Normal file
View File

@ -0,0 +1,17 @@
[[outputs.influxdb_v2]]
urls = ["http://influxdb:8086"]
token = "aN63bJ-Y3ek0apvePvLayXNaiEiYtqGdZ-zYV6GtpoeEq_ko2DOsLoOEZzhkSsWDOHrzpaJedIHtxcjxIGExXw=="
organization = "portainer.io"
bucket = "telegraf"
[[outputs.file]]
files = ["stdout", "/tmp/metrics.out"]
[[inputs.mqtt_consumer]]
servers = ["tcp://mosquitto:1883"]
data_format = "value"
data_type = "float"
topics = [
"edge/#"
]