prometheus, alertmanager: Re-add descriptions

This commit is contained in:
SebastianStork 2026-03-10 22:29:02 +01:00
parent 5a346cd856
commit 2aacfb2689
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
2 changed files with 14 additions and 3 deletions

View file

@ -83,7 +83,10 @@ in
notification = {
topic = "splitleaf";
priority = "default";
templates.title = ''{{ if eq .Status "firing" }}{{ index .Annotations "summary" }}{{ else }}{{ index .Annotations "summary_resolved" }}{{ end }}'';
templates = {
title = ''{{ if eq .Status "firing" }}{{ index .Annotations "summary" }}{{ else }}{{ index .Annotations "summary_resolved" }}{{ end }}'';
description = ''{{ if eq .Status "firing" }}{{ index .Annotations "description" }}{{ else }}{{ index .Annotations "description_resolved" }}{{ end }}'';
};
tags = [
{
condition = ''status == "resolved"'';