diff options
Diffstat (limited to 'app/views/notify/prometheus_alert_fired_email.text.erb')
-rw-r--r-- | app/views/notify/prometheus_alert_fired_email.text.erb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/views/notify/prometheus_alert_fired_email.text.erb b/app/views/notify/prometheus_alert_fired_email.text.erb new file mode 100644 index 00000000000..c3f005cfb7e --- /dev/null +++ b/app/views/notify/prometheus_alert_fired_email.text.erb @@ -0,0 +1,21 @@ +<%= _('An alert has been triggered in %{project_path}.') % { project_path: @alert.project_full_path } %>. + +<% if description = @alert.description %> +<%= _('Description:') %> <%= description %> +<% end %> + +<% if env_name = @alert.environment_name %> +<%= _('Environment:') %> <%= env_name %> +<% end %> + +<% if metric_query = @alert.metric_query %> +<%= _('Metric:') %> <%= metric_query %> +<% end %> + +<% if @alert.show_incident_issues_link? %> +<%= _('View incident issues.') %> <%= @alert.incident_issues_link %> +<% end %> + +<% if @alert.show_performance_dashboard_link? %> +<%= _('View the performance dashboard at') %> <%= @alert.performance_dashboard_link %> +<% end %> |