Method: ElasticAPM::Transport::Filters::HashSanitizer#filter_key?

Defined in:
lib/elastic_apm/transport/filters/hash_sanitizer.rb

#filter_key?(key) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


53
54
55
# File 'lib/elastic_apm/transport/filters/hash_sanitizer.rb', line 53

def filter_key?(key)
  @key_patterns.any? { |regex| regex.match(key) }
end