Class: LaunchDarkly::LDNewRelic

Inherits:
Object
  • Object
show all
Defined in:
lib/ldclient-rb/newrelic.rb

Class Method Summary collapse

Class Method Details

.annotate_transaction(key, value) ⇒ Object



10
11
12
13
14
# File 'lib/ldclient-rb/newrelic.rb', line 10

def self.annotate_transaction(key, value)
  if NR_ENABLED
    ::NewRelic::Agent.add_custom_parameters(key.to_s => value.to_s)
  end
end