Commit Graph

6 Commits

Author SHA1 Message Date
d005129afe Add tracking and formatting for last success in alerts
Relates to #2
2018-04-13 22:02:09 -07:00
c84c80b5c7 Use shorter check to account for varying distro errors 2018-04-11 10:11:51 -07:00
0b0636b701 Add formatting for failure_count and alert_count
Fixes #3
2018-04-10 21:58:01 -07:00
fdc13d437d Improve logging such that a test can be written for an alert 2018-04-10 11:06:42 -07:00
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
5edc2410ea Add tox, pre-commit and dummy test. 2018-04-09 10:44:30 -07:00