Sha256: 847c01a42d4aae4696a49d80e3d6b41c2a8b2bb8f2d7147c2a97fe40cbd21a4a

Contents?: true

Size: 534 Bytes

Versions: 18

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
        start_sampler_thread
      end
      
      def log
        NewRelic::Control.instance.log
      end
      
    end
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
onyx_newrelic_rpm-2.12.5 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.13.0.beta5 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.13.0.beta4 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.13.0.beta3 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.12.3 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.12.2 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.12.2.beta2 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.12.2.beta lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.12.1 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.12.1.alpha lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.12.0 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.11.3 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.11.2 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.11.2.beta2 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.11.2.beta lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.11.1 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.11.0.beta2 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.11.0.beta lib/new_relic/agent/stats_engine.rb