Alerting: Migrate paused alerts to silences (#34898)
* Alerting: Migrate paused alerts to silences Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com> * Fix lint Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
This commit is contained in:
@@ -14,6 +14,7 @@ type dashAlert struct {
|
||||
Message string
|
||||
Frequency int64
|
||||
For time.Duration
|
||||
State string
|
||||
|
||||
Settings json.RawMessage
|
||||
ParsedSettings *dashAlertSettings
|
||||
@@ -30,6 +31,7 @@ SELECT id,
|
||||
message,
|
||||
frequency,
|
||||
for,
|
||||
state,
|
||||
settings
|
||||
FROM
|
||||
alert
|
||||
|
||||
Reference in New Issue
Block a user