Uploaded image for project: 'Observability and Data Analysis Program'
  1. Observability and Data Analysis Program
  2. OBSDA-135

Discrepancy in metrics due to inconsistent units across console

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Obsolete
    • Icon: Normal Normal
    • None
    • None
    • Console, Prometheus
    • None
    • False
    • False
    • undefined

      • Metrics for pod shown under [1] does not match the Prometheus query for calculating memory usage [2]

      [1] OpenShift Console -> Pods -> Details -> Memory Usage
      [2] sum(container_memory_working_set_bytes{pod='<pod-name>',namespace='<namespace-name>',container='',}) BY (pod, namespace)

      • The difference is due to the conversion between Mib and MB, the output shown with Prometheus query returns the value in Megabyte(MB) and the output shown in [1] is returned in Mebibyte (Mib).

              Unassigned Unassigned
              rhn-support-dkulkarn Devendra Kulkarni (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: