infrastructure/ansible/roles/forrest/files/prometheus/prometheus.yml
Jake Howard edc5c325b7
Correctly check hostname against PVE hosts
Some of the hostnames have `-` in instead, which caused issues with the SSH config detecting which users to allow
2021-08-23 19:56:04 +01:00

21 lines
482 B
YAML

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