<?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 Get pending pods by pod names in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Get-pending-pods-by-pod-names/m-p/218539#M3504</link>
    <description>&lt;P&gt;Hello Folks,&lt;/P&gt;&lt;P&gt;How do we get pending pods by pod name.&lt;/P&gt;&lt;P&gt;I'm trying to configure the metric events. Goal is to get pod who's status is in pending state and filter by namespaces.&lt;/P&gt;&lt;P&gt;Below is the query I'm using however, I don't get any result,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:kubernetes.pods:filter(and(or(in("dt.entity.cloud_application_namespace",entitySelector("type(cloud_application_namespace),entityName.equals(~"namespace~")"))),or(eq(pod_phase,Pending)))):splitBy("k8.pod.name"):sort(value(auto,descending))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Metric used is&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Kubernetes: Pod count (by workload)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2023 12:59:46 GMT</pubDate>
    <dc:creator>AK</dc:creator>
    <dc:date>2023-07-19T12:59:46Z</dc:date>
    <item>
      <title>Get pending pods by pod names</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Get-pending-pods-by-pod-names/m-p/218539#M3504</link>
      <description>&lt;P&gt;Hello Folks,&lt;/P&gt;&lt;P&gt;How do we get pending pods by pod name.&lt;/P&gt;&lt;P&gt;I'm trying to configure the metric events. Goal is to get pod who's status is in pending state and filter by namespaces.&lt;/P&gt;&lt;P&gt;Below is the query I'm using however, I don't get any result,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:kubernetes.pods:filter(and(or(in("dt.entity.cloud_application_namespace",entitySelector("type(cloud_application_namespace),entityName.equals(~"namespace~")"))),or(eq(pod_phase,Pending)))):splitBy("k8.pod.name"):sort(value(auto,descending))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Metric used is&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Kubernetes: Pod count (by workload)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 12:59:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Get-pending-pods-by-pod-names/m-p/218539#M3504</guid>
      <dc:creator>AK</dc:creator>
      <dc:date>2023-07-19T12:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get pending pods by pod names</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Get-pending-pods-by-pod-names/m-p/218655#M3505</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Is it possible? Can someone help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 12:12:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Get-pending-pods-by-pod-names/m-p/218655#M3505</guid>
      <dc:creator>AK</dc:creator>
      <dc:date>2023-07-20T12:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get pending pods by pod names</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Get-pending-pods-by-pod-names/m-p/218665#M3506</link>
      <description>&lt;P&gt;Something like this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kenny_Gillette_0-1689862954038.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/13084i665C5DBAE5610648/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kenny_Gillette_0-1689862954038.png" alt="Kenny_Gillette_0-1689862954038.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is code:&lt;/P&gt;&lt;P&gt;builtin:kubernetes.pods:filter(and(or(eq(pod_status,Pending)))):splitBy("k8s.pod.name"):sort(value(auto,descending)):limit(20)&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 14:22:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Get-pending-pods-by-pod-names/m-p/218665#M3506</guid>
      <dc:creator>Kenny_Gillette</dc:creator>
      <dc:date>2023-07-20T14:22:59Z</dc:date>
    </item>
  </channel>
</rss>

