diff --git a/main.go b/main.go index aaaf857..e05c582 100644 --- a/main.go +++ b/main.go @@ -188,6 +188,7 @@ type notification struct { Annotations map[string]string `json:"annotations"` EndsAt time.Time `json:"endsAt"` GeneratorURL string `json:"generatorURL"` + Fingerprint string `json:"fingerprint"` Labels map[string]string `json:"labels"` StartsAt time.Time `json:"startsAt"` Status string `json:"status"` diff --git a/main_test.go b/main_test.go index 2ea241b..10265e6 100644 --- a/main_test.go +++ b/main_test.go @@ -120,6 +120,7 @@ var amNotification = []byte(`{ }, "endsAt": "0001-01-01T00:00:00Z", "generatorURL": "https://example.com", + "fingerprint": "dd19ae3d4e06ac55", "labels": { "alertname": "Foo_Bar", "instance": "foo"