Monitoring ist für echtes Verständnis der Infrastruktur.
Stack
Prometheus, Grafana, Zabbix, Loki, Jaeger.
Beispiel: Prometheus-Scrape
Eine Scrape-Konfiguration fuer node_exporter und ein Disk-Alarm:
# prometheus.yml — scrape node_exporter
scrape_configs:
- job_name: 'nodes'
static_configs:
- targets: ['10.0.0.11:9100','10.0.0.12:9100']
# alerta simpla (rules.yml): disk > 85%
# expr: 100-(node_filesystem_avail_bytes/node_filesystem_size_bytes*100) > 85