Worker-Monitor-Node Stack & README
This commit is contained in:
32
monitoring/prometheus/prometheus.yml
Normal file
32
monitoring/prometheus/prometheus.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
global:
|
||||
scrape_interval: 30s
|
||||
evaluation_interval: 30s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'prometheus'
|
||||
static_configs:
|
||||
- targets: ['prometheus:9090']
|
||||
|
||||
- job_name: 'node-exporter'
|
||||
static_configs:
|
||||
- targets:
|
||||
- 'rpi-master:9100'
|
||||
- 'rpi-worker-monitor:9100'
|
||||
- 'rpi-worker-service:9100'
|
||||
|
||||
- job_name: 'kube-state-metrics'
|
||||
scrape_interval: 30s
|
||||
static_configs:
|
||||
- targets:
|
||||
- '10.43.217.216:8080'
|
||||
labels:
|
||||
service: 'kube-state-metrics'
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets: ['alertmanager:9093']
|
||||
|
||||
rule_files:
|
||||
- "/etc/prometheus/alert.rules.yml"
|
||||
|
||||
Reference in New Issue
Block a user