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

Need some guidence related to Kubernetes monitoring

Tek_nayak
Newcomer_

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

5 REPLIES 5

dannemca
DynaMight Guru
DynaMight Guru

You can use the builtin metric "builtin:kubernetes.pods", https://docs.dynatrace.com/docs/observe-and-explore/metrics/built-in-metrics#other-kubernetes-metric...

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

https://docs.dynatrace.com/docs/shortlink/metric-events

image (21).png

 

Site Reliability Engineer @ Kyndryl

Mizső
DynaMight Guru
DynaMight Guru

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.

Mizs_0-1708980157949.png

Best regards,

Mizső

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 

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