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

No datapoint found when querying up certain registered metrics

    XMLWordPrintable

Details

    • No
    • 3
    • MCO Sprint 245, MCO Sprint 246
    • 2
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      When querying up for registered metrics in Console/Observe/Metrics, certain metrics are not showing up (return "No datapoints found"). These metrics include mcc_drain_err, mcc_state, etc

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

       

      How reproducible:

      100%

      Steps to Reproduce:

      1. start up a cluster 
      2. run query e.g. mcc_drain_err in Console/Observe/Metrics 
      
      

      Actual results:

      No datapoints found 

      Expected results:

      Numerical result 

      Additional info:

      This only happens to metrics that are defined / registed with the type gaugeVec. It is discovered that for any vec (gaugevec, countervec), an initialization is needed, otherwise, it will not show up until updates: https://github.com/thought-machine/please-servers/pull/258

      Attachments

        Activity

          People

            rh-ee-iqian Ines Qian
            rh-ee-iqian Ines Qian
            Sergio Regidor de la Rosa Sergio Regidor de la Rosa
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: