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, }.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.
277 278 279 |
# File 'lib/scout_apm/config.rb', line 277 def any_keys_found? false end |
#has_key?(key) ⇒ Boolean
272 273 274 |
# File 'lib/scout_apm/config.rb', line 272 def has_key?(key) DEFAULTS.has_key?(key) end |
#name ⇒ Object
281 282 283 |
# File 'lib/scout_apm/config.rb', line 281 def name "defaults" end |
#value(key) ⇒ Object
268 269 270 |
# File 'lib/scout_apm/config.rb', line 268 def value(key) DEFAULTS[key] end |