lib/opentelemetry/instrumentation/sidekiq/instrumentation.rb in opentelemetry-instrumentation-sidekiq-0.18.0 vs lib/opentelemetry/instrumentation/sidekiq/instrumentation.rb in opentelemetry-instrumentation-sidekiq-0.19.0

- old
+ new

@@ -25,10 +25,11 @@ compatible do gem_version >= MINIMUM_VERSION end - option :enable_job_class_span_names, default: false, validate: :boolean + option :span_naming, default: :queue, validate: ->(opt) { %I[job_class queue].include?(opt) } + option :propagation_style, default: :link, validate: ->(opt) { %i[link child none].include?(opt) } 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