03 Mar 2023 09:46 AM - last edited on 06 Mar 2023 08:31 AM by MaciejNeumann
Hey Dynatrace Community!
I want to consult with you, regarding a "Metric event" I created.
The purpose: to create an alert, that will be triggered when in our Kubernetes cluster, there are Pods in status pending.
The logic is below:
If you take a look on the image you will see that it seems that the conditions were true for a few occasions, and still no alert was created.
Could you please assist me in understanding if I missed something here?
Thank you!
03 Mar 2023 01:34 PM
Hi @YuvalKonstanti you can also setup event filters for your pods events.
ie:
07 Mar 2023 02:00 PM
Hi @YuvalKonstanti are you aware of the K8s alerts already included in Dynatrace? Please read more here: https://community.dynatrace.com/t5/Feedback-channel/Introducing-easy-alerting-on-common-Kubernetes-p...
Starting with version 1.254, there's also an alert for pending pods.
07 Mar 2023 11:22 PM
Hey,
I believe that you are correct! I do see Dynatrace default problems on this exact issue.
It is still unknown to me, why my custom alert didn't triggered a problem (even though it detect an issue). But for this purpose, I believe Dynatrace does it by default.
Thank you!
09 Mar 2023 04:51 PM - edited 09 Mar 2023 04:52 PM
Regarding your original question - skimming over your screenshots I have some ideas:
28 Mar 2023 10:24 AM
Hey,
1. So firstly, threshold was 5 and I assumed that it is related. I'm guessing that you proposal is correct.
2. That's really interesting! I used "builtin:cloud.kubernetes.workload.pods". How can I know which one is creating an alert and which one isn't?
3. Merging is the option that allow Dynatrace to create "Multiple service problems", isn't it?
Thank you for the answer!