Skip to content

Commit

Permalink
Add Resque instrumentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleym1972 authored and Bill Kayser committed Mar 26, 2010
1 parent f468d60 commit 2030981
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/rpm_contrib/instrumentation/resque.rb
@@ -0,0 +1,8 @@

if defined? ::Resque::Worker

::Resque::Worker.class_eval do
add_method_tracer(:process, 'Resque/Worker/process')
end

end

0 comments on commit 2030981

Please sign in to comment.