---
apiVersion: monitoring.coreos.com/v1
items:
- apiVersion: monitoring.coreos.com/v1
  kind: ServiceMonitor
  metadata:
    creationTimestamp: "2025-10-27T11:31:08Z"
    generation: 1
    labels:
      app.kubernetes.io/name: etcd
      k8s-app: etcd
      monitoring.openshift.io/collection-profile: full
    managedFields:
    - apiVersion: monitoring.coreos.com/v1
      fieldsType: FieldsV1
      fieldsV1:
        f:metadata:
          f:labels:
            .: {}
            f:app.kubernetes.io/name: {}
            f:k8s-app: {}
            f:monitoring.openshift.io/collection-profile: {}
        f:spec:
          .: {}
          f:endpoints: {}
          f:jobLabel: {}
          f:namespaceSelector:
            .: {}
            f:matchNames: {}
          f:selector: {}
      manager: cluster-etcd-operator
      operation: Update
      time: "2025-10-27T11:31:08Z"
    name: etcd
    namespace: openshift-etcd-operator
    resourceVersion: "6885"
    uid: ce126227-a0ad-461f-a575-a7cad3cc00b3
  spec:
    endpoints:
    - interval: 30s
      port: etcd-metrics
      scheme: https
      tlsConfig:
        ca:
          configMap:
            key: ca-bundle.crt
            name: etcd-metric-serving-ca
        cert:
          secret:
            key: tls.crt
            name: etcd-metric-client
        keySecret:
          key: tls.key
          name: etcd-metric-client
    jobLabel: k8s-app
    namespaceSelector:
      matchNames:
      - openshift-etcd
    selector:
      matchLabels:
        k8s-app: etcd
- apiVersion: monitoring.coreos.com/v1
  kind: ServiceMonitor
  metadata:
    creationTimestamp: "2025-10-27T11:31:08Z"
    generation: 1
    labels:
      app.kubernetes.io/name: etcd
      k8s-app: etcd
      monitoring.openshift.io/collection-profile: minimal
    managedFields:
    - apiVersion: monitoring.coreos.com/v1
      fieldsType: FieldsV1
      fieldsV1:
        f:metadata:
          f:labels:
            .: {}
            f:app.kubernetes.io/name: {}
            f:k8s-app: {}
            f:monitoring.openshift.io/collection-profile: {}
        f:spec:
          .: {}
          f:endpoints: {}
          f:jobLabel: {}
          f:namespaceSelector:
            .: {}
            f:matchNames: {}
          f:selector: {}
      manager: cluster-etcd-operator
      operation: Update
      time: "2025-10-27T11:31:08Z"
    name: etcd-minimal
    namespace: openshift-etcd-operator
    resourceVersion: "6887"
    uid: ee61b987-06d5-4427-96e2-15faf38aea0f
  spec:
    endpoints:
    - interval: 30s
      metricRelabelings:
      - action: keep
        regex: (etcd_disk_backend_commit_duration_seconds_bucket|etcd_disk_wal_fsync_duration_seconds_bucket|etcd_mvcc_db_total_size_in_bytes|etcd_mvcc_db_total_size_in_use_in_bytes|etcd_network_peer_round_trip_time_seconds_bucket|etcd_network_peer_sent_failures_total|etcd_server_has_leader|etcd_server_is_leader|etcd_server_proposals_failed_total|etcd_server_quota_backend_bytes|grpc_server_handled_total|grpc_server_handling_seconds_bucket|grpc_server_started_total|process_start_time_seconds)
        sourceLabels:
        - __name__
      port: etcd-metrics
      scheme: https
      tlsConfig:
        ca:
          configMap:
            key: ca-bundle.crt
            name: etcd-metric-serving-ca
        cert:
          secret:
            key: tls.crt
            name: etcd-metric-client
        keySecret:
          key: tls.key
          name: etcd-metric-client
    jobLabel: k8s-app
    namespaceSelector:
      matchNames:
      - openshift-etcd
    selector:
      matchLabels:
        k8s-app: etcd
- apiVersion: monitoring.coreos.com/v1
  kind: ServiceMonitor
  metadata:
    annotations:
      include.release.openshift.io/self-managed-high-availability: "true"
      include.release.openshift.io/single-node-developer: "true"
    creationTimestamp: "2025-10-27T11:18:36Z"
    generation: 1
    managedFields:
    - apiVersion: monitoring.coreos.com/v1
      fieldsType: FieldsV1
      fieldsV1:
        f:metadata:
          f:annotations:
            .: {}
            f:include.release.openshift.io/self-managed-high-availability: {}
            f:include.release.openshift.io/single-node-developer: {}
          f:ownerReferences:
            .: {}
            k:{"uid":"d36bdf59-d268-4238-afb0-5e0b21cca1a4"}: {}
        f:spec:
          .: {}
          f:endpoints: {}
          f:jobLabel: {}
          f:namespaceSelector:
            .: {}
            f:matchNames: {}
          f:selector: {}
      manager: cluster-version-operator
      operation: Update
      time: "2025-10-27T11:18:36Z"
    name: etcd-operator
    namespace: openshift-etcd-operator
    ownerReferences:
    - apiVersion: config.openshift.io/v1
      controller: true
      kind: ClusterVersion
      name: version
      uid: d36bdf59-d268-4238-afb0-5e0b21cca1a4
    resourceVersion: "1736"
    uid: 3aac4bb1-d35f-4609-a998-0d46eeebbe33
  spec:
    endpoints:
    - bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
      interval: 30s
      port: https
      scheme: https
      tlsConfig:
        caFile: /etc/prometheus/configmaps/serving-certs-ca-bundle/service-ca.crt
        certFile: /etc/prometheus/secrets/metrics-client-certs/tls.crt
        keyFile: /etc/prometheus/secrets/metrics-client-certs/tls.key
        serverName: metrics.openshift-etcd-operator.svc
    jobLabel: component
    namespaceSelector:
      matchNames:
      - openshift-etcd-operator
    selector:
      matchLabels:
        app: etcd-operator
kind: ServiceMonitorList
metadata:
  continue: ""
  resourceVersion: "2219756"
