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

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