Difference between Metrics and Dashboard on container memory utilization

Solution Verified - Updated -

Issue

  • Memory utilization shown on OCP Dashboard and output from the below PromQL to calculate memory utilization for the cost purpose doesn't match.

PromQL: sum(container_memory_usage_bytes{namespace!=""}) by (namespace)

Environment

  • OCP 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content