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 attributes command and key, as well as server, 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 format MULTI, 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 or Rails.error.record to capture exceptions. See ActiveSupport::ErrorReporter for more information about this feature.
Bug Fixes
Avoid causing NoMethodError for Sentry.* calls when the SDK is not inited #1713
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps sentry-ruby from 5.0.1 to 5.1.0.
Changelog
Sourced from sentry-ruby's changelog.
Commits
60b64c1
release: 5.1.05f7bfb0
Update CHANGELOG.md8c31a6d
Skip authorization header when send_default_pii is false (#1717)aeb38cf
Transaction#finish should ignore the parent's sampling decision (#1716)ee5eadc
Avoid causing NoMethodError for Sentry.* calls when the SDK is not inited (#1...42afb25
Redis support for sentry-ruby (#1697)8538717
feat(performance): Sync activerecord and net-http span names (#1681)9889bbe
Register Sentry's ErrorSubscriber for Rails 7.0+ apps (#1705)4217838
Support serializing ActiveRecord job arguments in global id form (#1688)d4b17f1
Merge branch 'release/5.0.2'Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)