Füge zusätzliche Scrape-Konfigurationen für Traefik in der Prometheus-Spezifikation hinzu
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user