Monitoring: Alloy → Prometheus/Loki auf Selendis
Status: ✅ Vollständig deployed
Remote Storage: 10.0.0.3:9090 (Prometheus), 10.0.0.3:3100 (Loki)
Überblick
Alloy (Grafana Agent) sammelt Metriken & Logs vom K3S-Cluster und schickt sie zu Prometheus/Loki auf Selendis.
Komponenten
| Komponente |
Rolle |
| Alloy |
Metrics & Logs Collector |
| kube-state-metrics |
Kubernetes Object Status |
| node-exporter |
Host Metrics (CPU, Memory, Disk) |
| Prometheus (Selendis) |
Metrics Ingestion |
| Loki (Selendis) |
Logs Ingestion |
Dateien (in apps/monitoring/)
namespace.yaml
helm-repos.yaml (prometheus-community, grafana)
kube-state-metrics.yaml, node-exporter.yaml
alloy-config.yaml (River config with scrape targets + remote write)
alloy.yaml (HelmRelease)
Scrape Targets
Alloy scraped:
- Flux Controllers (flux-system ns, port 8080)
- kube-state-metrics (monitoring:8080)
- node-exporter (monitoring:9100)
- Synapse (matrix.axion1337.chat:9000)
Alle Remote Write zu 10.0.0.3:9090 (Prometheus) + 10.0.0.3:3100 (Loki).
Troubleshooting
Weitere Details: Siehe Kapitel 3.