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

Included in:
Prepend
Defined in:
lib/new_relic/agent/instrumentation/rdkafka/prepend.rb,
lib/new_relic/agent/instrumentation/rdkafka/instrumentation.rb

Defined Under Namespace

Modules: Prepend

Instance Method Summary collapse

Instance Method Details

#set_nr_config(producer_or_consumer) ⇒ Object



66
67
68
# File 'lib/new_relic/agent/instrumentation/rdkafka/instrumentation.rb', line 66

def set_nr_config(producer_or_consumer)
  producer_or_consumer.instance_variable_set(:@nr_config, self)
end