fr1: стек мониторинга (prometheus+grafana+node-exporter+cadvisor)
This commit is contained in:
28
stacks/monitoring/prometheus/prometheus.yml
Normal file
28
stacks/monitoring/prometheus/prometheus.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
external_labels:
|
||||
monitor: ruzzy-infra
|
||||
|
||||
scrape_configs:
|
||||
- job_name: prometheus
|
||||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
|
||||
- job_name: node
|
||||
static_configs:
|
||||
- targets: ['node-exporter:9100']
|
||||
labels:
|
||||
instance: fr1
|
||||
|
||||
- job_name: cadvisor
|
||||
static_configs:
|
||||
- targets: ['cadvisor:8080']
|
||||
labels:
|
||||
instance: fr1
|
||||
|
||||
# de1 будет добавлен позже (через туннель AmneziaWG):
|
||||
# - job_name: node-de1
|
||||
# static_configs:
|
||||
# - targets: ['10.8.1.X:9100']
|
||||
# labels: { instance: de1 }
|
||||
Reference in New Issue
Block a user