Features
-
Add generator for initializer generation (#2286)
Rails users will be able to use
bin/rails generate sentry
to generate theirconfig/initializers/sentry.rb
file. -
Notify users when their custom options are discarded (#2303)
-
Add a new
:graphql
patch to automatically enable instrumenting GraphQL spans (#2308)Usage:
Sentry.init do |config| # ... config.enabled_patches += [:graphql] end
-
Add
Sentry.get_trace_propagation_meta
helper for injecting meta tags into views (#2314) -
Add query source support to
sentry-rails
(#2313)The feature is only activated in apps that use Ruby 3.2+ and Rails 7.1+. By default only queries that take longer than 100ms will have source recorded, which can be adjusted by updating the value of
config.rails.db_query_source_threshold_ms
. -
Log envelope delivery message with debug instead of info (#2320)
Bug Fixes
- Don't throw error on arbitrary arguments being passed to
capture_event
options #2301- Fixes #2299
- Decrease the default number of background worker threads by half (#2305)
- Fixes #2297
- Don't mutate
enabled_environments
when usingSentry::TestHelper
(#2317) - Don't use array for transaction names and sources on scope (#2324)
- Fixes #2257
Internal
- Add
origin
to spans and transactions to track integration sources for instrumentation (#2319)