lib/opentelemetry/instrumentation/resque/patches/resque_module.rb in opentelemetry-instrumentation-resque-0.4.2 vs lib/opentelemetry/instrumentation/resque/patches/resque_module.rb in opentelemetry-instrumentation-resque-0.5.0

- old
+ new

@@ -33,11 +33,11 @@ 'messaging.destination_kind' => 'queue', 'messaging.resque.job_class' => job_class } span_name = case config[:span_naming] - when :job_class then "#{job_class} send" - else "#{queue} send" + when :job_class then "#{job_class} publish" + else "#{queue} publish" end tracer.in_span(span_name, attributes: attributes, kind: :producer) do OpenTelemetry.propagation.inject(item) super