2026-07-30 12:12:11 +02:00
|
|
|
global:
|
|
|
|
|
scrape_interval: 15s
|
|
|
|
|
|
2026-07-31 18:30:40 +02:00
|
|
|
rule_files:
|
|
|
|
|
- /etc/prometheus/alerts.yml
|
|
|
|
|
|
|
|
|
|
alerting:
|
|
|
|
|
alertmanagers:
|
|
|
|
|
- static_configs:
|
|
|
|
|
- targets: ["alertmanager:9093"]
|
|
|
|
|
|
2026-07-30 12:13:01 +02:00
|
|
|
# Zusaetzlich zu diesen Scrape-Targets kommen Metriken per Remote-Write rein
|
|
|
|
|
# (k3s-Cluster: flux, kube_state_metrics; Matrix-Server: synapse).
|
2026-07-30 12:12:11 +02:00
|
|
|
scrape_configs:
|
2026-07-30 12:13:01 +02:00
|
|
|
## Operating-Server (dieser Host)
|
2026-07-30 12:12:11 +02:00
|
|
|
- job_name: "operating_prometheus"
|
|
|
|
|
static_configs:
|
|
|
|
|
- targets: ["localhost:9090"]
|
|
|
|
|
|
|
|
|
|
- job_name: "operating_node-exporter"
|
|
|
|
|
static_configs:
|
|
|
|
|
- targets: ["node-exporter:9100"]
|
|
|
|
|
|
|
|
|
|
- job_name: "operating_cadvisor"
|
2026-07-30 12:13:01 +02:00
|
|
|
# cadvisor laeuft im Portainer-Stack "thread-net-git", selbes traefik-Netz
|
2026-07-30 12:12:11 +02:00
|
|
|
static_configs:
|
|
|
|
|
- targets: ["cadvisor:8080"]
|
|
|
|
|
|
|
|
|
|
- job_name: "operating_traefik"
|
|
|
|
|
metrics_path: "/metrics"
|
|
|
|
|
static_configs:
|
|
|
|
|
- targets: ["traefik:8080"]
|
|
|
|
|
|
2026-07-30 12:13:01 +02:00
|
|
|
## Externe Hosts
|
2026-07-30 12:12:11 +02:00
|
|
|
- job_name: "k3s_host_node"
|
|
|
|
|
static_configs:
|
|
|
|
|
- targets: ["10.0.0.2:9100"]
|
|
|
|
|
labels:
|
|
|
|
|
instance: "k3s-host"
|
|
|
|
|
|
|
|
|
|
- job_name: "pterodactyl_host_node"
|
|
|
|
|
static_configs:
|
|
|
|
|
- targets: ["157.90.155.206:9100"]
|
|
|
|
|
labels:
|
|
|
|
|
instance: "pterodactyl"
|
|
|
|
|
|
|
|
|
|
- job_name: "gameserver_cadvisor"
|
|
|
|
|
static_configs:
|
|
|
|
|
- targets: ["157.90.155.206:8080"]
|
2026-08-01 13:42:07 +02:00
|
|
|
|
|
|
|
|
# CVE-Exporter (gitops#47)
|
|
|
|
|
- job_name: "cve_exporter"
|
|
|
|
|
static_configs:
|
|
|
|
|
- targets: ["cve-exporter:9101"]
|