module NewRelic::Agent::Instrumentation::Roda::Chain
Public Class Methods
Source
# File lib/new_relic/agent/instrumentation/roda/chain.rb, line 8 def self.instrument! ::Roda.class_eval do include ::NewRelic::Agent::Instrumentation::Roda::Tracer alias_method(:_roda_handle_main_route_without_tracing, :_roda_handle_main_route) def _roda_handle_main_route(*args) _roda_handle_main_route_with_tracing(*args) do _roda_handle_main_route_without_tracing(*args) end end end end
Public Instance Methods
Source
# File lib/new_relic/agent/instrumentation/roda/chain.rb, line 14 def _roda_handle_main_route(*args) _roda_handle_main_route_with_tracing(*args) do _roda_handle_main_route_without_tracing(*args) end end