Map third-party service POST hooks to Librato Annotations
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Librato Annotations Hook

Simple Sinatra app to map third-party service webhooks to Librato Metric's annotations API.

To deploy this app to Heroku:

$ git clone
Cloning into 'librato-annotate'...
remote: Counting objects: 27, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 27 (delta 9), reused 26 (delta 8)
Unpacking objects: 100% (27/27), done.

$ cd librato-annotate

$ heroku create
Creating evening-chamber-4158... done, stack is cedar |
Git remote heroku added

$ git push heroku master

Supported Services

Heroku HTTP Post Hook

NOTE: If you are using the Librato Heroku Addon or have setup a log-drain for your app, release annotations are now published to your Librato account automatically.

Supports Heroku's HTTP Post Hook.

Route: POST /heroku

Required Parameters:

  • email: Your Librato Metrics email address.
  • token: Your Librato Metrics API token.
  • name: Annotation stream name to create annotations under.

Optional Parameters:

  • github_repo: URL of a backing GH repo, for example: If this is set a link will be added that points to the deployed commit.

To add as a deploy hook to a Heroku app:

$ heroku addons:add deployhooks:http --url="[email]&token=[token]&name=[name]&github_repo=[github repo]"