metriks-instrumental
A gem to report your Metriks data to Instrumental.
Usage
Send metrics to Instrumental every 60 seconds.
require 'metriks-instrumental'
# Using an API key
reporter = Metriks::Reporter::Instrumental.new(:api_key => "Your Instrumental API key")
# Using an already instantiated agent
reporter = Metriks::Reporter::Instrumental.new(:agent => existing_instrumental_agent)
reporter.start
Installation
Add this line to your application's Gemfile:
gem 'metriks-instrumental'
And then execute:
$ bundle
Or install it yourself as:
$ gem install metriks-instrumental
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request