prometheus: remove obsolete host Immich scrapes

This commit is contained in:
2026-10-23 19:55:50 +02:00
parent f34a1abd7d
commit 3f4f13c0d5
2 changed files with 2 additions and 22 deletions
+2 -3
View File
@@ -7,9 +7,8 @@ their supporting workloads, and chart-provided monitoring resources.
The `resources/` directory contains cluster-specific alert rules that are not
chart defaults. It does not contain application workload templates. Immich's
host metrics endpoints are configured as static scrape targets in `values.yaml`;
this avoids depending on legacy Endpoints objects, which this Argo CD instance
intentionally excludes from reconciliation.
in-cluster metrics endpoints are discovered through its ServiceMonitor in the
Immich namespace; the former host scrape targets were removed after migration.
The chart's CRDs are skipped during normal sync because the existing CRDs are
cluster-wide and their large schemas exceed client-side apply annotation limits.
-19
View File
@@ -90,22 +90,3 @@ prometheus:
serviceMonitorSelector: {}
ruleSelectorNilUsesHelmValues: false
ruleSelector: {}
additionalScrapeConfigs:
- job_name: external-immich-8082
metrics_path: /metrics
static_configs:
- targets:
- 192.168.0.2:8082
labels:
endpoint: metrics
namespace: prometheus
service: external-immich-8082
- job_name: external-immich-8083
metrics_path: /metrics
static_configs:
- targets:
- 192.168.0.2:8083
labels:
endpoint: metrics
namespace: prometheus
service: external-immich-8083