<?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 Re: Alerting when pod count equals 0 in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Alerting-when-pod-count-equals-0/m-p/245844#M4498</link>
    <description>&lt;P&gt;Ahh alright that makes sense. I was looking for a metric supplied from the K8s integration but I suppose this will work.&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 17:05:14 GMT</pubDate>
    <dc:creator>sivart_89</dc:creator>
    <dc:date>2024-05-16T17:05:14Z</dc:date>
    <item>
      <title>Alerting when pod count equals 0</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-when-pod-count-equals-0/m-p/245827#M4496</link>
      <description>&lt;P&gt;What is the best way to alert when a specific pod does not exist (was running but now is not). A few metrics that I have looked at are&amp;nbsp;&lt;STRONG&gt;builtin:kubernetes.workload.pods_desired&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;builtin:kubernetes.pods:filter&lt;/STRONG&gt; but something I don't like about these is that when the pod is running then there is simply no data shown. Instead of having a value of 0 there is just no data.&lt;/P&gt;&lt;P&gt;I don't like to use something like&amp;nbsp;default(0, always) OR 'alert on missing data' because to me this could be misleading. If the kubernetes integration is severed and we are no longer collecting these metrics then we will have a false positive, an alert will be created even if the pod is actually still running.&lt;/P&gt;&lt;P&gt;Is there really no metric that will simply show me a value of 0 if the pod is not running, and without having to manipulate the metric expression with something like&amp;nbsp;default(0, always)?&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 12:25:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-when-pod-count-equals-0/m-p/245827#M4496</guid>
      <dc:creator>sivart_89</dc:creator>
      <dc:date>2024-05-16T12:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting when pod count equals 0</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-when-pod-count-equals-0/m-p/245830#M4497</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/17361"&gt;@sivart_89&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;pod = process. You need to go to the process group setting and do the following&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esam_Eid_0-1715862945071.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19899i1359D222E30E058C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Esam_Eid_0-1715862945071.png" alt="Esam_Eid_0-1715862945071.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if the count is less than 1, you will receive alert as below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esam_Eid_1-1715862992894.png" style="width: 507px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19900iC505D8A90519A3E1/image-dimensions/507x83?v=v2" width="507" height="83" role="button" title="Esam_Eid_1-1715862992894.png" alt="Esam_Eid_1-1715862992894.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Esam&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 12:36:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-when-pod-count-equals-0/m-p/245830#M4497</guid>
      <dc:creator>Esam_Eid</dc:creator>
      <dc:date>2024-05-16T12:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting when pod count equals 0</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-when-pod-count-equals-0/m-p/245844#M4498</link>
      <description>&lt;P&gt;Ahh alright that makes sense. I was looking for a metric supplied from the K8s integration but I suppose this will work.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 17:05:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-when-pod-count-equals-0/m-p/245844#M4498</guid>
      <dc:creator>sivart_89</dc:creator>
      <dc:date>2024-05-16T17:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting when pod count equals 0</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-when-pod-count-equals-0/m-p/245856#M4499</link>
      <description>&lt;P&gt;Check this topic here, it may give you some hints on K8S monitoring best practices:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Feedback-channel/Introducing-easy-alerting-on-common-Kubernetes-platform-issues/m-p/197824" target="_blank"&gt;https://community.dynatrace.com/t5/Feedback-channel/Introducing-easy-alerting-on-common-Kubernetes-platform-issues/m-p/197824&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Similar question that you may also check:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Container-platforms/Need-some-guidence-related-to-Kubernetes-monitoring/m-p/238161" target="_blank"&gt;https://community.dynatrace.com/t5/Container-platforms/Need-some-guidence-related-to-Kubernetes-monitoring/m-p/238161&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 18:48:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-when-pod-count-equals-0/m-p/245856#M4499</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2024-05-16T18:48:33Z</dc:date>
    </item>
  </channel>
</rss>

