/ombudsman

Heroku add-on that reviews your request logs to try to find errors and other interesting patterns

Primary LanguageRuby

Ombudsman

Heroku add-on that sits and inspects your logs, alerting when it detects a spike in error rates for your RESTful API.

Usage

Install:

$ heroku addons:add ombudsman

Then give it some time and check the dashboard:

$ heroku addons:open ombudsman

To see something like:

Ombudsman Dashboard

The idea is that you'll receive email with alerts whenever your error rates change drastically.

Development

You'll need Postgres and Redis.

$ createdb ombudsman-test
$ createdb ombudsman
$ bundle install
$ cp .env.sample .env
$ rake
$ foreman start

To deploy as a new add-on:

$ cp sample-addon-manifest.json addon-manifest.json
# change .env
$ kensa test
$ rake sso
$ kensa push

TODO

  • More flexible route information
    • Allow users to update their own route signatures
  • Add alerting:
    • Compare measurement records: if non 20x and 30x rate grows over a certain threshold in the last X minutes, alert