# V2 Metrics API - Can I get Kubernetes CPU requests for a pod?

**URL:** <https://community.dynatrace.com/t/v2-metrics-api-can-i-get-kubernetes-cpu-requests-for-a-pod/53063>\
**Category:** Open Q&A\
**Tags:** kubernetes, dynatrace-api\
**Created:** [August 21, 2025, 3:11pm UTC](https://community.dynatrace.com/t/v2-metrics-api-can-i-get-kubernetes-cpu-requests-for-a-pod/53063 "2025-08-21T15:11:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![crabbylou](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@crabbylou](https://community.dynatrace.com/u/crabbylou)\
**Post date:** [August 21, 2025, 3:11pm UTC](https://community.dynatrace.com/t/v2-metrics-api-can-i-get-kubernetes-cpu-requests-for-a-pod/53063/1 "2025-08-21T15:11:56Z")

</div>

Hello DT Community,

It seems that in the V2 Metrics API that there is no way to get pod CPU requests. I can get pod CPU usage, pod CPU limits, pod memory usage, pod memory limits, and pod memory requests.

Is there a way to do this without doing a derived stat? Bigger question is there value in that stat?

Any advice is appreciated.

Thanks!

---

<div class="post-metadata">

**Author:** ![mizso74](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [August 21, 2025, 11:02pm UTC](https://community.dynatrace.com/t/v2-metrics-api-can-i-get-kubernetes-cpu-requests-for-a-pod/53063/2 "2025-08-21T23:02:39Z")

</div>

Hi&nbsp;[@crabbylou](https://community.dynatrace.com/user/66964),

I have not seen any problem with the Metric API regarding CPU request of a POD.

I used this metric selector expression at the Metric API:

 ![Mizs_4-1755817309404.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/b96b4d38924afe7593ff60fdc31ccd402d83abda.png)

Response part1:

 ![Mizs_2-1755817005806.png](https://global.discourse-cdn.com/dynatrace/original/2X/4/4159948b1e558326d59995bbc92783cb94adc3fe.png)

Response part2, this pod has 1 core cpu requests:

 ![Mizs_3-1755817067048.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/1086b5c19321f24180e9a3d7d12a31d0f675565d.png)

Best regards,

János

---

<div class="post-metadata">

**Author:** ![crabbylou](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@crabbylou](https://community.dynatrace.com/u/crabbylou)\
**Post date:** [August 29, 2025, 3:04pm UTC](https://community.dynatrace.com/t/v2-metrics-api-can-i-get-kubernetes-cpu-requests-for-a-pod/53063/3 "2025-08-29T15:04:10Z")

</div>

Thanks for responding Mizso. Is there a way to get all the pods CPU requests for a namespace or workload?

The best I can get is the total. I cannot get it by pod name. The Classic UI graphs do a funky thing of taking the requests for the workload, and then divide by the number of running pods.

I can do this in Grail, because they have an actual stat to do that, but I am still tied to the V2 API for now.

Thanks!

---

<div class="post-metadata">

**Author:** ![mizso74](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [August 29, 2025, 5:55pm UTC](https://community.dynatrace.com/t/v2-metrics-api-can-i-get-kubernetes-cpu-requests-for-a-pod/53063/4 "2025-08-29T17:55:39Z")

</div>

Hi&nbsp;[@crabbylou](https://community.dynatrace.com/user/66964),

Unfortunately I do not know soultion for this request.

Maybe the other community members have any ideas about it.

Best regards,

János
