blob: 2412f852631e93c7e5926216d639b228f619ff67 [file] [log] [blame]
stevenvanrossemc6abf132016-04-14 11:15:58 +02001global:
2 scrape_interval: 15s # By default, scrape targets every 15 seconds.
stevenvanrossem61fd5282016-04-29 12:41:54 +02003 evaluation_interval: 5s
stevenvanrossemc6abf132016-04-14 11:15:58 +02004
5 # Attach these labels to any time series or alerts when communicating with
6 # external systems (federation, remote storage, Alertmanager).
7 external_labels:
8 monitor: 'codelab-monitor'
9
stevenvanrossem61fd5282016-04-29 12:41:54 +020010# Rule files specifies a list of files from which rules are read.
11rule_files:
12 - 'profile.rules'
13
stevenvanrossemc6abf132016-04-14 11:15:58 +020014# A scrape configuration containing exactly one endpoint to scrape:
15# Here it's Prometheus itself.
16scrape_configs:
17 # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
18 - job_name: 'prometheus'
19
20 # Override the global default and scrape targets from this job every 5 seconds.
21 scrape_interval: 5s
22
23 target_groups:
24 #- targets: ['localhost:9090']
25
26 - job_name: 'son-emu'
27
28 # Override the global default and scrape targets from this job every 5 seconds.
29 scrape_interval: 5s
30
31 target_groups:
32 - targets: ['172.17.0.1:8000']
33
34 - job_name: 'cAdvisor'
35
36 # Override the global default and scrape targets from this job every 5 seconds.
37 scrape_interval: 5s
38
39 target_groups:
40 - targets: ['172.17.0.1:8090']
41
stevenvanrossemadfd06f2016-04-22 10:39:08 +020042 - job_name: 'PushGateway'
43
44 # Override the global default and scrape targets from this job every 5 seconds.
45 scrape_interval: 5s
46
47 target_groups:
48 - targets: ['172.17.0.1:9091']
49
stevenvanrossem80f18b02016-04-18 10:56:15 +020050