diff --git a/assets/prometheus/prometheus.yaml b/assets/prometheus/prometheus.yaml index e0c6cb0e67129b76965c248433524cd0afe0829e..ea10a6081d9693a0b39b97dc6b985ef0e26ef583 100644 --- a/assets/prometheus/prometheus.yaml +++ b/assets/prometheus/prometheus.yaml @@ -34,7 +34,7 @@ scrape_configs: relabel_configs: - action: keep source_labels: [__meta_kubernetes_service_name] - regex: kubernetes|node-exporter|kube-state-metrics|etcd-k8s + regex: prometheus|kubernetes|node-exporter|kube-state-metrics|etcd-k8s - action: replace source_labels: [__meta_kubernetes_service_name] target_label: job diff --git a/manifests/prometheus/prometheus-k8s-cm.yaml b/manifests/prometheus/prometheus-k8s-cm.yaml index 16bf02ef8aa40a6f589cdbebcf198c07cafbadd5..59c6389be89ecdc02e628aac0134f13e0500d2cf 100644 --- a/manifests/prometheus/prometheus-k8s-cm.yaml +++ b/manifests/prometheus/prometheus-k8s-cm.yaml @@ -37,7 +37,7 @@ data: relabel_configs: - action: keep source_labels: [__meta_kubernetes_service_name] - regex: kubernetes|node-exporter|kube-state-metrics|etcd-k8s + regex: prometheus|kubernetes|node-exporter|kube-state-metrics|etcd-k8s - action: replace source_labels: [__meta_kubernetes_service_name] target_label: job