mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-23 00:39:07 +01:00
prometheus, alertmanager: Re-add descriptions
This commit is contained in:
parent
5a346cd856
commit
2aacfb2689
2 changed files with 14 additions and 3 deletions
|
|
@ -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"'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue