Module: NewRelic::Agent::Instrumentation::RdkafkaConfig::Prepend

Includes:
NewRelic::Agent::Instrumentation::RdkafkaConfig
Defined in:
lib/new_relic/agent/instrumentation/rdkafka/prepend.rb

Instance Method Summary collapse

Methods included from NewRelic::Agent::Instrumentation::RdkafkaConfig

#set_nr_config

Instance Method Details

#consumerObject



47
48
49
50
51
# File 'lib/new_relic/agent/instrumentation/rdkafka/prepend.rb', line 47

def consumer(**kwargs)
  super.tap do |consumer|
    set_nr_config(consumer)
  end
end

#producerObject

older versions



53
54
55
56
57
# File 'lib/new_relic/agent/instrumentation/rdkafka/prepend.rb', line 53

def producer(**kwargs)
  super.tap do |producer|
    set_nr_config(producer)
  end
end