prometheus, alertmanager: Improve alerts

This commit is contained in:
SebastianStork 2026-03-03 16:47:32 +01:00
parent e728fe43bb
commit 36f24bdd30
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
2 changed files with 15 additions and 1 deletions

View file

@ -75,6 +75,20 @@ in
notification = {
topic = "splitleaf";
priority = "default";
templates = {
title = ''{{ index .Annotations "summary" }}'';
description = "";
};
tags = [
{
condition = ''status == "resolved"'';
tag = "white_check_mark";
}
{
condition = ''status == "firing"'';
tag = "rotating_light";
}
];
};
};
};