lib/opentelemetry/instrumentation/sidekiq/instrumentation.rb in opentelemetry-instrumentation-sidekiq-0.16.0 vs lib/opentelemetry/instrumentation/sidekiq/instrumentation.rb in opentelemetry-instrumentation-sidekiq-0.17.0
- old
+ new
@@ -30,9 +30,10 @@
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
+ option :peer_service, default: nil, validate: :string
private
def gem_version
Gem.loaded_specs['sidekiq'].version