Luna Mendes
6b82684d5a
adapters: handle 204's on HttpAdapter
...
- adapters: add debug info on ping errors
2018-10-15 19:34:54 -03:00
Luna Mendes
867d7d1e69
elstat.adapters: only log on errors
...
always logging was giving quite the disk usage on prod.
2018-09-25 18:22:11 -03:00
Luna Mendes
9f5d42c89c
add downtime calculation on alerts
...
- add timestamp on alert embeds
- make Alert.post receive the worker instead of service info
2018-09-25 18:16:22 -03:00
Luna Mendes
93630f64ef
adapters: change "error not found" to "packet lost"
2018-09-05 21:23:58 -03:00
Luna Mendes
3437bd2b72
Add better error messages
...
- Add status.json with HTTP status code table
- Add error fetching on PingAdapter
- Give warning on no alerts set
2018-09-03 22:39:41 -03:00
Luna Mendes
7a2f9a95c7
add alerts
...
- worker: change Adapter._construct to receive an extra arg
- worker: hardcode a bad result and write it off on workloop fail
2018-08-30 22:22:02 -03:00
Luna Mendes
3dd37c0bf1
small logging changes
2018-08-08 19:37:57 -03:00
Luna Mendes
83b2d88311
change adapter response type to dict
...
this simplifies a lot of code since tuples are immutable.
- adapters: add Adapter._construct
- worker: set status state to False on worker crash
2018-07-14 22:27:06 -03:00
Luna Mendes
ecf6234cfe
elstat.adapters: add latency to db spec
...
Since this is a change to the table schema for all services using the
ping adapter, you will have to delete the tables relating to them.
- elstat.blueprints: add incidents blueprint (WIP)
- elstat.blueprints: add decorators.py
- elstat.blueprints: add errors.py
- elstat.manager: add incidents & incident_stages tables
- run: add handler for ApiError
2018-07-13 23:20:09 -03:00
Luna Mendes
d92c09772e
add public api
...
- generalize elixire adapter into http adapter
- fix ping adapter not sending a tuple
- add ServiceWorker.process_work to insert results into the database
2018-07-09 02:48:44 -03:00
Luna Mendes
359c62efd6
Add proper adapter implementations
...
also add table making for the db
2018-07-08 00:38:14 -03:00
Luna Mendes
9ed1ec60cf
add ServiceManager & ServiceWorker
2018-07-07 20:51:43 -03:00