Commit Graph

32 Commits

Author SHA1 Message Date
Ian Fijolek
c770da4d12 Try to cache go modules 2019-11-21 15:36:30 -08:00
Ian Fijolek
9b9f803231 Add pre-commit to the repo
This adds pre-commit which can be used to enforce consistent style
and common errors (like committing large files)
2019-11-21 15:32:57 -08:00
Ian Fijolek
b808df7365 Update README to indicate where to get alert template info 2019-11-20 17:21:48 -08:00
Ian Fijolek
b1422bbec2 Add split out metrics to a new make target
In case trying to run without having an available port to
serve http on
2019-11-15 17:36:10 -08:00
Ian Fijolek
604c27118a Add Docker deploy pipeline 2019-11-15 17:30:29 -08:00
Ian Fijolek
b2d9882c91 Update readme with accurate To do status 2019-11-15 17:17:46 -08:00
Ian Fijolek
457e19af9b Add prometheus metrics exporter
This should add metrics parity to the Python version
2019-11-15 17:14:20 -08:00
Ian Fijolek
1f6193e486 First go at Docker builds 2019-10-10 17:20:42 -07:00
Ian Fijolek
05c0e18c37 Update test to be less environment dependent 2019-10-07 15:53:41 -07:00
Ian Fijolek
971710df84 Add a build step to drone pipeline 2019-10-07 15:02:13 -07:00
Ian Fijolek
ba2bb86be6 Add drone build 2019-10-07 14:59:39 -07:00
Ian Fijolek
e3da2e4f80 Update make targets to require min test coverage 2019-10-07 14:58:21 -07:00
Ian Fijolek
351216c3a7 Add more config validation
Validates that all alerts are actually found in the alert list
2019-10-07 10:48:19 -07:00
Ian Fijolek
1b07059825 Make AlertDown required for a Monitor 2019-10-04 16:23:48 -07:00
Ian Fijolek
6b9edf75d7 Move panics up to main function 2019-10-04 16:17:36 -07:00
Ian Fijolek
1ad5bcef14 Add flag to print version 2019-10-04 16:17:20 -07:00
Ian Fijolek
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
Ian Fijolek
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
Ian Fijolek
6aaeeb32d4 Refactor a bit more for testing, update tests 2019-10-04 14:47:38 -07:00
Ian Fijolek
5c5388d683 Add some config tests
Still some more to add
2019-10-03 18:16:03 -07:00
Ian Fijolek
71574dd8a9 Add alert tests 2019-10-03 16:30:49 -07:00
Ian Fijolek
68ee048b76 Add mod and Makefile to speed development 2019-10-03 12:56:03 -07:00
Ian Fijolek
88b718cb59 Update readme syntax 2019-10-03 09:22:43 -07:00
Ian Fijolek
644d6bbc05 Complete all Monitor tests 2019-10-03 09:22:13 -07:00
Ian Fijolek
1280fbb7bd Update to fix issues with AlertAfter. Disallow 0 2019-10-02 20:52:57 -07:00
Ian Fijolek
67d738a33c WIP: Add tests for monitor 2019-10-02 20:52:34 -07:00
Ian Fijolek
061b0c980a WIP: Building tests, figuring out what I want AlertAfter to do 2019-10-02 18:01:55 -07:00
Ian Fijolek
ba33071070 Clean up code and update docs 2019-10-02 16:09:11 -07:00
Ian Fijolek
7b746ed62a Commands all running 2019-10-02 09:37:29 -07:00
Ian Fijolek
dd0b8e3f38 Added ability to run commands in a shell
Diverges a small amount from the Python version for this.
2019-10-01 08:26:07 -07:00
Ian Fijolek
342b12432e WIP 2019-09-21 15:03:26 -07:00
IamTheFij
0aa0fef19d Initial commit 2019-09-21 22:01:12 +00:00