From 5df44def813b5e166847fa29d98c562ded3dabe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Mon, 1 May 2017 18:43:03 +0100 Subject: [PATCH] Add new attrs for tracking alert status and linking silences / inhibiting alerts Those will replace Inhibited and Silenced --- models/models.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models/models.go b/models/models.go index 2efbd68c3..1d4f1ff69 100644 --- a/models/models.go +++ b/models/models.go @@ -35,6 +35,9 @@ type Alert struct { StartsAt time.Time `json:"startsAt"` EndsAt time.Time `json:"endsAt"` GeneratorURL string `json:"generatorURL"` + Status string `json:"Status"` + SilencedBy []string `json:"silencedBy"` + InhibitedBy []string `json:"inhibitedBy"` Inhibited bool `json:"inhibited"` Silenced string `json:"silenced"` // unsee fields