57097b8ff8
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.
16 lines
395 B
YAML
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
|