Uploaded image for project: 'Managed Service - API'
  1. Managed Service - API
  2. MGDAPI-4578

Delete rhmi-operator-metrics service

XMLWordPrintable

    • 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

              rh-ee-fwaters Fiona Waters
              mstoklus_rhmi Michal Stokluska
              Michal Stokluska Michal Stokluska
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: