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

2 Metrics tab in 4.17 developer console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • 4.17.z
    • 4.17.0
    • Observability UI
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, on the *Developer* perspective on the {product-title} web console, when you navigated to *Observe* > *Metrics*, two *Metrics* tabs existed. With this release, the duplicate tab is removed and now exists in the `openshift-monitoring/monitoring-plugin` application that serves the *Metrics* tabs on the web console. (link:https://issues.redhat.com/browse/OCPBUGS-38462[*OCPBUGS-38462*])
      Show
      * Previously, on the *Developer* perspective on the {product-title} web console, when you navigated to *Observe* > *Metrics*, two *Metrics* tabs existed. With this release, the duplicate tab is removed and now exists in the `openshift-monitoring/monitoring-plugin` application that serves the *Metrics* tabs on the web console. (link: https://issues.redhat.com/browse/OCPBUGS-38462 [* OCPBUGS-38462 *])
    • Bug Fix
    • Done

      Description of problem:

      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
            juzhao@redhat.com Junqi Zhao
            Junqi Zhao Junqi Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: