Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5294

Monitoring charts renders nothing when switching from a Deployment to "All workloads"

XMLWordPrintable

    • ODC Sprint 195, ODC Sprint 196
    • Medium

      Description of problem:

      When the user opens the Monitoring Dashboard and switches from a Deployment to "All workloads" the charts (CPU usage, Memory usage, and so on) are rendering just a white box. No chart was displayed.

      Prerequisites (if any, like setup, operators/versions):

      1. A cluster with monitoring enabled (=no CRC)

      Steps to Reproduce

      1. Open developer perspective
      2. Import at least one Deployment to see some monitoring data (I tested it with container image jerolimov/cpuusage-example, which provides an endpoint /loop/3000 to consume some CPU)
      3. Select "Monitoring" from the navigation
      4. On the "Monitoring" "Dashboard" tab switch between your Deployment workload and "All workloads"

      Actual results:

      1. When switching to "All workloads" no chart is rendered. And no empty or loading state was rendered.
      2. When you refresh the browser you can see that there are some data available but the switch breaks the rendering.

      Expected results:

      1. These charts should be always shown when switching between workloads.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Tested on different builds:

      1. The Switch/Dropdown was not available in the UI on a 4.5.27 cluster. So 4.5 is not affected.
      2. Failed on 4.6.12
      3. Failed on 4.7.0-0.nightly-2020-12-18-031435
      4. Failed on 4.7.0-0.nightly-2021-01-19-033533

      Additional info:

      None

        1. missing-chart.gif
          148 kB
          Christoph Jerolimov

            cjerolim Christoph Jerolimov
            cjerolim Christoph Jerolimov
            Mohammed Saud Mohammed Saud (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: