Add 'telegraf.conf'
This commit is contained in:
parent
96c233a0af
commit
fcc66696b8
17
telegraf.conf
Normal file
17
telegraf.conf
Normal 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/#"
|
||||
]
|
Loading…
Reference in New Issue
Block a user