Skip to content
Snippets Groups Projects
Commit d1866278 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

Add "job: node" label to node_exporter jobs

parent a496c5d1
No related branches found
No related tags found
No related merge requests found
- targets: - targets:
- "{{ ansible_fqdn }}:9100" - "{{ ansible_fqdn }}:9100"
labels:
job: node
...@@ -20,6 +20,7 @@ scrape_configs: ...@@ -20,6 +20,7 @@ scrape_configs:
- 'localhost:9090' - 'localhost:9090'
- job_name: dynamic_scrapers - job_name: dynamic_scrapers
honor_labels: true
file_sd_configs: file_sd_configs:
- files: - files:
- /etc/prometheus/scrape/*.yml - /etc/prometheus/scrape/*.yml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment