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