lib/opentelemetry/instrumentation/rdkafka/patches/producer.rb in opentelemetry-instrumentation-rdkafka-0.3.2 vs lib/opentelemetry/instrumentation/rdkafka/patches/producer.rb in opentelemetry-instrumentation-rdkafka-0.4.0
- old
+ new
@@ -17,10 +17,10 @@
'messaging.destination_kind' => 'topic'
}
headers ||= {}
- tracer.in_span("#{topic} send", attributes: attributes, kind: :producer) do
+ tracer.in_span("#{topic} publish", attributes: attributes, kind: :producer) do
OpenTelemetry.propagation.inject(headers)
super
end
end