File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # Prometheus global config
2+ global :
3+ scrape_interval : 30s
4+ evaluation_interval : 30s
5+ # scrape_timeout is set to the global default (10s).
6+
7+ # Alertmanager configuration
8+ alerting :
9+ alertmanagers :
10+ # bundled alertmanager, started by prom-wrapper
11+ - static_configs :
12+ - targets : ['127.0.0.1:9093']
13+ path_prefix : /alertmanager
14+ # add more alertmanagers here
15+
16+ # Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
17+ rule_files :
18+ - ' *_rules.yml'
19+ - ' /sg_prometheus_add_ons/*_rules.yml'
20+
21+ # Configure targets to scrape
22+ scrape_configs :
23+ # Scrape prometheus itself for metrics.
24+ - job_name : ' builtin-prometheus'
25+ static_configs :
26+ - targets : ['127.0.0.1:9092']
27+ - job_name : ' builtin-alertmanager'
28+ metrics_path : /alertmanager/metrics
29+ static_configs :
30+ - targets : ['127.0.0.1:9093']
31+
32+ - job_name : ' sg'
33+ file_sd_configs :
34+ - files :
35+ - ' /sg_prometheus_add_ons/*_targets.yml'
You can’t perform that action at this time.
0 commit comments