TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'fnordmetric-monitor'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fnordmetric-monitor
require 'fnordmetric'
require 'fnordmetric/monitor'
FnordMetric.namespace :myapp do
contact_email "foralerts@mydomain.com", :groups => [:admins, :operators]
...
gauge :myevents_per_minute, tick: 1.minute, monitor_min: 10, monitor_max: 60, monitor_recipient: :admins
...
end
...
FnordMetric::Monitor.new
- Fork it ( http://github.com/bscoder/fnordmetric-monitor/fork )
- 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