infrastructure/ansible/roles/forrest/files/prometheus/prometheus.yml
Jake Howard 407e59ec5a
Use variables in prometheus config
Also replace grimes with walker
2021-05-05 18:12:42 +01:00

20 lines
471 B
YAML

scrape_configs:
- job_name: telegraf
metric_relabel_configs:
- source_labels: [__name__]
regex: go_.+
action: drop
static_configs:
- targets:
- 10.23.1.1:9273
- job_name: traefik
metric_relabel_configs:
- source_labels: [__name__]
regex: go_.+
action: drop
static_configs:
- targets:
- "{{ nebula.clients.walker.ip }}:8080"
- "{{ pve_hosts.pve_docker.ip }}:8080"