Sha256: 88d19da06a8d5da818965d7342078c69331e1c078f63633ae8d33a7b05e9f0b7
Contents?: true
Size: 970 Bytes
Versions: 3
Compression:
Stored size: 970 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 @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 *args; end def serialize; end def merge_data_from *args; 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
newrelic_rpm-3.1.2 | lib/new_relic/agent/shim_agent.rb |
newrelic_rpm-3.1.2.beta2 | lib/new_relic/agent/shim_agent.rb |
newrelic_rpm-3.1.2.beta1 | lib/new_relic/agent/shim_agent.rb |