Skip to content

Commit

Permalink
fix: update default template
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Wojtczak committed Jan 1, 2023
1 parent 054f50b commit 455d6ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.0
1.3.1
6 changes: 3 additions & 3 deletions description-template.tpl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{- if .Alerts -}}
{{- range $severity, $alerts := (groupAlertsByLabel .Alerts "severity") -}}
Status: {{ $severity }}

{{ len .Alerts }}/{{ len .DeclaredAlerts }} are firing:

{{ range $severity, $alerts := (groupAlertsByLabel .Alerts "severity") -}}
Status: {{ $severity }}

{{- range $index, $alert := $alerts }}
- Alert: {{ $alert.Labels.alertname }}
Summary: {{ $alert.Annotations.summary }}
Expand Down

0 comments on commit 455d6ca

Please sign in to comment.