lib/opentelemetry/instrumentation/sidekiq/instrumentation.rb in opentelemetry-instrumentation-sidekiq-0.14.0 vs lib/opentelemetry/instrumentation/sidekiq/instrumentation.rb in opentelemetry-instrumentation-sidekiq-0.15.0
- old
+ new
@@ -25,9 +25,15 @@
compatible do
gem_version >= MINIMUM_VERSION
end
+ option :enable_job_class_span_names, default: false, validate: :boolean
+ option :trace_launcher_heartbeat, default: false, validate: :boolean
+ option :trace_poller_enqueue, default: false, validate: :boolean
+ option :trace_poller_wait, default: false, validate: :boolean
+ option :trace_processor_process_one, default: false, validate: :boolean
+
private
def gem_version
Gem.loaded_specs['sidekiq'].version
end