Skip to content

Commit

Permalink
Upgrade: Bump sentry-ruby, sentry-rails and sentry-sidekiq (#4155)
Browse files Browse the repository at this point in the history
Bumps [sentry-ruby](https://github.com/getsentry/sentry-ruby),
[sentry-rails](https://github.com/getsentry/sentry-ruby) and
[sentry-sidekiq](https://github.com/getsentry/sentry-ruby). These
dependencies needed to be updated together.
Updates `sentry-ruby` from 5.10.0 to 5.11.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md">sentry-ruby's
changelog</a>.</em></p>
<blockquote>
<h2>5.11.0</h2>
<h3>Features</h3>
<ul>
<li>
<p>Make <code>:value</code> in <code>SingleExceptionInterface</code>
writable, so that it can be modified in <code>before_send</code> under
<code>event.exception.values[n].value</code> <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2072">#2072</a></p>
</li>
<li>
<p>Add <code>sampled</code> field to
<code>dynamic_sampling_context</code> <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2092">#2092</a></p>
</li>
<li>
<p>Consolidate HTTP span data conventions with OpenTelemetry with
<code>Sentry::Span::DataConventions</code> <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2093">#2093</a></p>
</li>
<li>
<p>Consolidate database span data conventions with OpenTelemetry for
ActiveRecord and Redis <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2100">#2100</a></p>
</li>
<li>
<p>Add new <code>config.trace_propagation_targets</code> option to set
targets for which headers are propagated in outgoing HTTP requests <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2079">#2079</a></p>
<pre lang="rb"><code># 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']
</code></pre>
</li>
<li>
<p>Tracing without Performance</p>
<ul>
<li>Implement <code>PropagationContext</code> on <code>Scope</code> and
add <code>Sentry.get_trace_propagation_headers</code> API <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2084">#2084</a></li>
<li>Implement <code>Sentry.continue_trace</code> API <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2089">#2089</a></li>
</ul>
<p>The SDK now supports connecting arbitrary events (Errors /
Transactions / Replays) across distributed services and not just
Transactions.<br />
To continue an incoming trace starting with this version of the SDK, use
<code>Sentry.continue_trace</code> as follows.</p>
<pre lang="rb"><code># rack application
def call(env)
transaction = Sentry.continue_trace(env, name: 'transaction', op: 'op')
  Sentry.start_transaction(transaction: transaction)
end
</code></pre>
<p>To inject headers into outgoing requests, use
<code>Sentry.get_trace_propagation_headers</code> to get a hash of
headers to add to your request.</p>
</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Duplicate <code>Rails.logger</code> before assigning it to the SDK
(<a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2086">#2086</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/4db04ba8a8dd463449198099417a1969e143621f"><code>4db04ba</code></a>
release: 5.11.0</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/7550db58e792cfc4e918685681f1549953c813a9"><code>7550db5</code></a>
Prepare changelog for 5.11.0 (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2101">#2101</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/6d670596a5eed801a54c31e4fffa1638f090a555"><code>6d67059</code></a>
Consolidate ActiveRecord and Redis database spans with
Span::DataConventions ...</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/9f055b594d93e2e0dbf55f2536b422c31fd20aa0"><code>9f055b5</code></a>
Consolidate Sentry::Span::DataConventions with OpenTelemetry (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2093">#2093</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/9641957b70a5e1342c24463567a1de67640a2815"><code>9641957</code></a>
Tracing without performance (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2084">#2084</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/74103eaf8594ccb6467b1728ae80231b00384b45"><code>74103ea</code></a>
Pin irb to 1.7.4 for ruby 2.7 / rails 6.0.0 (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2097">#2097</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/86dfaeaabea5c205820b9f447e8f946362d216d5"><code>86dfaea</code></a>
Add sampled field to dynamic_sampling_context (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2092">#2092</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/8abb2d213fb96ed45130956a3452e9cc7a097de0"><code>8abb2d2</code></a>
Duplicate <code>Rails.logger</code> before assigning it to the SDK (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2086">#2086</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/bc0f8ce9bffd222d3ddc42225d01c66bc91c6837"><code>bc0f8ce</code></a>
Add new trace_propagation_targets configuration (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2079">#2079</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/94a489516ec4aea8d366dd6ff03066d9cfbbf79a"><code>94a4895</code></a>
Expose <code>:value</code> in <code>SingleExceptionInterface</code> (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2072">#2072</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-ruby/compare/5.10.0...5.11.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `sentry-rails` from 5.10.0 to 5.11.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md">sentry-rails's
changelog</a>.</em></p>
<blockquote>
<h2>5.11.0</h2>
<h3>Features</h3>
<ul>
<li>
<p>Make <code>:value</code> in <code>SingleExceptionInterface</code>
writable, so that it can be modified in <code>before_send</code> under
<code>event.exception.values[n].value</code> <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2072">#2072</a></p>
</li>
<li>
<p>Add <code>sampled</code> field to
<code>dynamic_sampling_context</code> <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2092">#2092</a></p>
</li>
<li>
<p>Consolidate HTTP span data conventions with OpenTelemetry with
<code>Sentry::Span::DataConventions</code> <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2093">#2093</a></p>
</li>
<li>
<p>Consolidate database span data conventions with OpenTelemetry for
ActiveRecord and Redis <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2100">#2100</a></p>
</li>
<li>
<p>Add new <code>config.trace_propagation_targets</code> option to set
targets for which headers are propagated in outgoing HTTP requests <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2079">#2079</a></p>
<pre lang="rb"><code># 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']
</code></pre>
</li>
<li>
<p>Tracing without Performance</p>
<ul>
<li>Implement <code>PropagationContext</code> on <code>Scope</code> and
add <code>Sentry.get_trace_propagation_headers</code> API <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2084">#2084</a></li>
<li>Implement <code>Sentry.continue_trace</code> API <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2089">#2089</a></li>
</ul>
<p>The SDK now supports connecting arbitrary events (Errors /
Transactions / Replays) across distributed services and not just
Transactions.<br />
To continue an incoming trace starting with this version of the SDK, use
<code>Sentry.continue_trace</code> as follows.</p>
<pre lang="rb"><code># rack application
def call(env)
transaction = Sentry.continue_trace(env, name: 'transaction', op: 'op')
  Sentry.start_transaction(transaction: transaction)
end
</code></pre>
<p>To inject headers into outgoing requests, use
<code>Sentry.get_trace_propagation_headers</code> to get a hash of
headers to add to your request.</p>
</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Duplicate <code>Rails.logger</code> before assigning it to the SDK
(<a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2086">#2086</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/4db04ba8a8dd463449198099417a1969e143621f"><code>4db04ba</code></a>
release: 5.11.0</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/7550db58e792cfc4e918685681f1549953c813a9"><code>7550db5</code></a>
Prepare changelog for 5.11.0 (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2101">#2101</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/6d670596a5eed801a54c31e4fffa1638f090a555"><code>6d67059</code></a>
Consolidate ActiveRecord and Redis database spans with
Span::DataConventions ...</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/9f055b594d93e2e0dbf55f2536b422c31fd20aa0"><code>9f055b5</code></a>
Consolidate Sentry::Span::DataConventions with OpenTelemetry (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2093">#2093</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/9641957b70a5e1342c24463567a1de67640a2815"><code>9641957</code></a>
Tracing without performance (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2084">#2084</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/74103eaf8594ccb6467b1728ae80231b00384b45"><code>74103ea</code></a>
Pin irb to 1.7.4 for ruby 2.7 / rails 6.0.0 (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2097">#2097</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/86dfaeaabea5c205820b9f447e8f946362d216d5"><code>86dfaea</code></a>
Add sampled field to dynamic_sampling_context (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2092">#2092</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/8abb2d213fb96ed45130956a3452e9cc7a097de0"><code>8abb2d2</code></a>
Duplicate <code>Rails.logger</code> before assigning it to the SDK (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2086">#2086</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/bc0f8ce9bffd222d3ddc42225d01c66bc91c6837"><code>bc0f8ce</code></a>
Add new trace_propagation_targets configuration (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2079">#2079</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/94a489516ec4aea8d366dd6ff03066d9cfbbf79a"><code>94a4895</code></a>
Expose <code>:value</code> in <code>SingleExceptionInterface</code> (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2072">#2072</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-ruby/compare/5.10.0...5.11.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `sentry-sidekiq` from 5.10.0 to 5.11.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md">sentry-sidekiq's
changelog</a>.</em></p>
<blockquote>
<h2>5.11.0</h2>
<h3>Features</h3>
<ul>
<li>
<p>Make <code>:value</code> in <code>SingleExceptionInterface</code>
writable, so that it can be modified in <code>before_send</code> under
<code>event.exception.values[n].value</code> <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2072">#2072</a></p>
</li>
<li>
<p>Add <code>sampled</code> field to
<code>dynamic_sampling_context</code> <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2092">#2092</a></p>
</li>
<li>
<p>Consolidate HTTP span data conventions with OpenTelemetry with
<code>Sentry::Span::DataConventions</code> <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2093">#2093</a></p>
</li>
<li>
<p>Consolidate database span data conventions with OpenTelemetry for
ActiveRecord and Redis <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2100">#2100</a></p>
</li>
<li>
<p>Add new <code>config.trace_propagation_targets</code> option to set
targets for which headers are propagated in outgoing HTTP requests <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2079">#2079</a></p>
<pre lang="rb"><code># 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']
</code></pre>
</li>
<li>
<p>Tracing without Performance</p>
<ul>
<li>Implement <code>PropagationContext</code> on <code>Scope</code> and
add <code>Sentry.get_trace_propagation_headers</code> API <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2084">#2084</a></li>
<li>Implement <code>Sentry.continue_trace</code> API <a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2089">#2089</a></li>
</ul>
<p>The SDK now supports connecting arbitrary events (Errors /
Transactions / Replays) across distributed services and not just
Transactions.<br />
To continue an incoming trace starting with this version of the SDK, use
<code>Sentry.continue_trace</code> as follows.</p>
<pre lang="rb"><code># rack application
def call(env)
transaction = Sentry.continue_trace(env, name: 'transaction', op: 'op')
  Sentry.start_transaction(transaction: transaction)
end
</code></pre>
<p>To inject headers into outgoing requests, use
<code>Sentry.get_trace_propagation_headers</code> to get a hash of
headers to add to your request.</p>
</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Duplicate <code>Rails.logger</code> before assigning it to the SDK
(<a
href="https://redirect.github.com/getsentry/sentry-ruby/pull/2086">#2086</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/4db04ba8a8dd463449198099417a1969e143621f"><code>4db04ba</code></a>
release: 5.11.0</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/7550db58e792cfc4e918685681f1549953c813a9"><code>7550db5</code></a>
Prepare changelog for 5.11.0 (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2101">#2101</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/6d670596a5eed801a54c31e4fffa1638f090a555"><code>6d67059</code></a>
Consolidate ActiveRecord and Redis database spans with
Span::DataConventions ...</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/9f055b594d93e2e0dbf55f2536b422c31fd20aa0"><code>9f055b5</code></a>
Consolidate Sentry::Span::DataConventions with OpenTelemetry (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2093">#2093</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/9641957b70a5e1342c24463567a1de67640a2815"><code>9641957</code></a>
Tracing without performance (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2084">#2084</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/74103eaf8594ccb6467b1728ae80231b00384b45"><code>74103ea</code></a>
Pin irb to 1.7.4 for ruby 2.7 / rails 6.0.0 (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2097">#2097</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/86dfaeaabea5c205820b9f447e8f946362d216d5"><code>86dfaea</code></a>
Add sampled field to dynamic_sampling_context (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2092">#2092</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/8abb2d213fb96ed45130956a3452e9cc7a097de0"><code>8abb2d2</code></a>
Duplicate <code>Rails.logger</code> before assigning it to the SDK (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2086">#2086</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/bc0f8ce9bffd222d3ddc42225d01c66bc91c6837"><code>bc0f8ce</code></a>
Add new trace_propagation_targets configuration (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2079">#2079</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-ruby/commit/94a489516ec4aea8d366dd6ff03066d9cfbbf79a"><code>94a4895</code></a>
Expose <code>:value</code> in <code>SingleExceptionInterface</code> (<a
href="https://redirect.github.com/getsentry/sentry-ruby/issues/2072">#2072</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-ruby/compare/5.10.0...5.11.0">compare
view</a></li>
</ul>
</details>
<br />


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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Sep 19, 2023
1 parent 7379658 commit 237001c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ gem 'redis', '~> 5.0'
gem 'ruby-progressbar', '~> 1.13'
gem 'sass-rails', '~> 6.0'
gem 'seed-fu', '~> 2.3'
gem 'sentry-rails', '~> 5.4'
gem 'sentry-ruby', '~> 5.9'
gem 'sentry-sidekiq', '~> 5.10'
gem 'sentry-rails', '~> 5.11'
gem 'sentry-ruby', '~> 5.11'
gem 'sentry-sidekiq', '~> 5.11'
gem 'shakapacker', '6.6.0'
gem 'sidekiq', '~> 7.1'
gem 'turbo-rails', '~> 1.4'
Expand Down
18 changes: 9 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ GEM
redcarpet (3.6.0)
redis (5.0.6)
redis-client (>= 0.9.0)
redis-client (0.14.1)
redis-client (0.17.0)
connection_pool
regexp_parser (2.8.1)
reline (0.3.3)
Expand Down Expand Up @@ -497,13 +497,13 @@ GEM
activerecord (>= 3.1)
activesupport (>= 3.1)
semantic_range (3.0.0)
sentry-rails (5.10.0)
sentry-rails (5.11.0)
railties (>= 5.0)
sentry-ruby (~> 5.10.0)
sentry-ruby (5.10.0)
sentry-ruby (~> 5.11.0)
sentry-ruby (5.11.0)
concurrent-ruby (~> 1.0, >= 1.0.2)
sentry-sidekiq (5.10.0)
sentry-ruby (~> 5.10.0)
sentry-sidekiq (5.11.0)
sentry-ruby (~> 5.11.0)
sidekiq (>= 3.0)
shakapacker (6.6.0)
activesupport (>= 5.2)
Expand Down Expand Up @@ -633,9 +633,9 @@ DEPENDENCIES
ruby-progressbar (~> 1.13)
sass-rails (~> 6.0)
seed-fu (~> 2.3)
sentry-rails (~> 5.4)
sentry-ruby (~> 5.9)
sentry-sidekiq (~> 5.10)
sentry-rails (~> 5.11)
sentry-ruby (~> 5.11)
sentry-sidekiq (~> 5.11)
shakapacker (= 6.6.0)
shoulda-matchers (~> 5.3)
sidekiq (~> 7.1)
Expand Down

0 comments on commit 237001c

Please sign in to comment.