Class: NewRelic::Control
- Inherits:
-
Object
- Object
- NewRelic::Control
- Extended by:
- ClassMethods
- Includes:
- InstanceMethods, Instrumentation, LoggingMethods, Profiling, ServerMethods, LanguageSupport::Control
- 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/logging_methods.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/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, LoggingMethods, Profiling, ServerMethods Classes: ProxyServer, Server
Instance Attribute Summary
Attributes included from InstanceMethods
Attributes included from LoggingMethods
Method Summary
Methods included from ClassMethods
instance, load_framework_class, load_test_framework, local_env, new_instance, newrelic_root
Methods included from InstanceMethods
#[], #app, #dispatcher, #init_plugin, #settings, #start_agent, #to_s
Methods included from LanguageSupport::Control
Methods included from LoggingMethods
#find_or_create_file_path, #log, #log!, #log_path, #log_to_stdout?, #set_log_format!, #set_log_level!, #setup_log, #should_log?, #to_stdout
Methods included from Instrumentation
#add_instrumentation, #install_instrumentation, #install_shim, #load_instrumentation_files, #load_samplers
Methods included from ServerMethods
#api_server, #cert_file_path, #convert_to_ip_address, #http_connection, #proxy_server, #resolve_ip_address, #server, #server_from_host