Class: ScoutApm::Config::ConfigDefaults

Inherits:
Object
  • Object
show all
Defined in:
lib/scout_apm/config.rb

Constant Summary collapse

DEFAULTS =
{
  'host'                   => 'https://checkin.scoutapp.com',
  'direct_host'            => 'https://apm.scoutapp.com',
  'log_level'              => 'info',
  'uri_reporting'          => 'full_path',
  'report_format'          => 'json',
  'disabled_instruments'   => [],
  'enable_background_jobs' => true,
  'ignore'                 => [],
  'dev_trace'              => false,
  'profile'                => true # for scoutprof
}.freeze

Instance Method Summary collapse

Instance Method Details

#has_key?(key) ⇒ Boolean

Returns:

  • (Boolean)


169
170
171
# File 'lib/scout_apm/config.rb', line 169

def has_key?(key)
  DEFAULTS.has_key?(key)
end

#value(key) ⇒ Object



165
166
167
# File 'lib/scout_apm/config.rb', line 165

def value(key)
  DEFAULTS[key]
end