Sha256: 523f23b8b5f9e2fdb0ce054e1a583b0b38578fa963ae813e2a5bcc646b50111f
Contents?: true
Size: 956 Bytes
Versions: 5
Compression:
Stored size: 956 Bytes
Contents
# This agent is loaded by the plug when the plug-in is disabled # It recreates just enough of the API to not break any clients that # invoke the Agent. module NewRelic module Agent class ShimAgent < NewRelic::Agent::Agent def self.instance @instance ||= self.new end def initialize super @histogram.extend NewRelic::Histogram::Shim @stats_engine.extend NewRelic::Agent::StatsEngine::Shim @stats_engine.extend NewRelic::Agent::StatsEngine::Transactions::Shim @transaction_sampler.extend NewRelic::Agent::TransactionSampler::Shim @error_collector.extend NewRelic::Agent::ErrorCollector::Shim end def after_fork *args; end def start *args; end def shutdown; end def push_trace_execution_flag(*args); end def pop_trace_execution_flag(*args); end def browser_timing_header; "" end def browser_timing_footer; "" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems