Sha256: 2ebcd60c118cb22ed049e4a73cc75e0522eba71caf6c57a851df4d5a90cdbf95
Contents?: true
Size: 861 Bytes
Versions: 40
Compression:
Stored size: 861 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details. module NewRelic module Agent # This module exists only for backwards-compatibility reasons. # Sampler functionality is now controlled by the SamplerManager class. # @deprecated class StatsEngine module Shim # :nodoc: def add_sampler(*args); end def add_harvest_sampler(*args); end def start_sampler_thread(*args); end end module Samplers def add_sampler(*args) NewRelic::Agent.logger.warn("Ignoring request to add periodic sampler - add_sampler is deprecated") end def add_harvest_sampler NewRelic::Agent.logger.warn("Ignoring request to add harvest sampler - add_harvest_sampler is deprecated") end end end end end
Version data entries
40 entries across 40 versions & 1 rubygems