---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  creationTimestamp: "2025-10-27T12:46:54Z"
  generation: 1
  labels:
    rook.io/managedBy: ocs-storagecluster
    team: rook
  managedFields:
  - apiVersion: monitoring.coreos.com/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          .: {}
          f:rook.io/managedBy: {}
          f:team: {}
        f:ownerReferences:
          .: {}
          k:{"uid":"0f626088-0b84-4dc7-9929-8666599f01dd"}: {}
      f:spec:
        .: {}
        f:endpoints: {}
        f:namespaceSelector:
          .: {}
          f:matchNames: {}
        f:selector: {}
    manager: rook
    operation: Update
    time: "2025-10-27T12:46:54Z"
  name: rook-ceph-exporter
  namespace: openshift-storage
  ownerReferences:
  - apiVersion: ceph.rook.io/v1
    blockOwnerDeletion: true
    controller: true
    kind: CephCluster
    name: ocs-storagecluster-cephcluster
    uid: 0f626088-0b84-4dc7-9929-8666599f01dd
  resourceVersion: "62360"
  uid: a152080a-02ce-43b0-b728-c53d54ffd2be
spec:
  endpoints:
  - honorLabels: true
    interval: 30s
    path: /metrics
    port: ceph-exporter-http-metrics
    relabelings:
    - action: replace
      replacement: ocs-storagecluster
      targetLabel: managedBy
  namespaceSelector:
    matchNames:
    - openshift-storage
  selector:
    matchLabels:
      app: rook-ceph-exporter
      rook_cluster: openshift-storage
