Ignore page_views (#4063)
This commit is contained in:
parent
44b014ec6b
commit
6fa8dfd7aa
1 changed files with 4 additions and 0 deletions
|
|
@ -15,6 +15,10 @@ config.integrations.action_view.silence = true
|
|||
config.integrations.active_record.silence = !Rails.env.development?
|
||||
config.integrations.rack.http_events.collapse_into_single_event = true
|
||||
|
||||
config.integrations.rack.http_events.silence_request = lambda do |_rack_env, rack_request|
|
||||
rack_request.path.match?(/^\/page_views\/\d{1,9}/)
|
||||
end
|
||||
|
||||
# Add additional configuration here.
|
||||
# For a full list of configuration options and their explanations see:
|
||||
# http://www.rubydoc.info/github/timberio/timber-ruby/Timber/Config
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue