Commit Graph

17 Commits

Author SHA1 Message Date
IamTheFij fda9e1bfc3 Replace log with slog 2021-05-10 21:53:26 -07:00
IamTheFij aad9eaa32f Update exported status metric to properly reflect alerting status of a monitor
continuous-integration/drone/push Build is failing Details
It was using the result of the individual check and not the monitor as a whole
2020-07-14 17:09:56 -07:00
IamTheFij ae30f477f7 Add ability to customize metrics port 2020-02-19 22:13:07 -08:00
IamTheFij 00029a6327 Make Python compatability a flag
continuous-integration/drone/push Build is passing Details
2020-02-19 17:38:07 -08:00
IamTheFij eb7ad0b25e Allow specifying config path as an argument 2020-02-19 17:37:53 -08:00
IamTheFij 457e19af9b Add prometheus metrics exporter
This should add metrics parity to the Python version
2019-11-15 17:14:20 -08:00
IamTheFij 351216c3a7 Add more config validation
Validates that all alerts are actually found in the alert list
2019-10-07 10:48:19 -07:00
IamTheFij 6b9edf75d7 Move panics up to main function 2019-10-04 16:17:36 -07:00
IamTheFij 1ad5bcef14 Add flag to print version 2019-10-04 16:17:20 -07:00
IamTheFij 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
IamTheFij 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
IamTheFij 6aaeeb32d4 Refactor a bit more for testing, update tests 2019-10-04 14:47:38 -07:00
IamTheFij 5c5388d683 Add some config tests
Still some more to add
2019-10-03 18:16:03 -07:00
IamTheFij 71574dd8a9 Add alert tests 2019-10-03 16:30:49 -07:00
IamTheFij ba33071070 Clean up code and update docs 2019-10-02 16:09:11 -07:00
IamTheFij 7b746ed62a Commands all running 2019-10-02 09:37:29 -07:00
IamTheFij 342b12432e WIP 2019-09-21 15:03:26 -07:00