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

Metric suggestions are not available in developer view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.17.z, 4.18.z, 4.19.z
    • Observability UI
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      When a developer run PromQL in "Observe > Metrics" menu in developer view, then suggestions of metrics doesn't appear. Rather only name of PromQL functions appear. For eg: rate, irate, sum, count_over_time etc

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

      4.19.z

      How reproducible:

      100%

      Steps to Reproduce:

          1. Enable user workload monitoring
          2. Create a namespace and application. Create servicemonitor.
          3. Check if the target is up and metrics can be query in "observe > metrics" menu.
          4. Add a new user and create a rolebinding to allow user to view contents of the namespace.
          5. Login to cluster with this user and access developer console. Try to query the metric in "Observe > Metrics" and auto suggestions will not show any metrics.
          

      Actual results:

      For developers, auto suggest metrics doesn't work.

      Expected results:

      The auto suggest metrics should work for all the users who have view access to the project in developer view.    

      Additional info:

      If correct metric name is executed, then the output of the metrics is shown. 
      Auto suggest works fine in Administrator View.
      Auto suggest feature in developer view is working fine till RHOCP 4.16. Starting 4.17, it doesn't work.

       

       

              gbernal@redhat.com Gabriel Bernal
              rhn-support-dgautam Dhruv Gautam
              None
              None
              Junqi Zhao Junqi Zhao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: