Can Grafana send me alert when last 3 times value was same

I am working on getting alerts from grafana from rabbitmq metrices when messages are stuck in queue for past 3 hours.

Condition: If i check at 10:00 PM and queue value is 5, after one hour (at 11:00 PM) value is still 5, at 12:00 AM , the value is again 5.

This should send alert after analysing no change in value for past 3 hours. (count = 3)

Thanks in advance