Bump sentry-ruby from 5.20.1 to 5.21.0 #1306

Merged
dependabot[bot] merged 1 commits from dependabot/bundler/sentry-ruby-5.21.0 into main 2024-10-14 23:01:17 +08:00
dependabot[bot] commented 2024-10-14 15:33:18 +08:00 (Migrated from github.com)

Bumps sentry-ruby from 5.20.1 to 5.21.0.

Changelog

Sourced from sentry-ruby's changelog.

5.21.0

Features

  • Experimental support for multi-threaded profiling using Vernier (#2372)

    You can have much better profiles if you're using multi-threaded servers like Puma now by leveraging Vernier. To use it, first add vernier to your Gemfile and make sure it is loaded before sentry-ruby.

    # Gemfile
    

    gem 'vernier'
    gem 'sentry-ruby'

    Then, set a profiles_sample_rate and the new profiler_class configuration in your sentry initializer to use the new profiler.

    # config/initializers/sentry.rb
    

    Sentry.init do |config|

    ...

    config.profiles_sample_rate = 1.0
    config.profiler_class = Sentry::Vernier::Profiler
    end

Internal

  • Profile items have bigger size limit now (#2421)
  • Consistent string freezing (#2422)
Commits

Dependabot compatibility score

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 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)
Bumps [sentry-ruby](https://github.com/getsentry/sentry-ruby) from 5.20.1 to 5.21.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.21.0</h2> <h3>Features</h3> <ul> <li> <p>Experimental support for multi-threaded profiling using <a href="https://github.com/jhawthorn/vernier">Vernier</a> (<a href="https://redirect.github.com/getsentry/sentry-ruby/pull/2372">#2372</a>)</p> <p>You can have much better profiles if you're using multi-threaded servers like Puma now by leveraging Vernier. To use it, first add <code>vernier</code> to your <code>Gemfile</code> and make sure it is loaded before <code>sentry-ruby</code>.</p> <pre lang="ruby"><code># Gemfile <p>gem 'vernier'<br /> gem 'sentry-ruby'<br /> </code></pre></p> <p>Then, set a <code>profiles_sample_rate</code> and the new <code>profiler_class</code> configuration in your sentry initializer to use the new profiler.</p> <pre lang="ruby"><code># config/initializers/sentry.rb <p>Sentry.init do |config|</p> <h1>...</h1> <p>config.profiles_sample_rate = 1.0<br /> config.profiler_class = Sentry::Vernier::Profiler<br /> end<br /> </code></pre></p> </li> </ul> <h3>Internal</h3> <ul> <li>Profile items have bigger size limit now (<a href="https://redirect.github.com/getsentry/sentry-ruby/pull/2421">#2421</a>)</li> <li>Consistent string freezing (<a href="https://redirect.github.com/getsentry/sentry-ruby/pull/2422">#2422</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-ruby/commit/d56c2bbb481d0a0956c4d7dc47b75c23b93301ee"><code>d56c2bb</code></a> release: 5.21.0</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/5b1b558a5aa4bcf5aa15af78e508dc3cfb74ccc7"><code>5b1b558</code></a> Consistent string freezing (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2422">#2422</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/8dc3d2d8aa296fc84f0e9e09d40f7901233152d7"><code>8dc3d2d</code></a> Experimental support for multi-threaded profiling using Vernier (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2372">#2372</a>)</li> <li><a href="https://github.com/getsentry/sentry-ruby/commit/a070e08c58f66e2c629b975a25144588a01901f9"><code>a070e08</code></a> Generalize size limits based on envelope item type (<a href="https://redirect.github.com/getsentry/sentry-ruby/issues/2421">#2421</a>)</li> <li>See full diff in <a href="https://github.com/getsentry/sentry-ruby/compare/5.20.1...5.21.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sentry-ruby&package-manager=bundler&previous-version=5.20.1&new-version=5.21.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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>
Sign in to join this conversation.