Method: NewRelic::Agent::Sampler.enabled?
- Defined in:
- lib/new_relic/agent/sampler.rb
permalink .enabled? ⇒ Boolean
39 40 41 42 43 44 45 46 |
# File 'lib/new_relic/agent/sampler.rb', line 39 def self.enabled? if shorthand_name config_key = "disable_#{shorthand_name}_sampler" !(Agent.config[config_key]) else true end end |