Hosted Graphite provides a post-receive github hook, which allows you to flag when commits are added to your repos.
How to send Github commit data to Hosted Graphite¶
To get Github commits flagged Hosted Graphite follow these instructions:
- Browse to your github repo, visit the ‘settings’ section, then ‘webhooks & services’
- Under ‘Services’ click the “Add Service” button, and in ‘Available Services’ search for “Hosted Graphite”
- Enter your API key in the box provided
- Hit ‘Save’. Your metrics will now appear in your metric tree as ‘github.<REPONAME>.commits’