Module: OpenTelemetry::Instrumentation::Sidekiq::Patches::Poller
- Defined in:
- lib/opentelemetry/instrumentation/sidekiq/patches/poller.rb
Overview
The Poller module contains instrumentation for the enqueue and wait methods
Instance Method Summary collapse
Instance Method Details
#enqueue ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/opentelemetry/instrumentation/sidekiq/patches/poller.rb', line 13 def enqueue if config[:trace_poller_enqueue] tracer.in_span('Sidekiq::Scheduled::Poller#enqueue') { super } else OpenTelemetry::Common::Utilities.untraced { super } end end |