Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-38542

2 Metrics tab in 4.18 developer console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18.0
    • Observability UI
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Summary

      Duplicate issue of https://issues.redhat.com/browse/CONSOLE-4187

      To pass the CI/CD requirements that openshift/console backports need to depend on a 4.18 ticket in OCPBUGS

      This issue migrates the rendering of the Developer Perspective > Observe > Metrics page from the openshift/console to openshift/monitioring-plugin.

       

      Description of problem in 4.17:

      checked on 4.17.0-0.nightly-2024-08-13-031847, there are 2 Metrics tab in 4.17 developer console under "Observe" section, see picture: https://drive.google.com/file/d/1x7Jm2Q9bVDOdFcctjG6WOUtIv_nsD9Pd/view?usp=sharing

      checked, https://github.com/openshift/monitoring-plugin/pull/138 is merged to 4.17, but https://github.com/openshift/console/pull/14105 is merged to 4.18, not merged to 4.17

      example, code

      const expectedTabs: string[] = ['Dashboards', 'Silences', 'Events'] 

      merged to 4.18

      https://github.com/openshift/console/blob/release-4.18/frontend/packages/dev-console/src/components/monitoring/__tests__/MonitoringPage.spec.tsx#L35

      but not merged to 4.17

      https://github.com/openshift/console/blob/release-4.17/frontend/packages/dev-console/src/components/monitoring/__tests__/MonitoringPage.spec.tsx

      Version-Release number of selected component (if applicable):

      4.17.0-0.nightly-2024-08-13-031847

      How reproducible:

      always

      Steps to Reproduce:

      1. go to developer console, select one project and click Observe

      Actual results:

      2 Metrics tab in 4.17 developer console  

      Expected results:

      only one

      Additional info:

      should back port https://github.com/openshift/console/pull/14105 to 4.17

              jezhu@redhat.com Jenny Zhu
              rh-ee-jaclee Jackson Lee
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: