Fixed Prometheus and added bunches of alerts
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets: ['alertmanager:9093']
|
||||
- static_configs:
|
||||
- targets: ['alertmanager:9093']
|
||||
rule_files:
|
||||
- alerts.yml
|
||||
|
||||
@@ -13,11 +13,12 @@ scrape_configs:
|
||||
- job_name: prometheus
|
||||
static_configs:
|
||||
- targets: ['prometheus:9090']
|
||||
|
||||
- job_name: takahe
|
||||
static_configs:
|
||||
- targets: ['192.168.0.66:9100']
|
||||
- targets: ['node-exporter:9100']
|
||||
|
||||
- job_name: cadvisor
|
||||
scrape_interval: 5s
|
||||
static_configs:
|
||||
- targets:
|
||||
- cadvisor:8080
|
||||
- targets: ['cadvisor:8080']
|
||||
|
||||
Reference in New Issue
Block a user