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

Metrics page becomes unresponsive when querying high-cardinality metrics

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.21
    • Management Console
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When running queries for high-cardinality metrics in the Observe -> Metrics page, the UI becomes completely unresponsive:

      • entire page becomes stuck after the query executes
      • elements stop responding
      • clicking the browser back button triggers a Chrome "Page Unresponsive" message
      • clicking refresh shows the refresh circle in the tab, but the page itself remains frozen
      • the only way to recover is to close the browser tab completely

      It happen for example, when querying a metric like: kube_pod_status_phase, I'm using chrome browser. see screenshot here: https://docs.google.com/document/d/1RlijXRCHpiyWLVg1sdzWib65sgeVIXox-QBIEFnzMYs/edit?usp=sharing

      The UI should remain responsive even when querying metrics with very large result sets, I suggest limit the number of returned series - and mention it's limited to X series and maybe suggest using filters.

      I think it should be backported to all supported versions as well.

              jhadvig@redhat.com Jakub Hadvig
              alitman@redhat.com Aviv Litman
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: