lib/sidekiq/tracer/server_middleware.rb in sidekiq-instrumentation-1.1.0 vs lib/sidekiq/tracer/server_middleware.rb in sidekiq-instrumentation-1.2.0.pre2
- old
+ new
@@ -30,9 +30,10 @@
follows_from = OpenTracing::Reference.follows_from(parent_span_context)
tracer.start_span(operation_name(job),
references: [follows_from],
+ ignore_active_scope: true,
tags: tags(job, "consumer"))
end
def tag_errors(span, error)
span.set_tag("error", true)