Class: NewRelic::Control
- Inherits:
-
Object
- Object
- NewRelic::Control
- Extended by:
- ClassMethods
- Defined in:
- lib/new_relic/control.rb,
lib/new_relic/control/profiling.rb,
lib/new_relic/control/frameworks.rb,
lib/new_relic/control/class_methods.rb,
lib/new_relic/control/server_methods.rb,
lib/new_relic/control/frameworks/merb.rb,
lib/new_relic/control/frameworks/ruby.rb,
lib/new_relic/control/instrumentation.rb,
lib/new_relic/control/frameworks/rails.rb,
lib/new_relic/control/instance_methods.rb,
lib/new_relic/control/frameworks/rails3.rb,
lib/new_relic/control/frameworks/rails4.rb,
lib/new_relic/control/frameworks/sinatra.rb,
lib/new_relic/control/frameworks/external.rb
Overview
The Control is a singleton responsible for the startup and initialization sequence. The initializer uses a LocalEnvironment to detect the framework and instantiates the framework specific subclass.
The Control also implements some of the public API for the agent.
Direct Known Subclasses
Defined Under Namespace
Modules: ClassMethods, Frameworks, InstanceMethods, Instrumentation, Profiling, ServerMethods Classes: ProxyServer, Server
Instance Attribute Summary
Attributes included from InstanceMethods
Method Summary
Methods included from ClassMethods
instance, load_framework_class, load_test_framework, local_env, new_instance, newrelic_root, reset
Methods included from InstanceMethods
#[], #app, #dispatcher, #framework, #init_plugin, #newrelic_root, #settings, #start_agent
Methods included from LanguageSupport::Control
Methods included from Instrumentation
#add_instrumentation, #install_instrumentation, #install_shim, #load_instrumentation_files, #load_samplers
Methods included from ServerMethods
#api_server, #convert_to_ip_address, #proxy_server, #resolve_ip_address, #server, #server_from_host