Files
argocd-apps/apps/base/csi-cephfs/vmservicescrape.yaml
T
unkinben 57097b8ff8
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
observability: scrape ceph-csi metrics via VMServiceScrape
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.
2026-07-06 22:26:08 +10:00

16 lines
395 B
YAML

---
# Scrape the ceph-csi-cephfs nodeplugin + provisioner http-metrics endpoints.
# Picked up by the observability VMAgent (selectAllByDefault).
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMServiceScrape
metadata:
name: ceph-csi-cephfs
namespace: csi-cephfs
spec:
selector:
matchLabels:
app: ceph-csi-cephfs
endpoints:
- port: http-metrics
path: /metrics