Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-4997

RHODS consumption metrics don’t exist unless a notebook pod is started

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Monitoring
    • False
    • None
    • False
    • No
    • No
    • No
    • Pending
    • None

      Description of problem:

      The consumption metrics in RHODS do not get created until you spawn a notebook pod. The metrics affected are:

      cluster:usage:consumption:rhods:cpu:seconds:rate1h
      cluster:usage:consumption:rhods:pod:up
      cluster:usage:consumption:rhods:active_users
      cluster:usage:consumption:rhods:cpu_requests_runtime
      cluster:usage:consumption:rhods:cpu_limits_runtime 

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

      Steps to Reproduce

      1. Deploy RHODS
      2. Attempt to query the above listed metrics (via the “observe” -> “metrics” list in the left nav of the openshift console
      3. Note that the metrics don’t exist
      4. Start a notebook pod
      5. Note that metrics now show up

      Actual results: 

      A pod has to be started/running for the metrics to populate

      Expected results:

      Consumption metrics should exist but equal zero if no notebook pods have started

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Workaround:

      Additional info:

              Unassigned Unassigned
              acorvin@redhat.com Alex Corvin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: