Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bill Kayser
committed
Nov 13, 2009
1 parent
dc8e309
commit 9b33fee
Showing
2 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# ActiveMerchant Instrumentation. | ||
|
||
if defined? Net::HTTP | ||
Net::HTTP.class_eval do | ||
add_method_tracer "request", 'External/#{@address}/Net::HTTP/#{args[0].method}'# + op | ||
add_method_tracer "request", 'External/#{@address}/all', :push_scope => false | ||
add_method_tracer "request", 'External/allWeb', :push_scope => false | ||
end | ||
end |