Repository navigation
5.16.0
The Sentry SDK team is happy to announce the immediate availability of Sentry Symfony SDK v5.16.0.
Features
-
Add the
trace_ignore_status_codesoption, which drops the transactions of incoming requests whose response has one of the given HTTP status codes. Each entry is either a single status code or an inclusive[min, max]range. (#1101)sentry: options: trace_ignore_status_codes: - 404 - [500, 599]
-
Add the
sentry_sample_rateenv var processor, which resolves an empty or unset environment variable tonull. (#1096)sentry: options: traces_sample_rate: '%env(sentry_sample_rate:SENTRY_TRACES_SAMPLE_RATE)%' profiles_sample_rate: '%env(sentry_sample_rate:SENTRY_PROFILES_SAMPLE_RATE)%'
Bug fixes
- Fix
tracing.enabledalways enabling tracing when it is set through an environment variable such as'%env(bool:SENTRY_TRACING)%'. The value is now resolved at runtime. (#1109)