add useful note to alerting api docs

This commit is contained in:
Stuart McLean
2018-05-14 20:50:44 +02:00
parent 2dd40eb4e4
commit 295169b94f
+7
View File
@@ -117,6 +117,13 @@ Content-Type: application/json
}
```
**Important Note**:
"evalMatches" data is cached in the db when and only when the state of the alert changes
(e.g. transitioning from "ok" to "alerting" state).
If data from one server triggers the alert first and, before that server is seen leaving alerting state,
a second server also enters a state that would trigger the alert, the second server will not be visible in "evalMatches" data.
## Pause alert
`POST /api/alerts/:id/pause`