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
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 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-rails from 5.17.3 to 5.21.0.
Changelog
Sourced from sentry-rails's changelog.
... (truncated)
Commits
d56c2bb
release: 5.21.05b1b558
Consistent string freezing (#2422)84bf2cf
release: 5.20.1d96e8e1
Ignore rubocop file in spec files (#2420)34ba320
release: 5.20.06181b7b
Support Rails 7.2 on CI (#2382)5c26b9e
Fix rubocop setup (for some envs) (#2377)43c5cc2
release: 5.19.0a09da50
Include Sentry meta tag in the layout automatically (#2369)cdf8a4a
release: 5.18.2Dependabot 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