railsinspire
railsinspire copied to clipboard
Bump sentry-ruby from 5.4.2 to 5.8.0
Bumps sentry-ruby from 5.4.2 to 5.8.0.
Changelog
Sourced from sentry-ruby's changelog.
5.8.0
Features
Allow tags to be passed via the context hash when reporting errors using ActiveSupport::ErrorReporter and Sentry::Rails::ErrorSubscriber in
sentry-rails
#1932Pass a
cached: true
tag for SQL query spans that utilized the ActiveRecord QueryCache when using ActiveRecordSubscriber insentry-rails
#1968Add
Sentry.add_global_event_processor
API #1976Users can now configure global event processors without configuring scope as well.
Sentry.add_global_event_processor do |event, hint| event.tags = { foo: 42 } event end
Add global event processor in OpenTelemetry
SpanProcessor
to link errors with transactions #1983Fix some inconsistencies in setting name/op/status in OpenTelemetry
SpanProcessor
#1987Add
config.before_send_transaction
hook #1989Users can now configure a
before_send_transaction
callback that runs similar tobefore_send
but for transaction events.config.before_send_transaction = lambda do |event, hint| # skip unimportant transactions or strip sensitive data if event.transaction == "/healthcheck/route" nil else event end end
Support
Sentry::Transaction#set_measurement
#1838Usage:
transaction = Sentry.get_current_scope.get_transaction transaction.set_measurement("metrics.foo", 0.5, "millisecond")
Bug Fixes
... (truncated)
Commits
dbb5a55
release: 5.8.067c4528
Prepare CHANGELOG for 5.8.0 (#1998)e8d4798
Ignore redis key if not UTF8 (#1997)266a576
Upgrade yard for Rack 3 compatibility (#1994)01b4e0f
Add minimum VSCode setup for the project (#1995)8b7267e
Deprecatecapture_exception_frame_locals
in favor of `include_local_variabl...75f289d
Do not capture exception in Rails runner at_exit if the exit code is 0 / succ...fcfb53e
SupportTransaction#set_measurement
(#1838)193446b
Ignore specs for codecov (#1990)287cd5b
Add before_send_transaction hook (#1989)- Additional commits viewable in compare view
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)