Currently, when the alert comes from the metricsinfra prometheus (called 'cloud'), it uses a path prefix '/cloud' to
the alerts, and that does not work.
Removing that path prefix shows the thanos query correctly.
This task is to either remove the '/cloud' from the links shown, or make it work with them.
Example of non-working url:
https://prometheus.wmcloud.org/cloud/graph?g0.expr=puppet_agent_resources_total+%3D%3D+0&g0.tab=1
There's though other prometehus urls that should keep working, for example, if the alert comes from the 'tools'
prometheus instance it will have the '/tools' path: