<?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: Show Container name on Kubernetes container restart alerts/problem cards in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/257973#M4934</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/61893"&gt;@gurugogi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Have you tride this metric experession in the metric event?&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_1-1727953158201.png" style="width: 800px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23166i7143C047BA3D5DB6/image-dimensions/800x38?v=v2" width="800" height="38" role="button" title="Mizs_1-1727953158201.png" alt="Mizs_1-1727953158201.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then you can use the container dimension in the metric event:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_2-1727953254102.png" style="width: 650px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23167i97BFB4BA2C7FCB06/image-dimensions/650x406?v=v2" width="650" height="406" role="button" title="Mizs_2-1727953254102.png" alt="Mizs_2-1727953254102.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 11:01:19 GMT</pubDate>
    <dc:creator>Mizső</dc:creator>
    <dc:date>2024-10-03T11:01:19Z</dc:date>
    <item>
      <title>Show Container name on Kubernetes container restart alerts/problem cards</title>
      <link>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/256202#M4858</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have enabled alerting for container restart at anomaly detection-&amp;gt; Workload, it is creating alerts/Problem card when any container gets restarted,&amp;nbsp; it is printing workload name in alerts but I want the particular container name to be printed in alerts (container name which got restarted.).&lt;BR /&gt;&lt;BR /&gt;I tried with custom alerts(metric events), auto-tags etc looks like its not working, please guide if anyone has implemented this by modifying message body in mail alerts/slack alerts etc.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Guru Gogi&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 07:26:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/256202#M4858</guid>
      <dc:creator>gurugogi</dc:creator>
      <dc:date>2024-09-25T07:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Show Container name on Kubernetes container restart alerts/problem cards</title>
      <link>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/257964#M4930</link>
      <description>&lt;P&gt;anyone tried ?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 10:45:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/257964#M4930</guid>
      <dc:creator>gurugogi</dc:creator>
      <dc:date>2024-10-03T10:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Show Container name on Kubernetes container restart alerts/problem cards</title>
      <link>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/257973#M4934</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/61893"&gt;@gurugogi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Have you tride this metric experession in the metric event?&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_1-1727953158201.png" style="width: 800px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23166i7143C047BA3D5DB6/image-dimensions/800x38?v=v2" width="800" height="38" role="button" title="Mizs_1-1727953158201.png" alt="Mizs_1-1727953158201.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then you can use the container dimension in the metric event:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_2-1727953254102.png" style="width: 650px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23167i97BFB4BA2C7FCB06/image-dimensions/650x406?v=v2" width="650" height="406" role="button" title="Mizs_2-1727953254102.png" alt="Mizs_2-1727953254102.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 11:01:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/257973#M4934</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2024-10-03T11:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Show Container name on Kubernetes container restart alerts/problem cards</title>
      <link>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/257975#M4936</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/47783"&gt;@Mizső&lt;/a&gt;&amp;nbsp; thanks for reply.&lt;BR /&gt;I tried below expression and its triggering alerts for container restarts.&lt;BR /&gt;builtin:kubernetes.container.restarts&lt;BR /&gt;:splitBy("k8s.container.name","k8s.pod.name","k8s.cluster.name","k8s.namespace.name")&lt;BR /&gt;:count:sort(value(avg,descending))&lt;BR /&gt;&lt;BR /&gt;I have not sleeted any MZ for this metric event so it is creating Problems in default alerting profile but I want the Problems to be grouped under specific alerting profiles tagged to specific&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 11:34:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/257975#M4936</guid>
      <dc:creator>gurugogi</dc:creator>
      <dc:date>2024-10-03T11:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show Container name on Kubernetes container restart alerts/problem cards</title>
      <link>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/257976#M4937</link>
      <description>&lt;P&gt;I want to use this single "Metric event" for all k8s clusters alerting, particularly we use slack notifications, so I want some particular container restart should be grouped under that particular alerting profile.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 11:36:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/257976#M4937</guid>
      <dc:creator>gurugogi</dc:creator>
      <dc:date>2024-10-03T11:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Show Container name on Kubernetes container restart alerts/problem cards</title>
      <link>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/257978#M4938</link>
      <description>&lt;P&gt;Only option is to create "Metric event"/"Custom alert" for each K8S cluster and MZ filter ?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 11:45:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/257978#M4938</guid>
      <dc:creator>gurugogi</dc:creator>
      <dc:date>2024-10-03T11:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Show Container name on Kubernetes container restart alerts/problem cards</title>
      <link>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/258595#M4971</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/61893"&gt;@gurugogi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;let's agree that to get notified &amp;gt; problem alerting profile should be Created and hence &amp;gt; Management zone rules should be configured and customized to include all related entities.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;The point here is to ensure the &lt;STRONG&gt;K8s configured management zone&lt;/STRONG&gt; contains all K8s related entities and then you can easily create metrics and receive alerts upon the specified conditions.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;For the K8s related anomaly detections, feel free to customize it as per the K8s admin inputs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-10-08_16h48_35.png" style="width: 355px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23434i9CBAA4A9AFDFB373/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-10-08_16h48_35.png" alt="2024-10-08_16h48_35.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-10-08_16h50_50.png" style="width: 950px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23435i67E5ADCEFA842AC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-10-08_16h50_50.png" alt="2024-10-08_16h50_50.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-10-08_16h51_34.png" style="width: 909px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23436iBDF352D045A95BA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-10-08_16h51_34.png" alt="2024-10-08_16h51_34.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-10-08_16h51_47.png" style="width: 950px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23437iF6089E99B225AFB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-10-08_16h51_47.png" alt="2024-10-08_16h51_47.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-10-08_16h53_45.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23438iCEDB2B949B6A65CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-10-08_16h53_45.png" alt="2024-10-08_16h53_45.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-10-08_16h54_02.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23439i99F6B9648733CA8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-10-08_16h54_02.png" alt="2024-10-08_16h54_02.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 12:55:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/258595#M4971</guid>
      <dc:creator>Peter_Youssef</dc:creator>
      <dc:date>2024-10-08T12:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Show Container name on Kubernetes container restart alerts/problem cards</title>
      <link>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/265750#M5284</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/61893"&gt;@gurugogi&lt;/a&gt;! Did you manage to solve this one? &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 09:57:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/265750#M5284</guid>
      <dc:creator>GosiaMurawska</dc:creator>
      <dc:date>2024-12-19T09:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Show Container name on Kubernetes container restart alerts/problem cards</title>
      <link>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/265760#M5288</link>
      <description>&lt;P&gt;Hi Gosia,&lt;/P&gt;&lt;P&gt;Yes I solved it through metric expression&lt;BR /&gt;&lt;BR /&gt;Expression:&lt;BR /&gt;builtin:kubernetes.container.restarts&lt;BR /&gt;:filter(and(eq("k8s.cluster.name","cluster-name"),eq("k8s.namespace.name","ns")))&lt;BR /&gt;:splitBy("k8s.cluster.name","k8s.pod.name","k8s.container.name","k8s.namespace.name")&lt;BR /&gt;:sort(value(auto,descending))&lt;BR /&gt;&lt;BR /&gt;Used above expression in Metric events(custom alert)&lt;BR /&gt;Descrption:&lt;BR /&gt;container Name:{dims:k8s.pod.name}-{dims:k8s.container.name}&lt;BR /&gt;Cluster Name:{dims:k8s.cluster.name}&lt;BR /&gt;Namespace:{dims:k8s.namespace.name}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 10:49:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Show-Container-name-on-Kubernetes-container-restart-alerts/m-p/265760#M5288</guid>
      <dc:creator>gurugogi</dc:creator>
      <dc:date>2024-12-19T10:49:33Z</dc:date>
    </item>
  </channel>
</rss>

