prometheus: remove obsolete host Immich scrapes
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user