diff --git a/config/initializers/timber.rb b/config/initializers/timber.rb index 726d3f220..0bd794e62 100644 --- a/config/initializers/timber.rb +++ b/config/initializers/timber.rb @@ -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