feat: add Prometheus system monitoring
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
external_labels:
|
||||
platform: cmpp
|
||||
environment: preproduction
|
||||
|
||||
rule_files:
|
||||
- /etc/prometheus/cmpp-alerts.yml
|
||||
|
||||
scrape_configs:
|
||||
- job_name: prometheus
|
||||
static_configs:
|
||||
- targets: [127.0.0.1:9090]
|
||||
|
||||
- job_name: node
|
||||
static_configs:
|
||||
- targets: [127.0.0.1:9100]
|
||||
labels:
|
||||
host: cmpp-primary
|
||||
Reference in New Issue
Block a user