add weight metric for adding network links
[osm/vim-emu.git] / src / emuvim / dcemulator / prometheus.yml
1 global:
2   scrape_interval:     15s # By default, scrape targets every 15 seconds.
3   evaluation_interval: 5s
4
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
10 # Rule files specifies a list of files from which rules are read.
11 rule_files:
12   - 'profile.rules'
13
14 # A scrape configuration containing exactly one endpoint to scrape:
15 # Here it's Prometheus itself.
16 scrape_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
42   - 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
50