You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project that uses sentry-ruby, sentry-rails, and sentry-sidekiq, all of version 5.21.0. When I enable Profiling according to the docs and deploy the application, I start getting the RuntimeError: profile not started from all of my Sidekiq workers
Reproduction Steps
Have a project with Sidekiq workers
Enable profiling according to the docs using the Vernier profiler
Try running workers
Expected Behavior
No errors, profile samples from workers are visible in Sentry UI
Actual Behavior
RuntimeError: profile not started
Ruby Version
3.3.4
SDK Version
5.21.0
Integration and Its Version
Rails 7.1.4.1, Sidekiq 7.1.6, Vernier 1.3.1
Sentry Config
# frozen_string_literal: trueifGlobal.sentry.enabled?Sentry.initdo |config|
config.dsn=Global.sentry.railsconfig.environment=Global.sentry.environmentconfig.release=ENV['DEPLOY_SHA'] || 'no-release'# post body, cookies, user IP is not sent to Sentry (the default, but we explicitly agree)config.send_default_pii=falseWarden::Manager.after_set_userdo |user|
Sentry.set_user(id: user&.id)endconfig.breadcrumbs_logger=%i[sentry_loggerhttp_loggerredis_loggeractive_support_logger]config.traces_sample_rate=1.0config.profiles_sample_rate=1.0config.profiler_class=Sentry::Vernier::Profilerconfig.sidekiq.report_after_job_retries=trueendend
The text was updated successfully, but these errors were encountered:
Issue Description
I have a project that uses
sentry-ruby
,sentry-rails
, andsentry-sidekiq
, all of version 5.21.0. When I enable Profiling according to the docs and deploy the application, I start getting theRuntimeError: profile not started
from all of my Sidekiq workersReproduction Steps
Expected Behavior
No errors, profile samples from workers are visible in Sentry UI
Actual Behavior
RuntimeError: profile not started
Ruby Version
3.3.4
SDK Version
5.21.0
Integration and Its Version
Rails 7.1.4.1, Sidekiq 7.1.6, Vernier 1.3.1
Sentry Config
The text was updated successfully, but these errors were encountered: