lib/opentelemetry/instrumentation/sidekiq/middlewares/server/tracer_middleware.rb in opentelemetry-instrumentation-sidekiq-0.20.1 vs lib/opentelemetry/instrumentation/sidekiq/middlewares/server/tracer_middleware.rb in opentelemetry-instrumentation-sidekiq-0.20.2

- old
+ new

@@ -16,10 +16,11 @@ attributes = { 'messaging.system' => 'sidekiq', 'messaging.sidekiq.job_class' => msg['wrapped']&.to_s || msg['class'], 'messaging.message_id' => msg['jid'], 'messaging.destination' => msg['queue'], - 'messaging.destination_kind' => 'queue' + 'messaging.destination_kind' => 'queue', + 'messaging.operation' => 'process' } attributes['peer.service'] = config[:peer_service] if config[:peer_service] span_name = case config[:span_naming] when :job_class then "#{msg['wrapped']&.to_s || msg['class']} process"