This restores the FromAlert header to prometheus for Grafana managed alert Queries. It does this by reverting "Prometheus: Remove middleware for custom headers (#51518)" , but also changing it so it is only the FromAlert header. This reverts commit2372501368. (cherry picked from commit27288276a2) Co-authored-by: Kyle Brandt <kyle@grafana.com>