Module: HTTPInstrumentation::Instrumentation::EthonHook::Multi
- Defined in:
- lib/http_instrumentation/instrumentation/ethon_hook.rb
Class Attribute Summary collapse
-
.aliased ⇒ Object
Returns the value of attribute aliased.
Instance Method Summary collapse
Class Attribute Details
.aliased ⇒ Object
Returns the value of attribute aliased.
28 29 30 |
# File 'lib/http_instrumentation/instrumentation/ethon_hook.rb', line 28 def aliased @aliased end |
Instance Method Details
#perform(*args) ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/http_instrumentation/instrumentation/ethon_hook.rb', line 31 def perform(*args) HTTPInstrumentation.instrument("ethon") do |payload| begin payload[:count] = easy_handles.size rescue end if HTTPInstrumentation::Instrumentation::EthonHook::Multi.aliased perform_without_http_instrumentation(*args) else super end end end |