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



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

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