Files
infra/stacks/monitoring/prometheus/prometheus.yml

29 lines
646 B
YAML

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 }