Module: Datadog::Tracing::Contrib::Sinatra::TracerSetupPatch
- Defined in:
- lib/datadog/tracing/contrib/sinatra/patcher.rb
Overview
Set tracer configuration at a late enough time
Constant Summary collapse
Instance Method Summary collapse
Instance Method Details
#setup_middleware(*args, &block) ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/datadog/tracing/contrib/sinatra/patcher.rb', line 16 def setup_middleware(*args, &block) super.tap do ONLY_ONCE_PER_APP[self].run do Contrib::Sinatra::Framework.setup end end end |