Features
-
Support for Redis #1697
New breadcrumb logger:
redis_logger
When you opt in to the new
redis_logger
breadcrumbs logger:config.breadcrumbs_logger = [:redis_logger]
The SDK now records a new
db.redis.command
breadcrumb whenever the Redis client is called. Attributes sent are
commands
, an array of each Redis command called with the attributescommand
andkey
, as well asserver
, which is
the Redis server hostname, port and db number.Redis command spans
Calls to Redis are also wrapped in a span called
db.redis.command
and if tracing is enabled will be reported to
Sentry. The span description will be the command and key. e.g. "SET mykey". For transactions this will be in
the formatMULTI, SET mykey, INCR counter, EXEC
. -
Sync activerecord, actionview and net-http span names #1681
-
Support serializing ActiveRecord job arguments in global id form #1688
-
Register Sentry's ErrorSubscriber for Rails 7.0+ apps #1705
Users can now use the unified interfaces:
Rails.error.handle
orRails.error.record
to capture exceptions. See ActiveSupport::ErrorReporter for more information about this feature.