2 scrape_interval: 15s # By default, scrape targets every 15 seconds.
4 # Attach these labels to any time series or alerts when communicating with
5 # external systems (federation, remote storage, Alertmanager).
7 monitor: 'codelab-monitor'
9 # A scrape configuration containing exactly one endpoint to scrape:
10 # Here it's Prometheus itself.
12 # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
13 - job_name: 'prometheus'
15 # Override the global default and scrape targets from this job every 5 seconds.
19 #- targets: ['localhost:9090']
23 # Override the global default and scrape targets from this job every 5 seconds.
27 - targets: ['172.17.0.1:8000']
29 - job_name: 'cAdvisor'
31 # Override the global default and scrape targets from this job every 5 seconds.
35 - targets: ['172.17.0.1:8090']
37 - job_name: 'PushGateway'
39 # Override the global default and scrape targets from this job every 5 seconds.
43 - targets: ['172.17.0.1:9091']