Class: ScoutApm::Config::ConfigDefaults
- Inherits:
-
Object
- Object
- ScoutApm::Config::ConfigDefaults
- Defined in:
- lib/scout_apm/config.rb
Constant Summary collapse
- DEFAULTS =
{ 'compress_payload' => true, 'detailed_middleware' => false, 'dev_trace' => false, 'direct_host' => 'https://apm.scoutapp.com', 'disabled_instruments' => [], 'enable_background_jobs' => true, 'host' => 'https://checkin.scoutapp.com', 'ignore' => [], 'log_level' => 'info', 'max_traces' => 10, 'profile' => true, # for scoutprof 'report_format' => 'json', 'scm_subdirectory' => '', 'uri_reporting' => 'full_path', 'remote_agent_host' => '127.0.0.1', 'remote_agent_port' => 7721, # picked at random 'database_metric_limit' => 5000, # The hard limit on db metrics 'database_metric_report_limit' => 1000, 'instrument_http_url_length' => 300, 'start_resque_server_instrument' => true, # still only starts if Resque is detected 'collect_remote_ip' => true, 'timeline_traces' => true, 'auto_instruments' => false, 'auto_instruments_ignore' => [] }.freeze
Instance Method Summary collapse
-
#any_keys_found? ⇒ Boolean
Defaults are here, but not counted as user specified.
- #has_key?(key) ⇒ Boolean
- #name ⇒ Object
- #value(key) ⇒ Object
Instance Method Details
#any_keys_found? ⇒ Boolean
Defaults are here, but not counted as user specified.
299 300 301 |
# File 'lib/scout_apm/config.rb', line 299 def any_keys_found? false end |
#has_key?(key) ⇒ Boolean
294 295 296 |
# File 'lib/scout_apm/config.rb', line 294 def has_key?(key) DEFAULTS.has_key?(key) end |
#name ⇒ Object
303 304 305 |
# File 'lib/scout_apm/config.rb', line 303 def name "defaults" end |
#value(key) ⇒ Object
290 291 292 |
# File 'lib/scout_apm/config.rb', line 290 def value(key) DEFAULTS[key] end |