03 Mar 2023
01:46 AM
- last edited on
06 Mar 2023
12: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!
Hi @YuvalKonstanti you can also setup event filters for your pods events.
ie:
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.
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!
Regarding your original question - skimming over your screenshots I have some ideas:
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!