Method: OneApm::Agent::Database::ObfuscationHelpers#obfuscate_numeric_literals

Defined in:
lib/one_apm/agent/database/obfuscation_helpers.rb

#obfuscate_numeric_literals(sql) ⇒ Object



58
59
60
# File 'lib/one_apm/agent/database/obfuscation_helpers.rb', line 58

def obfuscate_numeric_literals(sql)
  sql.gsub(OA_NUMERICS_REGEX, OA_PLACEHOLDER)
end