---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  creationTimestamp: "2022-03-08T10:40:29Z"
  generation: 1
  labels:
    name: marketplace-operator
  managedFields:
  - apiVersion: monitoring.coreos.com/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          .: {}
          f:name: {}
      f:spec:
        .: {}
        f:endpoints: {}
        f:namespaceSelector:
          .: {}
          f:matchNames: {}
        f:selector:
          .: {}
          f:matchLabels:
            .: {}
            f:name: {}
    manager: cluster-version-operator
    operation: Update
    time: "2022-03-08T10:40:29Z"
  name: marketplace-operator
  namespace: openshift-marketplace
  resourceVersion: "10866"
  selfLink: /apis/monitoring.coreos.com/v1/namespaces/openshift-marketplace/servicemonitors/marketplace-operator
  uid: 4a7bf2fb-18d6-4fdd-9a31-63ff620e3150
spec:
  endpoints:
  - bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
    interval: 30s
    metricRelabelings:
    - action: drop
      regex: etcd_(debugging|disk|request|server).*
      sourceLabels:
      - __name__
    port: https-metrics
    scheme: https
    tlsConfig:
      caFile: /etc/prometheus/configmaps/serving-certs-ca-bundle/service-ca.crt
      serverName: marketplace-operator-metrics.openshift-marketplace.svc
  namespaceSelector:
    matchNames:
    - openshift-marketplace
  selector:
    matchLabels:
      name: marketplace-operator
