Commit Graph

23 Commits

Author SHA1 Message Date
3c14a02770 Continue checking all monitors after sending alert
Previously this was mistakenly returning after sending an alert. Now
all alerts will be sent unless there is an exception on one of them.
2021-09-02 10:20:04 -07:00
328ea83c25 Some linting cleanup 2021-09-02 10:19:03 -07:00
860c2cdf43 Add custom type to parse out seconds as int and durations as strings
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-12 10:33:42 -07:00
bdf7355fa7 Add duration parsing for intervals 2021-05-11 10:41:39 -07:00
befea7375f Add check runtime metric
Some checks failed
continuous-integration/drone/push Build is failing
2021-05-11 10:41:39 -07:00
5f250f17a8 Add more liniting and update to pass 2021-05-10 21:53:26 -07:00
fda9e1bfc3 Replace log with slog 2021-05-10 21:53:26 -07:00
aad9eaa32f Update exported status metric to properly reflect alerting status of a monitor
Some checks failed
continuous-integration/drone/push Build is failing
It was using the result of the individual check and not the monitor as a whole
2020-07-14 17:09:56 -07:00
ae30f477f7 Add ability to customize metrics port 2020-02-19 22:13:07 -08:00
00029a6327 Make Python compatability a flag
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-19 17:38:07 -08:00
eb7ad0b25e Allow specifying config path as an argument 2020-02-19 17:37:53 -08:00
457e19af9b Add prometheus metrics exporter
This should add metrics parity to the Python version
2019-11-15 17:14:20 -08:00
351216c3a7 Add more config validation
Validates that all alerts are actually found in the alert list
2019-10-07 10:48:19 -07:00
6b9edf75d7 Move panics up to main function 2019-10-04 16:17:36 -07:00
1ad5bcef14 Add flag to print version 2019-10-04 16:17:20 -07:00
ac8ab9ef43 Add debug flag to adjust log verbosity a bit
Not as good as a proper logging system, but still provids a bit of
control over log verbosity
2019-10-04 16:05:25 -07:00
f99ee9891e Add some test cases to cover main
These don't include any asserts, but they do check panics
2019-10-04 15:46:49 -07:00
6aaeeb32d4 Refactor a bit more for testing, update tests 2019-10-04 14:47:38 -07:00
5c5388d683 Add some config tests
Still some more to add
2019-10-03 18:16:03 -07:00
71574dd8a9 Add alert tests 2019-10-03 16:30:49 -07:00
ba33071070 Clean up code and update docs 2019-10-02 16:09:11 -07:00
7b746ed62a Commands all running 2019-10-02 09:37:29 -07:00
342b12432e WIP 2019-09-21 15:03:26 -07:00