Breaking Changes 🛠
-
Disable Rails Structured Logging by default. by @sl0thentr0py in #3102
Since
enable_logswas removed in 7.0.0 and the community did not like the automatic enabling of Rails Structured Logging, we are disabling it in this minor.
We apologize for the confusion caused. If you want to turn it on, please use:Sentry.init do |config| # ... config.rails.structured_logging.enabled = true end
-
fix!(tracing): Remove 302/303 from default
trace_ignore_status_codesby @sl0thentr0py in #3103
New Features ✨
-
(metrics) Attribute integration-emitted metrics by @sentry-junior in #3071
-
The SDK now wraps user callbacks so that they don't unintentionally break your application if they raise inside the callback. by @sl0thentr0py in #3077
Callback Behavior before_sendReturn niland drop the eventbefore_send_transactionReturn niland drop the transactionbefore_send_check_inReturn niland drop the check-inevent_processorReturn niland drop the eventbefore_send_logReturn niland drop the log itembefore_send_metricReturn niland drop the metric itembefore_breadcrumbReturn niland drop the breadcrumbtraces_samplerFall back to traces_sample_ratebacktrace_cleanup_callbackFall back to the original backtrace std_lib_logger_filterReturn niland skip the log
Bug Fixes 🐛
Logs, Metrics
- Make ThreadedPeriodicWorker and TelemetryEventBuffer fork friendly by @sl0thentr0py in #3097
- Reduce mutex surface area for TelemetryEventBuffer by @sl0thentr0py in #3083
- Kill telemetry buffer threads on close by @sl0thentr0py in #3094
- Ensure TelemetryBuffer uses own thread for both size based and periodic flushing by @sl0thentr0py in #3084
Other
- (faraday) Don't double instrument builder by @sl0thentr0py in #3082
- (rails) Read query params safely in around_action by @sl0thentr0py in #3106