github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/scripts/vagrant/provision/manifests/kube-prometheus/prometheus-serviceMonitorKubeControllerManager.yaml (about) 1 apiVersion: monitoring.coreos.com/v1 2 kind: ServiceMonitor 3 metadata: 4 labels: 5 k8s-app: kube-controller-manager 6 name: kube-controller-manager 7 namespace: monitoring 8 spec: 9 endpoints: 10 - interval: 30s 11 metricRelabelings: 12 - action: drop 13 regex: etcd_(debugging|disk|request|server).* 14 sourceLabels: 15 - __name__ 16 port: http-metrics 17 jobLabel: k8s-app 18 namespaceSelector: 19 matchNames: 20 - kube-system 21 selector: 22 matchLabels: 23 k8s-app: kube-controller-manager