Method: ElasticAPM::Transport::Filters::HashSanitizer#initialize

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

#initialize(key_patterns:) ⇒ HashSanitizer

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 a new instance of HashSanitizer.



29
30
31
# File 'lib/elastic_apm/transport/filters/hash_sanitizer.rb', line 29

def initialize(key_patterns:)
  @key_patterns = key_patterns
end