Skip to content

Commit 3869d0a

Browse files
authored
add label kwarg to the producer
1 parent b1ea804 commit 3869d0a

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/rdkafka/lib/opentelemetry/instrumentation/rdkafka/patches

1 file changed

+1
-1
lines changed

instrumentation/rdkafka/lib/opentelemetry/instrumentation/rdkafka/patches/producer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Rdkafka
1010
module Patches
1111
# The Producer module contains the instrumentation patch the Producer#produce method
1212
module Producer
13-
def produce(topic:, payload: nil, key: nil, partition: nil, partition_key: nil, timestamp: nil, headers: nil)
13+
def produce(topic:, payload: nil, key: nil, partition: nil, partition_key: nil, timestamp: nil, headers: nil, label: nil)
1414
attributes = {
1515
'messaging.system' => 'kafka',
1616
'messaging.destination' => topic,

0 commit comments

Comments
 (0)