--- telegraf_svc: name: telegraf influxdb: url: https://tick.serguzim.me token: "{{ vault_telegraf.influxdb_token }}" organization: serguzim.net bucket: metrics prometheus_unprotected: urls: - http://node002.vpn.serguzim.net:2019/metrics - https://matrix.serguzim.me/_synapse/metrics - https://push.serguzim.me/metrics - https://tick.serguzim.me/metrics - https://todo.serguzim.me/api/v1/metrics prometheus_protected: urls: - https://ci.serguzim.me/metrics - https://git.serguzim.me/metrics bearer_token: "{{ vault_metrics_token }}" postgresql: host: "{{ postgres.host }}" port: "{{ postgres.port }}" user: "{{ opentofu.postgresql_data.telegraf.user }}" pass: "{{ opentofu.postgresql_data.telegraf.pass }}" database: "{{ opentofu.postgresql_data.telegraf.database }}" docker_log: endpoint: unix:///var/run/docker.sock source_tag: false telegraf_compose: watchtower: false image: telegraf:1.28 volumes: - /var/run/docker.sock:/var/run/docker.sock - ./telegraf.conf:/etc/telegraf/telegraf.conf:ro file: services: app: user: telegraf group_add: - "972" # docker group on host volumes: data: