Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need some guidence related to Kubernetes monitoring


Hi Team, 
I need the logic where i can  create an alert in Dynatrace for when the pod count of any workload within a specific namespace is zero,. So, Need some guidance on the query


DynaMight Guru
DynaMight Guru

You can use the builtin metric "builtin:kubernetes.pods",

Then use the Metric Event to create a rule based on your needs, filtering by namespace dimension,

image (21).png


Site Reliability Engineer @ Kyndryl

DynaMight Leader
DynaMight Leader

Hi @Tek_nayak,

I do not know what is the purpose of your request to count the pods. Sorry if I missunderstood you. Maybe you can use this in built anomaly detection rule.


Best regards,


Dynatrace Community RockStar 2024, Certified Dynatrace Professional

That's even smarter!!

Site Reliability Engineer @ Kyndryl

The goal is to trigger the alert when any of the pods becomes zero for any of the workload with in  the name space ....I have the same alert rule in grafana ...I need to migrate same logic over dynatrace 

Dynatrace Champion
Dynatrace Champion

Abraham Maslow's law: “If the only tool you have is a hammer, you tend to see every problem as a nail.” 🙂
Don't try to replicate the logic if you have different tools.

Try to understand what pain point you are trying to solve and use what you have in Dynatrace.

Featured Posts