sentry-php icon indicating copy to clipboard operation
sentry-php copied to clipboard

`ignore_transactions` option should support regular expressions

Open enumag opened this issue 1 year ago • 5 comments

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.

enumag avatar Jul 03 '23 06:07 enumag