Skip to content

dependency: bump sentry-ruby, sentry-rails and sentry-sidekiq

Bumps sentry-ruby, sentry-rails and sentry-sidekiq. These dependencies needed to be updated together. Updates sentry-ruby from 4.3.2 to 4.4.0

Changelog

Sourced from sentry-ruby's changelog.

4.4.0

Features

Support category-based rate limiting #1336

Sentry rate limits different types of events. And when rate limiting is enabled, it sends back a 429 response to the SDK. Currently, the SDK would then raise an error like this:

Unable to record event with remote Sentry server (Sentry::Error - the server responded with status 429
body: {"detail":"event rejected due to rate limit"}):

This change improves the SDK's handling on such responses by:

  • Not treating them as errors, so you don't see the noise anymore.
  • Halting event sending for a while according to the duration provided in the response. And warns you with a message like:
Envelope [event] not sent: Excluded by random sample

Record request span from Net::HTTP library #1381

Now any outgoing requests will be recorded as a tracing span. Example:

Record breadcrumb for Net::HTTP requests #1394

With the new http_logger breadcrumbs logger:

config.breadcrumbs_logger = [:http_logger]

The SDK now records a new net.http breadcrumb whenever the user makes a request with the Net::HTTP library.

Support config.debug configuration option #1400

It'll determine whether the SDK should run in the debugging mode. Default is false. When set to true, SDK errors will be logged with backtrace.

Add the third tracing state #1402

  • rate == 0 - Tracing enabled. Rejects all locally created transactions but respects sentry-trace.
  • 1 > rate > 0 - Tracing enabled. Samples locally created transactions with the rate and respects sentry-trace.
  • rate < 0 or rate > 1 - Tracing disabled.

... (truncated)

Commits
  • 25b5aca release: 4.4.0
  • f0a1293 Update latest changelog entry (#1425)
  • ace176c Disable tracing if events are not allowed to be sent (#1421)
  • fa8f3ec Add test cases for sampler example (#1420)
  • 74d082b Merge release-sentry-delayed_job/4.4.0-beta.0 into master
  • d815e9d Remove allocation comparison steps from sentry-ruby and sentry-rails' workflo...
  • a6c84d7 Merge release-sentry-sidekiq/4.4.0-beta.0 into master
  • 65bdce9 Merge release-sentry-rails/4.4.0-beta.0 into master
  • 371ef25 release: 4.4.0-beta.0
  • eeb3dd5 release: 4.4.0-beta.0
  • Additional commits viewable in compare view

Updates sentry-rails from 4.3.4 to 4.4.0

Changelog

Sourced from sentry-rails's changelog.

4.4.0

Features

  • Make tracing subscribers configurable #1344
# current default:
# - Sentry::Rails::Tracing::ActionControllerSubscriber
# - Sentry::Rails::Tracing::ActionViewSubscriber
# - Sentry::Rails::Tracing::ActiveRecordSubscriber
you can add a new subscriber
config.rails.tracing_subscribers << MySubscriber
or replace the set completely
config.rails.tracing_subscribers = [MySubscriber]

Bug Fixes

  • Report exceptions from the interceptor middleware for exceptions app #1379
  • Re-position CaptureExceptions middleware to reduce tracing noise #1405
Commits
  • 68f1f80 release: 4.4.0
  • f0a1293 Update latest changelog entry (#1425)
  • ace176c Disable tracing if events are not allowed to be sent (#1421)
  • fa8f3ec Add test cases for sampler example (#1420)
  • 74d082b Merge release-sentry-delayed_job/4.4.0-beta.0 into master
  • d815e9d Remove allocation comparison steps from sentry-ruby and sentry-rails' workflo...
  • a6c84d7 Merge release-sentry-sidekiq/4.4.0-beta.0 into master
  • 65bdce9 Merge release-sentry-rails/4.4.0-beta.0 into master
  • 371ef25 release: 4.4.0-beta.0
  • eeb3dd5 release: 4.4.0-beta.0
  • Additional commits viewable in compare view

Updates sentry-sidekiq from 4.3.0 to 4.4.0

Changelog

Sourced from sentry-sidekiq's changelog.

4.4.0

Features

  • Make Sidekiq job context more readable #1410

Before

After

Commits
  • 8276cc7 release: 4.4.0
  • f0a1293 Update latest changelog entry (#1425)
  • ace176c Disable tracing if events are not allowed to be sent (#1421)
  • fa8f3ec Add test cases for sampler example (#1420)
  • 74d082b Merge release-sentry-delayed_job/4.4.0-beta.0 into master
  • d815e9d Remove allocation comparison steps from sentry-ruby and sentry-rails' workflo...
  • a6c84d7 Merge release-sentry-sidekiq/4.4.0-beta.0 into master
  • 65bdce9 Merge release-sentry-rails/4.4.0-beta.0 into master
  • 371ef25 release: 4.4.0-beta.0
  • eeb3dd5 release: 4.4.0-beta.0
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

📝 Latest allure report

Edited by George Koltsov

Merge request reports

Loading