i use test rule . It works well .
but after pending status changed to ok and not send any thing.
Your “4m” in the for field translates to “I need the one minute sum of query A to be over 3 for four minutes - Ill check this every 30 seconds”
That is what pending means - it has breached the threshold - but hasnt been breached for long enough to throw an alert.