PromQL to measure total runtime of GKE workload within current month
I have been trying to setup alert whenever a workload is running for too long in Google Monitoring but because there is a limitation of 24h (actually 23h30 minutes) that GCP can look back, this is not possible directly.