infrastructure/ansible/roles/forrest/files/prometheus/prometheus.yml

21 lines
486 B
YAML
Raw Normal View History

scrape_configs:
- job_name: telegraf
2021-03-05 14:27:33 +00:00
metric_relabel_configs:
- source_labels: [__name__]
regex: go_.+
action: drop
static_configs:
- targets:
- "{{ pve_hosts.pve.ip }}:9273"
- job_name: traefik
2021-03-05 14:27:33 +00:00
metric_relabel_configs:
- source_labels: [__name__]
regex: go_.+
action: drop
static_configs:
- targets:
- "{{ nebula.clients.walker.ip }}:8080"
- "{{ pve_hosts.pve_docker.ip }}:8080"