module NewRelic::Agent::Configuration
Constants
- AUTOSTART_DENYLISTED_RAKE_TASKS
- DEFAULTS
-
rubocop:disable Metrics/CollectionLiteralLength
- MASK_DEFAULTS
Public Class Methods
Source
# File lib/new_relic/agent/configuration/default_source.rb, line 26 def self.deprecated_description(new_setting, description) link_ref = new_setting.to_s.tr('.', '-') %{Please see: [#{new_setting}](##{link_ref}). \n\n#{description}} end
Marks the config option as deprecated in the documentation once generated. Does not appear in logs.
Source
# 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
Source
# File lib/new_relic/agent/configuration/default_source.rb, line 12 def self.value_of(key) proc do NewRelic::Agent.config[key] end end
Helper
since default Procs are evaluated in the context of this module