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?