From cbe0dcc5c8f6638e444144962b2004fb709dc95d Mon Sep 17 00:00:00 2001 From: Khurram Baig Date: Mon, 23 May 2022 11:05:21 +0530 Subject: [PATCH] Add honorLabels to the pipelines ServiceMonitor Added honorLabels to the serviceMonitor because prometheus override our labels/tags in metrics which leads to namespace being tagged as exported_namespace and an additional namespace tag "openshift-pipelines" in the metrics stored. --- .../operator/kodata/openshift-monitoring/00-monitoring.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/openshift/operator/kodata/openshift-monitoring/00-monitoring.yaml b/cmd/openshift/operator/kodata/openshift-monitoring/00-monitoring.yaml index 18b6a5ca42..d6b04d9395 100644 --- a/cmd/openshift/operator/kodata/openshift-monitoring/00-monitoring.yaml +++ b/cmd/openshift/operator/kodata/openshift-monitoring/00-monitoring.yaml @@ -59,6 +59,7 @@ spec: endpoints: - interval: 10s port: http-metrics + honorLabels: true jobLabel: app namespaceSelector: matchNames: