grafana / oncall

Developer-friendly incident response with brilliant Slack integration
GNU Affero General Public License v3.0
3.5k stars 288 forks source link

Customizable "Go to the alert group" URL for Grafana OnCall #4435

Open DT-NIKOLAR opened 5 months ago

DT-NIKOLAR commented 5 months ago

What would you like to see!

Issue

We are encountering an issue with the "Go to the alert group" URL in Grafana OnCall email notifications.

The URL currently points to an internal IP, which is derived from the GRAFANA_API_URL environment variable. Since we run Grafana OnCall in a Docker Compose environment, this URL correctly uses the internal IP for internal communication between the OnCall container and the Grafana instance.

Additionally, I attempted to locate and modify the "Go to the alert group" URL within the notification templates but was unable to find a relevant configuration option.

Feature Request:

To address this issue, it would be highly beneficial to introduce an option to customize the "Go to the alert group" hyperlink through the email template configuration.

Thank you in advance!

Product Area

Alert Flow & Configuration

Anything else to add?

Grafana Version 10.2.3 OnCall Version: 1.5.4

github-actions[bot] commented 5 months ago

The current version of Grafana OnCall, at the time this issue was opened, is v1.5.4. If your issue pertains to an older version of Grafana OnCall, please be sure to list it in the PR description. Thank you :smile:!