Skip to content

Instantly share code, notes, and snippets.

@stympy
Created November 5, 2024 11:57
Show Gist options
  • Save stympy/2d199951522c67035741741b460a552c to your computer and use it in GitHub Desktop.
Save stympy/2d199951522c67035741741b460a552c to your computer and use it in GitHub Desktop.
Ignore most Rails instrumentation in Insights
events:
ignore:
- !ruby/regexp '/(send_file|redirect_to|halted_callback|unpermitted_parameters)\.action_controller/'
- !ruby/regexp '/(write_fragment|read_fragment|expire_fragment|exist_fragment\?)\.action_controller/'
- !ruby/regexp '/cache_(read|generate|fetch_hit|write|increment|decrement|delete|cleanup|prune|exist\?)\.active_support/'
- !ruby/regexp '/cache_(read_multi|write_multi|delete_multi\?)\.active_support/'
- !ruby/regexp '/^render_(template|partial|collection)\.action_view/'
- !ruby/regexp '/sql.active_record/'
- !ruby/regexp '/process.action_mailer/'
- !ruby/regexp '/(service_upload|service_download)\.active_storage/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment