29 Aug 2024 11:00 AM - last edited on 25 Sep 2024 08:49 AM by Michal_Gebacki
Hi Team,
please let me know whether DT by default creates problem card for events of type "Stopping container".
dt.event.title Stopping container <container-name>
dt.kubernetes.event.message Stopping container <container-name>
I changed thresholds to 1 in 1min "Detect workloads without ready pods" and "Detect workloads with non-ready pods" but still no problem card got created when deployment was deleted manually and we got "dt.event.title Stopping container <container-name>" events.
Regards,
Guru Gogi
Solved! Go to Solution.
29 Aug 2024 12:03 PM
Hi @gurugogi ,
Maybe this solution also could help. Prerequisite Kubernetes API integration.
Check your settings, which event types are collected:
Create a metric expression for your specific Kubenetes event, this example use the Killing event:
Create a metric event with the metric expession:
builtin:kubernetes.events:filter(and(or(eq("k8s.event.reason",Killing)))):splitBy("dt.entity.cloud_application_namespace","dt.entity.cloud_application","k8s.event.reason","k8s.pod.name"):sort(value(auto,descending))
You can enrich the description:
I hope it helps.
Best regards,
Mizső