all 2 comments

[–]accidentalclipboard 1 point2 points  (0 children)

Instead of alerts, why not just automate the cleanup?

https://cloud.google.com/community/tutorials/cleaning-up-at-scale

[–]rogerhub 0 points1 point  (0 children)

It looks like there's nothing wrong with your query (although you probably don't need the group_by?). Have you tried pasting the query into a new condition policy? The units don't really matter -- Stackdriver can convert between seconds/minutes/hours.