How to pipeline alerting from some metric?

i want to make some flow alerting based on some panel metric.
is it possible?