Class: NewRelic::Agent::ShimAgent
- Inherits:
-
Agent
show all
- Defined in:
- lib/new_relic/agent/shim_agent.rb
Overview
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.
Constant Summary
Constants inherited
from Agent
Agent::PROTOCOL_VERSION
Instance Attribute Summary
Attributes inherited from Agent
#error_collector, #histogram, #metric_ids, #obfuscator, #record_sql, #should_send_errors, #stats_engine, #task_loop, #transaction_sampler
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Agent
#add_custom_parameters, #custom_params, #end_transaction, #log, #manual_start, #running?, #set_record_sql, #set_record_tt, #set_sql_obfuscator, #start_transaction, #started?
Constructor Details
Returns a new instance of ShimAgent.
Class Method Details
5
6
7
|
# File 'lib/new_relic/agent/shim_agent.rb', line 5
def self.instance
@instance ||= self.new
end
|
Instance Method Details
#ensure_worker_thread_started ⇒ Object
16
|
# File 'lib/new_relic/agent/shim_agent.rb', line 16
def ensure_worker_thread_started; end
|
#pop_trace_execution_flag(*args) ⇒ Object
20
|
# File 'lib/new_relic/agent/shim_agent.rb', line 20
def pop_trace_execution_flag(*args); end
|
#push_trace_execution_flag(*args) ⇒ Object
19
|
# File 'lib/new_relic/agent/shim_agent.rb', line 19
def push_trace_execution_flag(*args); end
|
18
|
# File 'lib/new_relic/agent/shim_agent.rb', line 18
def shutdown; end
|
#start(*args) ⇒ Object
17
|
# File 'lib/new_relic/agent/shim_agent.rb', line 17
def start *args; end
|