lib/one_apm/configuration.rb in oneapm_rpm-1.3.6 vs lib/one_apm/configuration.rb in oneapm_rpm-1.3.7.rc1

- old
+ new

@@ -10,11 +10,11 @@ require 'one_apm/configuration/high_security_source' module OneApm module Configuration - MASK_DEFAULTS = { + OA_MASK_DEFAULTS = { :'thread_profiler' => Proc.new { !OneApm::Agent::Threading::BacktraceService.is_supported? }, :'thread_profiler.enabled' => Proc.new { !OneApm::Agent::Threading::BacktraceService.is_supported? } } class Manager @@ -234,10 +234,10 @@ flat.merge(thawed_layer.to_hash) end end def apply_mask(hash) - MASK_DEFAULTS. \ + OA_MASK_DEFAULTS. \ select {|_, proc| proc.call}. \ each {|key, _| hash.delete(key) } hash end