Hi,
For example:
Values from alert:
[ var=‘B0’ metric=‘{app=“formulario-24-ms”}’ labels={app=formulario-24-ms} value=1 ]
Message with go template (in spanish):
Logs con presencia de ERROR logging level, revise por posibles errores. Detalle:
{{ with $values }}
{{ range $k, $v := . }}
App: {{$v.Labels.app}}
Errores por minuto: {{ $v }}
{{ end }}
{{ end }}
Warning: labels with dot give a lot of problems.
Suerte!