Hi @Uday Kasula
The aggregation you're using is Average. One possible reason your alert isn't firing as expected is if your message count is fluctuating too frequently for the alert to fire, where the average is higher (or lower) than the actual count at any given time.
Try changing your aggregation type to total. This will trigger your alert at any given time your message count is above the desired threshold.