github.com/m3db/m3@v1.5.0/scripts/vagrant/provision/manifests/kube-prometheus/0prometheus-operator-serviceMonitor.yaml (about)

     1  apiVersion: monitoring.coreos.com/v1
     2  kind: ServiceMonitor
     3  metadata:
     4    labels:
     5      k8s-app: prometheus-operator
     6    name: prometheus-operator
     7    namespace: monitoring
     8  spec:
     9    endpoints:
    10    - honorLabels: true
    11      port: http
    12    selector:
    13      matchLabels:
    14        k8s-app: prometheus-operator