Commit Graph

10 Commits

Author SHA1 Message Date
IamTheFij fdc13d437d Improve logging such that a test can be written for an alert 2018-04-10 11:06:42 -07:00
IamTheFij 3ccd76dd75 Fix issue with alerting on first alert
An issue with the failure function caused the first alert after reaching
the minimum `alert_after` threshold to not notify unless using
exponential backoff.

New tests were added to reproduce the error and then it was fixed.

Fixes #2
2018-04-09 17:09:21 -07:00
IamTheFij fce47ba2c7 Run pre-commit to clean files 2018-04-09 12:08:42 -07:00
IamTheFij 9bbc452ee9 Add exponential backoff 2018-02-17 20:45:37 -08:00
IamTheFij adcd659316 Switch to python logging 2018-02-16 10:03:12 -08:00
IamTheFij b4dfa8d835 Switch to setup.py 2018-02-16 09:48:26 -08:00
IamTheFij 202ca73e96 MVP! 2018-02-15 18:10:19 -08:00
IamTheFij e34fa38d51 Add comment for alert every 2018-02-14 17:55:29 -08:00
IamTheFij 636ad103a3 Add run loop and interval 2018-02-14 17:54:42 -08:00
IamTheFij 2b5856ee30 initial commit poc 2018-02-14 15:37:15 -08:00