I'm trying to monitor a CronJob running on GKE and I cannot see an easy way of checking if the CronJob is actually running. I want to trigger an alert if the CronJob is not running for more than a X amount of time and Stackdriver does not seem to support that.
At the moment I tried using alerts based on logging metrics but that only serves me to alert in case of an app crash or specific errors not for the platform errors themselves.
I investigated a solution using Prometheus alerts, can that be integrated into Stackdriver?
UPDATE: Just a follow up, ended up developing a simple solution using log based alerts on Stackdriver. If the log doesn't appear after X time then it will trigger an alert. It's not perfect but its ok for the use case i had.