From d6454d18f4717af9ab2c376b2dd4a86bb0022368 Mon Sep 17 00:00:00 2001 From: rpancham <95687211+rpancham@users.noreply.github.com> Date: Mon, 10 Apr 2023 10:23:14 +0530 Subject: [PATCH] add missing target_Label (#46) --- resources/prometheus/remote-write.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/resources/prometheus/remote-write.yaml b/resources/prometheus/remote-write.yaml index 9eb4a4b..99e3274 100644 --- a/resources/prometheus/remote-write.yaml +++ b/resources/prometheus/remote-write.yaml @@ -31,16 +31,7 @@ writeRelabelConfigs: replacement: 'true' sourceLabels: - __name__ - targetLabel: - - - # WHAT: Reports the pods only for the defined metrics that have tried to be resent to observatorium - - source_labels: kube_pod_.*|container_network_.*|container_memory_.*|container_cpu_.* - separator: ; - regex: (.*) - target_label: pod - replacement: ${1} - action: labelkeep - + targetLabel: __tmp_keep # WHAT: Reports the current amount of Prometheus remote storage shards - action: replace