update alert api
This commit is contained in:
parent
3aaedf5743
commit
78ad60478c
|
@ -372,6 +372,11 @@ func (alertAPI *AlertAPI) getRuleAlertMessageNumbers(ruleIDs []string) ( map[str
|
|||
"rule_id": ruleIDs,
|
||||
},
|
||||
},
|
||||
{
|
||||
"terms": util.MapStr{
|
||||
"status": []string{alerting.MessageStateAlerting, alerting.MessageStateIgnored},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue