Sha256: 9b4ffef275cac20ed36cc9fa18c0f4310a713d3d904e6fb931068412ecac1f93
Contents?: true
Size: 635 Bytes
Versions: 52
Compression:
Stored size: 635 Bytes
Contents
require 'new_relic/agent/stats_engine/metric_stats' require 'new_relic/agent/stats_engine/samplers' require 'new_relic/agent/stats_engine/transactions' require 'new_relic/agent/stats_engine/gc_profiler' module NewRelic module Agent # This class handles all the statistics gathering for the 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
52 entries across 52 versions & 4 rubygems