sentry-php
sentry-php copied to clipboard
`ignore_transactions` option should support regular expressions
Problem Statement
Currently ignore_transactions
option is useless for anything but the most simplest cases such as GET /health
. Any URLs with a variable somewhere in the path (typically an id or slug) can't be ignored using this option. The option was added to remove the need of fiddling with TracesSampler or BeforeSendProcessor but in these cases custom modifications of one of those are still necessary.
Solution Brainstorm
In my opinion the ignore_transactions
option should support regular expressions for the provided URLs.