Browse Source

Create HOOKS.md

pull/1/head
Alexey Velikiy 6 years ago committed by GitHub
parent
commit
5cbbda1d51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      HOOKS.md

16
HOOKS.md

@ -0,0 +1,16 @@
# Anomaly hooks
- HASTIC_ALERT_ENDPOINT - (optional) endpoint you want to send alerts to
Alert example (method: POST):
```
{
anomaly: 'cpu_load',
status: <str>
}
```
`status` field can be one of:
- `alert`
- `OK`
Loading…
Cancel
Save