Method: NewRelic::Agent::Configuration.instrumentation_value_from_boolean
- Defined in:
- lib/new_relic/agent/configuration/default_source.rb
permalink .instrumentation_value_from_boolean(key) ⇒ Object
18 19 20 21 22 |
# File 'lib/new_relic/agent/configuration/default_source.rb', line 18 def self.instrumentation_value_from_boolean(key) proc do NewRelic::Agent.config[key] ? 'auto' : 'disabled' end end |