Commit Graph

58 Commits

Author SHA1 Message Date
0ea55fa7b3 Add docker check example
Some checks failed
continuous-integration/drone/push Build is failing
2019-05-31 16:43:14 -07:00
6d93aed7f1 Add example exporting metrics to Prometheus 2019-05-31 16:43:14 -07:00
5783190f58 Add new scripts for checking status of Docker services
These are bundled within the Docker image to make it possible to alert
on status of other Docker containers.

Will potentially include other sets of "standard" scripts for
convenience sake.
2019-05-31 16:43:14 -07:00
7ea24b8a89 Simplify sample config to work around bug in yamlenv
All checks were successful
continuous-integration/drone/push Build is passing
It looks like yamlenv doesn't parse quite correctly and seems to think
the `:` removed in this diff is defining a new object.

I believe it has something to do with a change in yamlenv 0.6.0 to allow
interpolating env variables as yaml literals.

dcb1223159
2019-03-10 16:19:26 -07:00
58b7cd2843 Bump version to v0.3.1 2018-10-29 12:34:39 -07:00
30a55b4ab2 Fix metrics exporting
Metrics got broken when counters were moved to be initialized below the monitor creation
2018-10-29 11:58:14 -07:00
c7081a0d32 Add a simple integration test 2018-07-15 19:12:04 -07:00
0c0a0d9085 Add new Prometheus metrics endpoint
Doubles as a health check endpoint!

Change some methods to private and rearrange them
2018-07-15 19:12:04 -07:00
4f147b2e59 Clean up sample-config.yml 2018-07-15 17:30:22 -07:00
25121bc3a0 Change warn to warning 2018-07-15 17:05:20 -07:00
e20e75b2bf Bump version to v0.2.1 2018-04-18 21:52:12 -07:00
713abaa736 Fixed bug that was introduced after adding new alert types
This is why I need integration tests...
2018-04-18 21:51:39 -07:00
26b17a4019 Use SOMETAG rather than from git, if available 2018-04-18 17:36:39 -07:00
b8d86917e1 Bump version to v0.2.0 2018-04-18 17:17:12 -07:00
16be263093 Add the ability to include last command output in the alert
Update readme to document the new templating vars
2018-04-18 17:16:26 -07:00
34c5ab47ff Add notify step to Drone builds 2018-04-18 10:14:29 -07:00
e68e3e10a0 Bump version and tell Drone to deploy 2018-04-18 09:57:36 -07:00
01905c895e Merge branch 'dockerfile' 2018-04-18 09:52:12 -07:00
f4952b61d1 Update Dockerfile to build the current working copy
This will allow `latest` to be `master` and allow git tags to dictate
tagged versions on Docker.

Also update readme to describe how it's now building
2018-04-18 09:51:32 -07:00
Kevin Eaton
dd938835c8 Added basic docker support 2018-04-17 20:33:27 -07:00
aad28976e2 Add alerting for recovered monitors
Based on the idea from SeaLife, adds alerts for when a monitor comes out
of an alerting down state. Also includes a bunch of unit tests to cover
the new code.
2018-04-14 17:27:37 -07:00
4fe8020a77 Allow opening coverage report on Linux systems too 2018-04-14 17:26:58 -07:00
09fc0f6156 Use new make target for drone 2018-04-13 22:02:46 -07:00
27394535ec Use new make target for travis 2018-04-13 22:02:46 -07:00
c66e15dd4f Speed up builds and add pypi step 2018-04-13 22:02:46 -07:00
d005129afe Add tracking and formatting for last success in alerts
Relates to #2
2018-04-13 22:02:09 -07:00
47a8bdf4a0 Bump version to v0.1.3 2018-04-13 21:39:30 -07:00
c48a5ccd6a Add line break between both repo links in readme 2018-04-13 21:38:40 -07:00
062158e6f1 Add travis build 2018-04-11 14:50:43 -07:00
2c1acab3dc Add a simple Drone build file to test and build 2018-04-11 10:11:51 -07:00
c84c80b5c7 Use shorter check to account for varying distro errors 2018-04-11 10:11:51 -07:00
dcd0c19daf Use full path to tox 2018-04-11 10:11:51 -07:00
9309ab1fd1 Drop virtualenv and use env 2018-04-11 10:06:53 -07:00
0b0636b701 Add formatting for failure_count and alert_count
Fixes #3
2018-04-10 21:58:01 -07:00
eadaf17d91 Add easy viewing of coverage html report 2018-04-10 11:28:09 -07:00
336585d258 Don't include tests in coverage report 2018-04-10 11:09:42 -07:00
fdc13d437d Improve logging such that a test can be written for an alert 2018-04-10 11:06:42 -07:00
6597ef50d8 Add links between repos in README 2018-04-09 17:33:55 -07:00
c2559c04c1 Force tests before building 2018-04-09 17:26:32 -07:00
aba96d015a Bump version to v0.1.2 2018-04-09 17:13:35 -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
fce47ba2c7 Run pre-commit to clean files 2018-04-09 12:08:42 -07:00
5edc2410ea Add tox, pre-commit and dummy test. 2018-04-09 10:44:30 -07:00
f9ed9d6a2a Bump version to v0.1.1 2018-02-17 20:48:46 -08:00
9bbc452ee9 Add exponential backoff 2018-02-17 20:45:37 -08:00
8eb0a836a5 Update readme now that minitor is in pip 2018-02-16 18:13:19 -08:00
9c2b4d9029 Add packaging make targets 2018-02-16 18:09:52 -08:00
a8e651e483 Fix missing , 2018-02-16 17:59:07 -08:00
9fcf69469e Prepare for pypi 2018-02-16 17:49:33 -08:00
adcd659316 Switch to python logging 2018-02-16 10:03:12 -08:00