mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
Add new attrs for tracking alert status and linking silences / inhibiting alerts
Those will replace Inhibited and Silenced
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user