Change alert title url from alert lists to panel url

Hello,

I’m using grafana alerting to with the discord webook. There’s a sort of ‘hidden’ link in the alert title which points to the alarm list. Is there any way I can change this? There’s no obivous way to do it in the go template and actually the link seems to be completely independent of the go template, as it’s there regardless of how I configure the contact point template.

I would like to change the link so that it points to the panel instead of the alarm list.

+1, have a similar question but for slack webhook

1 Like

+1, have a similar question for slack webhook

Found a solution, something like this works for me - in the Contact Point settings for Slack, set the Title field as the following
<url|title> where url is the URL you’ll get forwarded when to and title is the display text.

1 Like

Thanks oleksandr5! That works.
I couldn’t find any reference to your solution here. How did you find it out?

I wasn’t able to override the Slack notification Title link. As per this GH issue Alerting: Slack Alert title links to `alerting/list` rather than the alert-rule · Issue #69248 · grafana/grafana · GitHub it doesn’t seem that it’s currently possible to do.

With previous grafana versions, we had Slack alerts pointing to Alert Panel (detail with graph), not sure how to achieve this after upgrade from legacy to ngalert.

Thanks oleksandr5! That works.
I couldn’t find any reference to your solution here . How did you find it out?

Looks like is just Slack syntax for hyperlinks, nothing to do with Grafana. See the first reply here