Module: Datadog::Tracing::Contrib::Roda::Instrumentation

Defined in:
lib/datadog/tracing/contrib/roda/instrumentation.rb

Overview

Instrumentation for Roda

Instance Method Summary collapse

Instance Method Details

#_roda_handle_main_routeObject



13
14
15
# File 'lib/datadog/tracing/contrib/roda/instrumentation.rb', line 13

def _roda_handle_main_route
  instrument(Ext::SPAN_REQUEST) { super }
end

#callObject



17
18
19
# File 'lib/datadog/tracing/contrib/roda/instrumentation.rb', line 17

def call
  instrument(Ext::SPAN_REQUEST) { super }
end