this repo has no description
1# my global config
2global:
3 scrape_interval: 60s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
4 evaluation_interval: 60s # Evaluate rules every 15 seconds. The default is every 1 minute.
5 # scrape_timeout is set to the global default (10s).
6
7# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
8#rule_files:
9 # - "first_rules.yml"
10 # - "second_rules.yml"
11
12# A scrape configuration containing exactly one endpoint to scrape:
13# Here it's Prometheus itself.
14scrape_configs:
15 # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
16 - job_name: 'prometheus'
17 # Override the global default and scrape targets from this job every 5 seconds.
18 scrape_interval: 5s
19 static_configs:
20 - targets: ['localhost:9090']
21
22 - job_name: 'cadvisor'
23 scrape_interval: 5s
24 static_configs:
25 - targets: ['cadvisor:8080']
26
27 - job_name: 'node-exporter'
28 scrape_interval: 5s
29 static_configs:
30 - targets: ['node-exporter:9100']