Influx DB Alerting

Is it possible to setup an alert to only send out a notification after a threshold has been exceeded every minute for 5 minutes? I’m running into an issue where a notification is kicked off when a threshold has been exceed for only a few seconds. It would be preferable for the threshold to be checked a few times before automatically kicking off a notification the second it exceeds a threshold. Included is a current screenshot of alert configuration

We use sum but not sure if that works for your case. For example: WHEN sum() OF query(A, 5m, now) IS ABOVE 10240. But a large spike could still cause a flappy alert.

There is an issue for flap detection and an issue for hysteresis. But they are not implemented yet.