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, }.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.
287 288 289 |
# File 'lib/scout_apm/config.rb', line 287 def any_keys_found? false end |
#has_key?(key) ⇒ Boolean
282 283 284 |
# File 'lib/scout_apm/config.rb', line 282 def has_key?(key) DEFAULTS.has_key?(key) end |
#name ⇒ Object
291 292 293 |
# File 'lib/scout_apm/config.rb', line 291 def name "defaults" end |
#value(key) ⇒ Object
278 279 280 |
# File 'lib/scout_apm/config.rb', line 278 def value(key) DEFAULTS[key] end |