Add Source URL attribute to Alerts
It would be useful to have a URL to link back to the source of an alert, a source_url
. This can be an optional attribute to the payload and saved against the Alert model.
For example Grafana provides a ruleUrl
, which will take you back to the Dashboard that is firing the alert. I think this will be important for a lot of users as an Alert firing probably requires investigation of surrounding systems (i.e other Dashboards in Grafana). Being able to navigate quickly to the source will help with this.
Proposal
- If there is a source URL in the payload, display it in its own row in the alert details table. Ensure it is a clickable link.
- Additionally, if a source URL is present, add a button at the top of the alert page linking to the alert source. Clicking the button should open the source in a new tab: