Uploaded image for project: 'Observability UI'
  1. Observability UI
  2. OU-258

Dev console: Use Metrics page from monitoring-plugin

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • OpenShift 4.17, OpenShift 4.18
    • None
    • None
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • NEW
    • OBSDA-372 - Same Component across Developer & Admin Perspectives (Web Console> Observe)
    • NEW
    • Sprint 257, Sprint 258

      Background

      The admin console's alert details page is provided by https://github.com/openshift/monitoring-plugin, but the dev console's equivalent page is still provided by code in the console codebase.

      The UX of the two pages differs somewhat, so we will need to decide whether we can change the dev console to use the same UX as the admin page or whether we need to keep some differences. This is an opportunity to bring the improved PromQL editing UX from the admin console to the dev console.

      Outcomes

      • The dev console metrics is loaded from monitoring-plugin and the code that is not shared with other components in the console is removed from the console codebase.
      • The dev console version of the page has the project selector dropdown, but the admin console page doesn't, so monitoring-plugin will need to be changed to support that difference.

       

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

      To pass the CI/CD requirements of the openshift/console each PR needs to have a issue in a OCP own Jira board. 

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

      openshift/console PR#4187: Removes the Metrics Page. 

      openshift/monitoring-plugin PR#138: Add the Metrics Page & consolidates the code to use the same components as the Administrative > Observe > Metrics Page. 

      Testing

      Both openshift/console PR#4187 & openshift/monitoring-plugin PR#138 need to be launched to see the full feature. After launching both the PRs you should see a page like the screenshot attached below.  

              jezhu@redhat.com Jenny Zhu
              gbernal@redhat.com Gabriel Bernal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: