mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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