Sha256: daba1b073f51c14d05b256b558849fe77c1db08e4bce32116410b8510fa3cd66

Contents?: true

Size: 516 Bytes

Versions: 34

Compression:

Stored size: 516 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

34 entries across 34 versions & 3 rubygems

Version Path
ghazel-newrelic_rpm-3.1.0.1 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-3.1.0 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-3.1.0.beta5 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-3.1.0.beta4 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-3.1.0.djlogging2 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-3.1.0.djlogging lib/new_relic/agent/stats_engine.rb
newrelic_rpm-3.1.0.beta3 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-3.1.0.beta2 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-3.0.1 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-3.1.0.beta1 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-3.0.0 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-3.0.0.beta2 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-3.0.0.beta1 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.14.1.logging1 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.14.1 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.13.4.rum6 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.14.0 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.13.4.rum5 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.13.6.beta2 lib/new_relic/agent/stats_engine.rb
newrelic_rpm-2.13.6.beta1 lib/new_relic/agent/stats_engine.rb