Create a common telegraf.conf.j2 which can include the respective inputs and outputs plugin configuration based on Jinja2 include logic similar to that of Traefik's dynamic.yml.j2.
The created telegraf.conf in the deploy directory can be mounted into the container using Docker configs logic similar to Node-RED's settings.js.
Description
Create a common
telegraf.conf.j2
which can include the respective inputs and outputs plugin configuration based on Jinja2include
logic similar to that of Traefik'sdynamic.yml.j2
.The created
telegraf.conf
in the deploy directory can be mounted into the container using Dockerconfigs
logic similar to Node-RED'ssettings.js
.Tasks
mqtt_consumer
input plugin templateinfluxdb
output plugin templateinfluxdbv2
output plugin templatesocket_writer
output plugin template