fr1: стек мониторинга (prometheus+grafana+node-exporter+cadvisor)

This commit is contained in:
Ruslan Gilfanov
2026-06-21 18:55:45 +03:00
parent 6cb627cc16
commit d9b268ac77
5 changed files with 120 additions and 0 deletions

View 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 }