<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic V2 Metrics API - Can I get Kubernetes CPU requests for a pod? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/V2-Metrics-API-Can-I-get-Kubernetes-CPU-requests-for-a-pod/m-p/284488#M38634</link>
    <description>&lt;P&gt;Hello DT Community,&lt;/P&gt;&lt;P&gt;It seems that in the V2 Metrics API that &lt;U&gt;there is no way to get pod CPU requests&lt;/U&gt;. I can get pod CPU usage, pod CPU limits, pod memory usage, pod memory limits, and pod memory requests.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do this without doing a derived stat? Bigger question is there value in that stat?&lt;/P&gt;&lt;P&gt;Any advice is appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Aug 2025 15:11:56 GMT</pubDate>
    <dc:creator>crabbylou</dc:creator>
    <dc:date>2025-08-21T15:11:56Z</dc:date>
    <item>
      <title>V2 Metrics API - Can I get Kubernetes CPU requests for a pod?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/V2-Metrics-API-Can-I-get-Kubernetes-CPU-requests-for-a-pod/m-p/284488#M38634</link>
      <description>&lt;P&gt;Hello DT Community,&lt;/P&gt;&lt;P&gt;It seems that in the V2 Metrics API that &lt;U&gt;there is no way to get pod CPU requests&lt;/U&gt;. I can get pod CPU usage, pod CPU limits, pod memory usage, pod memory limits, and pod memory requests.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do this without doing a derived stat? Bigger question is there value in that stat?&lt;/P&gt;&lt;P&gt;Any advice is appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 15:11:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/V2-Metrics-API-Can-I-get-Kubernetes-CPU-requests-for-a-pod/m-p/284488#M38634</guid>
      <dc:creator>crabbylou</dc:creator>
      <dc:date>2025-08-21T15:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: V2 Metrics API - Can I get Kubernetes CPU requests for a pod?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/V2-Metrics-API-Can-I-get-Kubernetes-CPU-requests-for-a-pod/m-p/284534#M38635</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/66964"&gt;@crabbylou&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I have not seen any problem with the Metric API regarding CPU request of a POD.&lt;/P&gt;&lt;P&gt;I used this metric selector expression at the Metric API:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_4-1755817309404.png" style="width: 713px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29764iD43DCAE790FD50C4/image-dimensions/713x97?v=v2" width="713" height="97" role="button" title="Mizs_4-1755817309404.png" alt="Mizs_4-1755817309404.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Response part1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_2-1755817005806.png" style="width: 715px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29762i7986E98C534E5260/image-dimensions/715x279?v=v2" width="715" height="279" role="button" title="Mizs_2-1755817005806.png" alt="Mizs_2-1755817005806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Response part2, this pod has 1 core cpu requests:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_3-1755817067048.png" style="width: 763px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29763i8221291345ED367C/image-dimensions/763x574?v=v2" width="763" height="574" role="button" title="Mizs_3-1755817067048.png" alt="Mizs_3-1755817067048.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;János&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 23:02:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/V2-Metrics-API-Can-I-get-Kubernetes-CPU-requests-for-a-pod/m-p/284534#M38635</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2025-08-21T23:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: V2 Metrics API - Can I get Kubernetes CPU requests for a pod?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/V2-Metrics-API-Can-I-get-Kubernetes-CPU-requests-for-a-pod/m-p/285045#M38636</link>
      <description>&lt;P&gt;Thanks for responding Mizso. Is there a way to get all the pods CPU requests for a namespace or workload?&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;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.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 15:04:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/V2-Metrics-API-Can-I-get-Kubernetes-CPU-requests-for-a-pod/m-p/285045#M38636</guid>
      <dc:creator>crabbylou</dc:creator>
      <dc:date>2025-08-29T15:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: V2 Metrics API - Can I get Kubernetes CPU requests for a pod?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/V2-Metrics-API-Can-I-get-Kubernetes-CPU-requests-for-a-pod/m-p/285054#M38637</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/66964"&gt;@crabbylou&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Unfortunately I do not know soultion for this request.&lt;/P&gt;&lt;P&gt;Maybe the other community members have any ideas about it.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;János&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 17:55:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/V2-Metrics-API-Can-I-get-Kubernetes-CPU-requests-for-a-pod/m-p/285054#M38637</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2025-08-29T17:55:39Z</dc:date>
    </item>
  </channel>
</rss>

