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

Alert if Kubernetes daily cronjob fails

sivart_89
Mentor

Is there a way to alert if a k8s cronjob fails? This cronjob runs once a day, if it fails we would like to have an alert. Is there an ootb metric for this type of alerting?

1 REPLY 1

Mizső
DynaMight Guru
DynaMight Guru

Hi @sivart_89,

If you have Kubernetes API integration:

Kubernetes API Monitoring - Dynatrace Docs

Have you tried or tested this built in anomaly detection setting?

Mizs_0-1710538660745.png

or with this metric (or metric expression) you can create a metric event for alerting:

Mizs_3-1710540901526.png

 

Mizs_2-1710540471159.png

I hope it helps.

Best regards,

Mizső

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Featured Posts