Add 'telegraf.yaml'
This commit is contained in:
parent
9f1e03254f
commit
ee8d3fe6ea
17
telegraf.yaml
Normal file
17
telegraf.yaml
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