markus
November 17, 2020, 8:52am
1
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.
# Changelog
## Unreleased
- Enable back all error listeners from base SDK integration (#322)
- Added `options.traces_sampler` and `options.traces_sample_rate` configuration options (#385)
- [BC BREAK] Removed the `options.project_root` configuration option. Instead of setting it, use a combination of `options.in_app_include` and `options.in_app_exclude` (#385)
- [BC BREAK] Removed the `options.excluded_exceptions` configuration option. Instead of setting it, configure the `IgnoreErrorsIntegration` integration (#385)
- [BC BREAK] Refactorized the `ConsoleCommandListener`, `ErrorListener`, `RequestListener` and `SubRequestListener` event listeners (#387)
- Registered the CLI commands as lazy services (#373)
- [BC BREAK] Refactorized the configuration tree and the definitions of some container services (#401)
- Support the XML format for the bundle configuration (#401)
- PHP 8 support (#399, thanks to @Yozhef)
- Retrieve the request from the `RequestStack` when using the `RequestIntegration` integration (#361)
- Reorganize the folder structure and change CS standard (#405)
## 3.5.3 (2020-10-13)
- Refactors and fixes class aliases for more robustness (#315 #359, thanks to @guilliamxavier)
This file has been truncated. show original