<?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 Metrics to pull the Kubernetes services with 0 Pods or returning to 503 in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/Metrics-to-pull-the-Kubernetes-services-with-0-Pods-or-returning/m-p/280394#M3185</link>
    <description>&lt;P&gt;I'm trying to find a way in Dynatrace to check which Kubernetes services either have no pods running or are returning 503 errors. I’ve looked through the available service metrics, but they don’t seem to show any pod-level details. Any ideas on how I can get this info&lt;/P&gt;</description>
    <pubDate>Wed, 10 Sep 2025 09:37:37 GMT</pubDate>
    <dc:creator>Venkat8</dc:creator>
    <dc:date>2025-09-10T09:37:37Z</dc:date>
    <item>
      <title>Metrics to pull the Kubernetes services with 0 Pods or returning to 503</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Metrics-to-pull-the-Kubernetes-services-with-0-Pods-or-returning/m-p/280394#M3185</link>
      <description>&lt;P&gt;I'm trying to find a way in Dynatrace to check which Kubernetes services either have no pods running or are returning 503 errors. I’ve looked through the available service metrics, but they don’t seem to show any pod-level details. Any ideas on how I can get this info&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 09:37:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Metrics-to-pull-the-Kubernetes-services-with-0-Pods-or-returning/m-p/280394#M3185</guid>
      <dc:creator>Venkat8</dc:creator>
      <dc:date>2025-09-10T09:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Metrics to pull the k8s services with 0  Pods or  returning to 503</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Metrics-to-pull-the-Kubernetes-services-with-0-Pods-or-returning/m-p/280396#M3186</link>
      <description>&lt;P&gt;You can use DQL:&lt;/P&gt;&lt;P&gt;timeseries runningPods = sum(dt.kubernetes.pods),&lt;BR /&gt;filter: {pod_phase == "Running"},&lt;BR /&gt;by: {k8s.namespace.name, k8s.workload.name, pod_phase},&lt;BR /&gt;from: -5m&lt;BR /&gt;| filter arrayMax(runningPods) == 0&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;timeseries total503 = count(http.metric),&lt;BR /&gt;filter: {http.response.status == 503},&lt;BR /&gt;by: {dt.entity.service, k8s.namespace.name},&lt;BR /&gt;from: -5m&lt;BR /&gt;| sort arrayMax(total503) desc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jun 2025 20:05:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Metrics-to-pull-the-Kubernetes-services-with-0-Pods-or-returning/m-p/280396#M3186</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2025-06-28T20:05:16Z</dc:date>
    </item>
  </channel>
</rss>

