Hi, I'm trying to debug an alert I have set up. It's a pretty low volume service, App Engine standard environment, Python 3.x.
It's supposed to raise an alert any time there's a 500 response or higher on a query. I've occasionally been getting alerts, but then have been unable to find any 5xx errors in the logs.
The alert configuration looks like this:
---
I don't remember why I set the function to "rate" instead of "count", but as far as I can tell it shouldn't make a difference. The threshold is zero, so it should trigger if (and, I would hope, only if) there are any 500x errors
I didn't have the "loading = false" filter when I first set it up (sometime last year), but I got a few random alerts when nothing seemed wrong, and the "loading = false" filter seemed to fix it at the time. I was never clear on why (I assume "loading" means that the request was handled by a new instance that was not yet done booting up when the request came in, or something like that).
It's only in the last couple months, I think, that I've started getting these spurious alerts again.
Am I doing something wrong?