Sha256: f76157fb31713f6c70a385bd03b8a3004cf8fc0a201536471dc625d5dbfbd8ac

Contents?: true

Size: 534 Bytes

Versions: 5

Compression:

Stored size: 534 Bytes

Contents

require 'new_relic/agent/stats_engine/metric_stats'
require 'new_relic/agent/stats_engine/samplers'
require 'new_relic/agent/stats_engine/transactions'

module NewRelic
  module Agent
    class StatsEngine
      include MetricStats
      include Samplers
      include Transactions
      
      def initialize
        # Makes the unit tests happy
        Thread::current[:newrelic_scope_stack] = nil
        spawn_sampler_thread
      end
      
      def log
        NewRelic::Control.instance.log
      end
      
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
newrelic_rpm-2.10.8 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.10.6 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.10.5 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.10.4 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.10.3 lib/new_relic/agent/stats_engine.rb