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 addvernierto yourGemfileand make sure it is loaded beforesentry-ruby.# Gemfile gem 'vernier' gem 'sentry-ruby'
Then, set a
profiles_sample_rateand the newprofiler_classconfiguration 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