This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
services/_ansible/roles/telegraf/vars/main.yml

28 lines
704 B
YAML

svc:
name: telegraf
influxdb:
url: "https://tick.serguzim.me"
token: "{{ vault_telegraf.influxdb_token }}"
organization: serguzim.net
bucket: metrics
prometheus:
urls:
- https://git.serguzim.me/metrics
- https://matrix.msrg.cc/_synapse/metrics
- https://tick.serguzim.me/metrics
bearer_token: "{{ vault_metrics_token }}"
postgresql:
user: "{{ vault_telegraf.db.user }}"
pass: "{{ vault_telegraf.db.pass }}"
host: "{{ postgres.host }}"
port: "{{ postgres.port }}"
database: "telegraf"
compose:
watchtower: false
image: telegraf:1.28
volumes:
- ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
file:
volumes:
data: