We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f12c439 commit 6a54ea2Copy full SHA for 6a54ea2
lib/logtail/config.rb
@@ -46,7 +46,7 @@ def send_to_better_stack?(log_entry)
46
# See {Logtail::LogEntry} for available attributes of the block parameter.
47
#
48
# @example Rails
49
- # config.logtail.filter_sent_to_better_stack { |log_entry| log_entry.context_snapshot[:http][:path].start_with?('_') }
+ # config.logtail.filter_sent_to_better_stack { |log_entry| log_entry.context_snapshot[:http][:path].start_with?('/_') }
50
# @example Everything else
51
# Logtail.config.filter_sent_to_better_stack { |log_entry| log_entry.message.include?('IGNORE') }
52
def filter_sent_to_better_stack(&block)
0 commit comments