Skip to content

Bump sentry-sidekiq and sentry-rails

Bumps sentry-sidekiq and sentry-rails. These dependencies needed to be updated together. Updates sentry-sidekiq from 5.10.0 to 5.11.0

Changelog

Sourced from sentry-sidekiq's changelog.

5.11.0

Features

  • Make :value in SingleExceptionInterface writable, so that it can be modified in before_send under event.exception.values[n].value #2072

  • Add sampled field to dynamic_sampling_context #2092

  • Consolidate HTTP span data conventions with OpenTelemetry with Sentry::Span::DataConventions #2093

  • Consolidate database span data conventions with OpenTelemetry for ActiveRecord and Redis #2100

  • Add new config.trace_propagation_targets option to set targets for which headers are propagated in outgoing HTTP requests #2079

    # takes an array of strings or regexps
    config.trace_propagation_targets = [/.*/]  # default is to all targets
    config.trace_propagation_targets = [/example.com/, 'foobar.org/api/v2']
  • Tracing without Performance

    • Implement PropagationContext on Scope and add Sentry.get_trace_propagation_headers API #2084
    • Implement Sentry.continue_trace API #2089

    The SDK now supports connecting arbitrary events (Errors / Transactions / Replays) across distributed services and not just Transactions.
    To continue an incoming trace starting with this version of the SDK, use Sentry.continue_trace as follows.

    # rack application
    def call(env)
      transaction = Sentry.continue_trace(env, name: 'transaction', op: 'op')
      Sentry.start_transaction(transaction: transaction)
    end

    To inject headers into outgoing requests, use Sentry.get_trace_propagation_headers to get a hash of headers to add to your request.

Bug Fixes

  • Duplicate Rails.logger before assigning it to the SDK (#2086)
Commits
  • 4db04ba release: 5.11.0
  • 7550db5 Prepare changelog for 5.11.0 (#2101)
  • 6d67059 Consolidate ActiveRecord and Redis database spans with Span::DataConventions ...
  • 9f055b5 Consolidate Sentry::Span::DataConventions with OpenTelemetry (#2093)
  • 9641957 Tracing without performance (#2084)
  • 74103ea Pin irb to 1.7.4 for ruby 2.7 / rails 6.0.0 (#2097)
  • 86dfaea Add sampled field to dynamic_sampling_context (#2092)
  • 8abb2d2 Duplicate Rails.logger before assigning it to the SDK (#2086)
  • bc0f8ce Add new trace_propagation_targets configuration (#2079)
  • 94a4895 Expose :value in SingleExceptionInterface (#2072)
  • Additional commits viewable in compare view

Updates sentry-rails from 5.10.0 to 5.11.0

Changelog

Sourced from sentry-rails's changelog.

5.11.0

Features

  • Make :value in SingleExceptionInterface writable, so that it can be modified in before_send under event.exception.values[n].value #2072

  • Add sampled field to dynamic_sampling_context #2092

  • Consolidate HTTP span data conventions with OpenTelemetry with Sentry::Span::DataConventions #2093

  • Consolidate database span data conventions with OpenTelemetry for ActiveRecord and Redis #2100

  • Add new config.trace_propagation_targets option to set targets for which headers are propagated in outgoing HTTP requests #2079

    # takes an array of strings or regexps
    config.trace_propagation_targets = [/.*/]  # default is to all targets
    config.trace_propagation_targets = [/example.com/, 'foobar.org/api/v2']
  • Tracing without Performance

    • Implement PropagationContext on Scope and add Sentry.get_trace_propagation_headers API #2084
    • Implement Sentry.continue_trace API #2089

    The SDK now supports connecting arbitrary events (Errors / Transactions / Replays) across distributed services and not just Transactions.
    To continue an incoming trace starting with this version of the SDK, use Sentry.continue_trace as follows.

    # rack application
    def call(env)
      transaction = Sentry.continue_trace(env, name: 'transaction', op: 'op')
      Sentry.start_transaction(transaction: transaction)
    end

    To inject headers into outgoing requests, use Sentry.get_trace_propagation_headers to get a hash of headers to add to your request.

Bug Fixes

  • Duplicate Rails.logger before assigning it to the SDK (#2086)
Commits
  • 4db04ba release: 5.11.0
  • 7550db5 Prepare changelog for 5.11.0 (#2101)
  • 6d67059 Consolidate ActiveRecord and Redis database spans with Span::DataConventions ...
  • 9f055b5 Consolidate Sentry::Span::DataConventions with OpenTelemetry (#2093)
  • 9641957 Tracing without performance (#2084)
  • 74103ea Pin irb to 1.7.4 for ruby 2.7 / rails 6.0.0 (#2097)
  • 86dfaea Add sampled field to dynamic_sampling_context (#2092)
  • 8abb2d2 Duplicate Rails.logger before assigning it to the SDK (#2086)
  • bc0f8ce Add new trace_propagation_targets configuration (#2079)
  • 94a4895 Expose :value in SingleExceptionInterface (#2072)
  • Additional commits viewable in compare view


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

Merge request reports