How to identify and label which query triggered the alert

Hello.

I have an alert that has the following two queries:

PromQL Query A:

container_memory_working_set_bytes{pod="kafka-cp-kafka-0", container="cp-kafka-broker", namespace="kafka"}
* 100 / on() group_right()
kube_pod_container_resource_limits{resource="memory", pod="kafka-cp-kafka-0", container="cp-kafka-broker", namespace="kafka"}

PromQL Query B:

container_memory_working_set_bytes{pod="kafka-cp-kafka-1", container="cp-kafka-broker", namespace="kafka"}
* 100 / on() group_right()
kube_pod_container_resource_limits{resource="memory", pod="kafka-cp-kafka-1", container="cp-kafka-broker", namespace="kafka"}

I would like to set my alert to fire when either A > 80% or B > 80%.

How can I set it up so that I can also retrieve which pod fired the alert, and add that information to the alert labels?

Thank you.