Sha256: 14deefc1514c9fd5ba010731cd5279eb5f9429059caaeb357928a9375b1b9585
Contents?: true
Size: 372 Bytes
Versions: 3
Compression:
Stored size: 372 Bytes
Contents
module LaunchDarkly class LDNewRelic begin require 'newrelic_rpm' NR_ENABLED = defined?(::NewRelic::Agent.add_custom_parameters) rescue Exception NR_ENABLED = false end def self.annotate_transaction(key, value) if NR_ENABLED ::NewRelic::Agent.add_custom_parameters({key.to_s => value.to_s}) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ldclient-rb-0.4.0 | lib/ldclient-rb/newrelic.rb |
ldclient-rb-0.3.0 | lib/ldclient-rb/newrelic.rb |
ldclient-rb-0.2.0 | lib/ldclient-rb/newrelic.rb |