diff --git a/HOOKS.md b/HOOKS.md new file mode 100644 index 0000000..6a66936 --- /dev/null +++ b/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: +} +``` + +`status` field can be one of: +- `alert` +- `OK`