Commit Graph

5 Commits

Author SHA1 Message Date
IamTheFij c84c80b5c7 Use shorter check to account for varying distro errors 2018-04-11 10:11:51 -07:00
IamTheFij 0b0636b701 Add formatting for failure_count and alert_count
Fixes #3
2018-04-10 21:58:01 -07:00
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 5edc2410ea Add tox, pre-commit and dummy test. 2018-04-09 10:44:30 -07:00