How to get which query metric went into [OK] state?

What Grafana version and what operating system are you using?
v7.5.4

What happened?
I am trying to push a notification having information of which query metric came back to [OK] state to a communication channel(say slack, MS teams) from an [Alerting] state.

What did you expect to happen?
I expected like in [Alerting] state, it has which query metric has gone into alerting state. When we go into the [OK] state we should be able to see which query metric is back to normal.

How can this be achieved?

Thanks you in advance :slight_smile: