Module: NewRelic::Agent::Instrumentation::RdkafkaConfig::Prepend
- Defined in:
- lib/new_relic/agent/instrumentation/rdkafka/prepend.rb
Instance Method Summary collapse
- #consumer ⇒ Object
-
#producer ⇒ Object
older versions.
Methods included from NewRelic::Agent::Instrumentation::RdkafkaConfig
Instance Method Details
#consumer ⇒ Object
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 |
#producer ⇒ Object
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 |