# What PromQL does OpenLens use for “Pod → Memory Requests”?

**URL:** https://forums.k8slens.dev/t/what-promql-does-openlens-use-for-pod-memory-requests/6363
**Category:** Lens Support & Troubleshooting
**Tags:** macos, lens-desktop, kubernetes, prometheus
**Created:** [August 26, 2025, 6:43am UTC](https://forums.k8slens.dev/t/what-promql-does-openlens-use-for-pod-memory-requests/6363 "2025-08-26T06:43:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![slsnsepdpd](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@slsnsepdpd](https://forums.k8slens.dev/u/slsnsepdpd)
#### Post date: [August 26, 2025, 6:43am UTC](https://forums.k8slens.dev/t/what-promql-does-openlens-use-for-pod-memory-requests/6363/1 "2025-08-26T06:43:33Z")

</div>

Hi,  
I’m trying to reproduce the “Pod → Memory Requests” value I see in OpenLens via Prometheus/Grafana/CLI, but I can’t find the exact PromQL OpenLens uses.  
I’m seeing a big gap between “pod memory” numbers and the “container memory” numbers;even when there’s only one container in the pod. I guess the container panel uses `container_memory_working_set_bytes`, but I’m unsure what metric/query the pod panel uses.  
Thank you in advance.

Example: Lens shows the pod around 15–16 GiB(screenshot1, screenshot2), but the single container sits at 7–8 GiB(screenshot3) while node is using 22 GiB memory(screenshot4).  
So I want to know exactly which metrics/queries Lens uses so I can figure out what these gap is.

Or possibly bug? ([Lens Metrics get wrong values of CPU, RAM · Issue #7299 · lensapp/lens · GitHub](https://github.com/lensapp/lens/issues/7299), [Lens displaying incorrect resource values for nodes and pods - #2 by jehrismann](https://forums.k8slens.dev/t/lens-displaying-incorrect-resource-values-for-nodes-and-pods/290/2))

 ![screenshot1](https://forums.k8slens.dev/original/2X/8/846af4732db8cd3b234c287bc9a558bbe9ab1c7f.png)  
 ![screenshot2](https://forums.k8slens.dev/original/2X/d/d97ef948f5a4d8959ae142ec94dd65433ec484ae.png)  
 ![screenshot3](https://forums.k8slens.dev/original/2X/c/cb7a81ffddb9ebec168feea99e6741c844f8dbd0.png)  
 ![screenshot4](https://forums.k8slens.dev/original/2X/5/53fbb48ce9e170352a1e71f15887d5d4be13bdcb.png)

* * *
Lens: 2025.8.121212-latest Electron: 35.4.0 Chrome: 134.0.6998.205 Node: 22.15.0 MACOS

---

<div class="post-metadata">

### Author: ![tkudinov](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/t/58f4c7/32.png) [@tkudinov](https://forums.k8slens.dev/u/tkudinov)
#### Post date: [August 26, 2025, 10:02am UTC](https://forums.k8slens.dev/t/what-promql-does-openlens-use-for-pod-memory-requests/6363/2 "2025-08-26T10:02:11Z")

</div>

Hello @slsnsepdpd,

Thank you for reaching out to Lens forum!

I’ll let the dev team about your question.

Stand by for further updates.

Best Regards,  
Tikhon Kudinov  
Lens Support Engineer  
Mirantis, Inc
