Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add telegraf v1.27 to Komponist #98

Merged
merged 4 commits into from
Jul 25, 2023
Merged

feat: add telegraf v1.27 to Komponist #98

merged 4 commits into from
Jul 25, 2023

Conversation

shantanoo-desai
Copy link
Owner

Use the environment variable `DOCKER_INFLUXDB_INIT_ADMIN_TOKEN`
as opposed to `DOCKER_INFLUXDB_INIT_ADMIN_TOKEN_FILE` which is not
setting the token value in the container.

closes #96

Signed-off-by: Shantanoo 'Shan' Desai <[email protected]>
Telegraf v1.27 is now integrated into Komponist by adapting:

- `config.yml`
- `creds.yml`
- Docker Compose Service file `docker-compose.telegraf.yml.j2`
- Environment Vars in `komponist.env.j2` for MQTT related Credentials
- Task file for Telegraf configuration

Currently the following Telegraf Plugins are supported (closes #95):

- a common Jinja2 Template called `telegraf.conf.j2`
  - `mqtt_consumer` input plugin for reading via MQTT Broker
  - `influxdb` output plugin for InfluxDBv1
  - `influxdbv2` output plugin for InfluxDBv2
  - `socket_writer` output plugin for QuestDB

Signed-off-by: Shantanoo 'Shan' Desai <[email protected]>
Check for directory + telegraf.conf file generation via stat checks

Signed-off-by: Shantanoo 'Shan' Desai <[email protected]>
provide user selection for Telegraf in Gum Script. Generate
the `komponist.configuraiton.telegraf` and the
`credentials.telegraf.plugins` for `config.yml` + `creds.yml`
file respectively

closes #97

Signed-off-by: Shantanoo 'Shan' Desai <[email protected]>
@shantanoo-desai shantanoo-desai added influxdbv2 All activities related to InfluxDBv2 TSDB telegraf All activities related to Telegraf TUI Terminal UI for Komponist labels Jul 25, 2023
@shantanoo-desai shantanoo-desai self-assigned this Jul 25, 2023
@shantanoo-desai shantanoo-desai merged commit ae9b369 into main Jul 25, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
influxdbv2 All activities related to InfluxDBv2 TSDB telegraf All activities related to Telegraf TUI Terminal UI for Komponist
Projects
Status: Done
1 participant