forked from cd-athena/LLL-CAdViSE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prometheus_skeleton.yml
49 lines (36 loc) · 1.13 KB
/
prometheus_skeleton.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# my global config
global:
scrape_interval: 5s # Set the scrape interval to every 5 seconds. Default is every 1 minute.
evaluation_interval: 5s # Evaluate rules every 5 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).
external_labels:
monitor: 'codelab-monitor'
rule_files:
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'
static_configs:
- targets: [ '0.0.0.0:9090' ]
- job_name: 'experiment-commander'
params:
format:
- prometheus
scrape_interval: 2s
scrape_timeout: 1s
metrics_path: /api/v1/allmetrics
static_configs:
- targets: [ 'netdata:19999' ]
- job_name: 'cadvise-client'
metrics_path: '/api/v1/allmetrics'
params:
format: [ prometheus ]
honor_labels: true
static_configs:
- targets: [ '{your.netdata.ip}:19999' ]
- job_name: 'cadvise-server'
metrics_path: '/api/v1/allmetrics'
params:
format: [ prometheus ]
honor_labels: true
static_configs:
- targets: [ '{your.netdata.ip}:19999' ]