From 3d532d04a65173da111c7848c3f4c36d67031a52 Mon Sep 17 00:00:00 2001 From: Jason Wells Date: Sun, 7 May 2023 23:26:54 -0700 Subject: [PATCH] add Fingerprint field to Alert so that it may be used in templates (#152) Signed-off-by: Jason Wells --- pkg/alertmanager/alertmanager.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/alertmanager/alertmanager.go b/pkg/alertmanager/alertmanager.go index 55217f9..0860764 100644 --- a/pkg/alertmanager/alertmanager.go +++ b/pkg/alertmanager/alertmanager.go @@ -138,6 +138,7 @@ type Alert struct { StartsAt time.Time `json:"startsAt"` EndsAt time.Time `json:"endsAt"` GeneratorURL string `json:"generatorURL"` + Fingerprint string `json:"fingerprint"` } // Alerts is a list of Alert objects.