observability: scrape ceph-csi metrics via VMServiceScrape
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful

The ceph-csi cephfs/rbd charts already expose http-metrics services but
nothing scraped them. Add native VMServiceScrape CRs (the cluster has no
Prometheus-Operator CRDs, only VM-native ones) so the observability
VMAgent (selectAllByDefault) collects ceph-csi grpc/csi metrics.
This commit is contained in:
2026-07-06 22:26:08 +10:00
parent 391197ad1c
commit 57097b8ff8
4 changed files with 32 additions and 0 deletions
@@ -0,0 +1,15 @@
---
# Scrape the ceph-csi-rbd nodeplugin + provisioner http-metrics endpoints.
# Picked up by the observability VMAgent (selectAllByDefault).
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMServiceScrape
metadata:
name: ceph-csi-rbd
namespace: csi-cephrbd
spec:
selector:
matchLabels:
app: ceph-csi-rbd
endpoints:
- port: http-metrics
path: /metrics