Füge zusätzliche Scrape-Konfigurationen für Traefik in der Prometheus-Spezifikation hinzu

This commit is contained in:
Matthias Hinrichs
2026-01-16 12:00:21 +01:00
parent d879d2a368
commit ba27c4e39d
@@ -46,6 +46,18 @@ spec:
enabled: false
prometheus:
prometheusSpec:
additionalScrapeConfigs:
- job_name: "traefik-synology"
metrics_path: /metrics
static_configs:
- targets: ["192.168.200.200:8082"]
# Optional: Labels hinzufügen, damit Traefik-Dashboards
# die Daten leichter finden
relabel_configs:
- target_label: job
replacement: traefik
- target_label: instance
replacement: synology-nas
storageSpec:
volumeClaimTemplate:
spec: