| stevenvanrossem | c6abf13 | 2016-04-14 11:15:58 +0200 | [diff] [blame] | 1 | global: |
| 2 | scrape_interval: 15s # By default, scrape targets every 15 seconds. |
| 3 | |
| 4 | # Attach these labels to any time series or alerts when communicating with |
| 5 | # external systems (federation, remote storage, Alertmanager). |
| 6 | external_labels: |
| 7 | monitor: 'codelab-monitor' |
| 8 | |
| 9 | # A scrape configuration containing exactly one endpoint to scrape: |
| 10 | # Here it's Prometheus itself. |
| 11 | scrape_configs: |
| 12 | # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config. |
| 13 | - job_name: 'prometheus' |
| 14 | |
| 15 | # Override the global default and scrape targets from this job every 5 seconds. |
| 16 | scrape_interval: 5s |
| 17 | |
| 18 | target_groups: |
| 19 | #- targets: ['localhost:9090'] |
| 20 | |
| 21 | - job_name: 'son-emu' |
| 22 | |
| 23 | # Override the global default and scrape targets from this job every 5 seconds. |
| 24 | scrape_interval: 5s |
| 25 | |
| 26 | target_groups: |
| 27 | - targets: ['172.17.0.1:8000'] |
| 28 | |
| 29 | - job_name: 'cAdvisor' |
| 30 | |
| 31 | # Override the global default and scrape targets from this job every 5 seconds. |
| 32 | scrape_interval: 5s |
| 33 | |
| 34 | target_groups: |
| 35 | - targets: ['172.17.0.1:8090'] |
| 36 | |
| stevenvanrossem | adfd06f | 2016-04-22 10:39:08 +0200 | [diff] [blame] | 37 | - job_name: 'PushGateway' |
| 38 | |
| 39 | # Override the global default and scrape targets from this job every 5 seconds. |
| 40 | scrape_interval: 5s |
| 41 | |
| 42 | target_groups: |
| 43 | - targets: ['172.17.0.1:9091'] |
| 44 | |
| stevenvanrossem | 80f18b0 | 2016-04-18 10:56:15 +0200 | [diff] [blame] | 45 | |