-
Task
-
Resolution: Done
-
Blocker
-
None
-
None
-
1
-
False
-
-
False
-
Yes
-
Impediment
-
MGDAPI Sprint 30
WHAT
RHOAM used to use the rhmi-operator-metrics service for exposing the metrics, however some time ago when we have bumped the operator sdk we have switched to use the rhoam-operator-metrics-service instead.
Now the RHOAMIsInReconcilingErrorState alert can trigger once both metrics are exposed due to an issue with prometheus comparing many to many.
As part of this ticket we need to provide a logic to RHOAM to remove the rhmi-operator-metrics from the ns where rhoam pod is running.
HOW
<Suggestions for how this may be solved. [Optional]
TESTS
Unit tests
DONE
Additional metric called rhmi-operator-metrics is removed if present on cluster
Create a follow up ticket to remove the code that removes the old service once ALL (multitenant included) versions of RHOAM are bumped