Class: NewRelic::Control::Sinatra

Inherits:
Ruby show all
Defined in:
lib/new_relic/control/sinatra.rb

Instance Attribute Summary

Attributes inherited from NewRelic::Control

#env, #local_env, #log_file

Instance Method Summary collapse

Methods inherited from Ruby

#config_file, #env, #root, #to_stdout

Methods inherited from NewRelic::Control

#[], #[]=, #add_instrumentation, #agent_enabled?, #apdex_t, #api_server, #app, #app_names, #capture_params, #developer_mode?, #dispatcher, #dispatcher_instance_id, #fetch, format_message, #http_connection, #init_plugin, #install_instrumentation, #install_shim, instance, #license_key, #load_samplers, #log, #log!, #monitor_mode?, #multi_threaded?, #post_size_limit, #profiling=, #profiling?, #profiling_available?, #proxy_server, #server, #server_from_host, #settings, #start_agent, #to_s, #use_ssl?, #use_textmate?, #verify_certificate?

Instance Method Details

#init_config(options = {}) ⇒ Object

This is the control used when starting up in the context of The New Relic Infrastructure Agent. We want to call this out specifically because in this context we are not monitoring the running process, but actually external things.



10
11
12
# File 'lib/new_relic/control/sinatra.rb', line 10

def init_config(options={})
  super
end