feat(alerting): add support to keep last state on no data

closes #6332
This commit is contained in:
bergquist
2016-10-21 14:00:20 +02:00
parent 96008c9738
commit ad56f67ad1
4 changed files with 41 additions and 58 deletions

View File

@@ -15,6 +15,8 @@ const (
AlertStatePaused AlertStateType = "paused"
AlertStateAlerting AlertStateType = "alerting"
AlertStateOK AlertStateType = "ok"
KeepLastAlertState AlertStateType = "keep_last"
)
func (s AlertStateType) IsValid() bool {