Symfony 5, Enable Performance Monitoring

Hi! I’m trying to use Sentry for Performance-Monitoring on our Symfony 5 application. According to the manual, i have to enable traces_sampler:

I have absolutely no idea how this could be activated on our symfony application. Is it only possible to enable this for certain functions?

It should be as easy as setting options.traces_sample_rate value… once SentryBundle v4.x is released. This functionality requires SDK v3, which will only be supported in the next (4.x) version of the Symfony bundle. So if you are already using the Bundle integration, you will probably have to wait it out, as you are currently tied to SDK v2, which does not have support for performance monitoring/transactions.