Activejob Stats is an ActiveJob addon that will collect and send data samples from your Jobs to various stat servers
Add this line to your application's Gemfile:
gem 'activejob-stats'
And then execute:
$ bundle
Or install it yourself as:
$ gem install activejob-stats
ActiveJob::Stats.configure do |config|
config.reporter = ActiveJob::Stats::StatsdAdapter.new
end
class BenchmarkedJob < ActiveJob::Base
benchmark
monitor
def perform
# Something here
end
end
We currently have adapters for:
We would like to support later:
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)