-
Notifications
You must be signed in to change notification settings - Fork 177
There is no option to ignore specific symfony routes by id #906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We use Symfony's route name, prefixed with the HTTP method verb, see https://github.com/getsentry/sentry-symfony/blob/master/src/EventListener/TracingRequestListener.php#L68. If you want to have more fine grained controlls than We might remove the HTTP verb in the next major version, as we already did so in our Laravel SDK. |
I meant, that there are some 'service' routes, I'd like not to see in the profiling list. sentry:
options:
ignore_transactions:
- 'GET my_route_id' |
#[Route('/blog', name: 'blog_list')]
public function list(): Response
{
// ...
} so here you would set sentry:
options:
ignore_transactions:
- 'GET blog_list' |
Strange things, but ok, thx, will try to bump version to 5.1 (now at 5.0) |
Can you drop the link to the page where the method is not displayed? In case you use https://sentry.io |
Sure, here it is: https://sentry.io/performance/ |
I would need your org subdomain as well 😄 |
Here it is: https://macpaw.sentry.io/performance/ |
Problem Statement
For the only way according docs to remove profiling by some of the routes is explicitly writing it e.g.:
But it'll be cool to put only route it to make it more reliable. For e.g Artprime prometheus metrics bundle have such an option:
Solution Brainstorm
add configuration method for
tracing_ignored_routes
, and accept symfony route id parameter in itThe text was updated successfully, but these errors were encountered: