observability: scrape existing app metrics (audit + ceph-csi batch) #239
Reference in New Issue
Block a user
Delete Branch "benvin/metrics-scrapes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Audit of existing helm deployments for (a) metrics collection and (b) bundled Grafana dashboards, per request. This PR enables the first, cleanest batch (ceph-csi) and documents the rest for follow-up review.
Key constraint
The cluster has no Prometheus-Operator CRDs (
servicemonitors.monitoring.coreos.comabsent) — only the VM-nativeVMServiceScrape/VMPodScrape. So flipping charts'serviceMonitor: truetoggles would fail. The correct mechanism here is native VMServiceScrape CRs, which the observability VMAgent picks up (selectAllByDefault, added in #234). Bundled chart dashboards ship as ConfigMaps that grafana-operator v5 ignores (it uses CRs), so "enabling" them means addingGrafanaDashboardCRs.This PR
VMServiceScrapefor csi-cephfs and csi-cephrbd (their*-http-metricsservices already exist).Audit — metrics (apps already exposing a metrics service; enable via VMServiceScrape)
*-http-metrics:8080metrics, cainjector :9402http-metricsargocd-*-metrics:8082/8083/8084/9001prowlarr/radarr/sonarr-metrics:9707 (exportarr)Audit — charts with metrics toggles (need endpoint enabled + VMServiceScrape)
authentik, vault, purelb, externaldns, cnpg-system (
enablePodMonitor), reloader, traefik. These exposeserviceMonitor/podMonitortoggles that assume Prometheus CRDs — recommend enabling the metrics endpoint + a VMServiceScrape rather than the toggle.Audit — bundled Grafana dashboards
GrafanaDashboard(grafanaCom).dashboard: trueoption + community dashboards — add asGrafanaDashboard.Review ask
Confirm the VMServiceScrape approach; I'll extend to the remaining apps (cert-manager/argocd/media-apps + CNPG/traefik dashboards) in follow-up batches.