Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

librato/librato-annotate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 https://github.com/librato/librato-annotate.git
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
http://evening-chamber-4158.herokuapp.com/ | git@heroku.com:evening-chamber-4158.git
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: https://github.com/librato/myapp. 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="http://evening-chamber-4158.herokuapp.com/heroku?email=[email]&token=[token]&name=[name]&github_repo=[github repo]"

About

Map third-party service POST hooks to Librato Annotations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages