Method: NewRelic::Agent::SamplerCollection#load_samplers

Defined in:
lib/new_relic/agent/sampler_collection.rb

#load_samplersObject

adds samplers to the sampler collection so that they run every minute. This is dynamically recognized by any class that subclasses NewRelic::Agent::Sampler

[View source]

31
32
33
34
35
# File 'lib/new_relic/agent/sampler_collection.rb', line 31

def load_samplers
  Sampler.sampler_classes.each do |subclass|
    add_sampler(subclass)
  end
end