lib/opentelemetry/instrumentation/sidekiq/middlewares/client/tracer_middleware.rb in opentelemetry-instrumentation-sidekiq-0.13.0 vs lib/opentelemetry/instrumentation/sidekiq/middlewares/client/tracer_middleware.rb in opentelemetry-instrumentation-sidekiq-0.14.0
- old
+ new
@@ -22,10 +22,10 @@
'messaging.destination' => job['queue'],
'messaging.destination_kind' => 'queue'
},
kind: :producer
) do |span|
- OpenTelemetry.propagation.text.inject(job)
+ OpenTelemetry.propagation.inject(job)
span.add_event('created_at', timestamp: job['created_at'])
yield
end
end