From c977cafa10ecbf57fd5733035732149709fa33e9 Mon Sep 17 00:00:00 2001 From: Moritz Clasmeier Date: Fri, 19 Apr 2024 13:41:03 +0200 Subject: [PATCH] Fix identifiers --- .../pod_monitors/rhacs-cloudwatch-exporter.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/prometheus/pod_monitors/rhacs-cloudwatch-exporter.yaml b/resources/prometheus/pod_monitors/rhacs-cloudwatch-exporter.yaml index 93ee2534..870a6d1e 100644 --- a/resources/prometheus/pod_monitors/rhacs-cloudwatch-exporter.yaml +++ b/resources/prometheus/pod_monitors/rhacs-cloudwatch-exporter.yaml @@ -37,12 +37,12 @@ spec: metricRelabelings: - action: replace - source_labels: [__name__] + sourceLabels: [__name__] regex: 'aws_(.*)_selinux_denials_sample_count' - target_label: __name__ + targetLabel: __name__ replacement: selinux_denials_sample_count - action: replace - source_labels: [__name__] + sourceLabels: [__name__] regex: 'aws_(.*)_network_policy_denials_sample_count' - target_label: __name__ + targetLabel: __name__ replacement: network_policy_denials_sample_count