Method: Atatus::Spies::ElasticsearchSpy.sanitizer
- Defined in:
- lib/atatus/spies/elasticsearch.rb
.sanitizer ⇒ Object
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.
29 30 31 32 33 34 35 36 37 38 |
# File 'lib/atatus/spies/elasticsearch.rb', line 29 def self.sanitizer @sanitizer ||= begin config = Atatus.agent.config Atatus::Transport::Filters::HashSanitizer.new( key_patterns: config.custom_key_filters + config.sanitize_field_names ) end end |