Skip to content

I get a message to include the 'stackprof' gem while I'm using 'vernier' for profiling #2534

@pil0u

Description

@pil0u

Issue Description

Whenever I enter the Rails console or deploy my code, I get this message:

Please make sure to include the 'stackprof' gem in your Gemfile to use Profiling with Sentry.

I'm profiling with Sentry using vernier, so I shouldn't need stackprof (from what I understood from the docs).

Reproduction Steps

Use vernier gem for profiling without stackprof.

Expected Behavior

No message inviting me to use stackprof.

Actual Behavior

Getting a message inviting me to use stackprof.

Ruby Version

3.4.1

SDK Version

5.22.2

Integration and Its Version

Rails 8.0.1

Sentry Config

Sentry.init do |config|
  config.dsn = Rails.application.credentials.dig(:sentry, :dsn)

  config.breadcrumbs_logger = [ :sentry_logger, :http_logger, :monotonic_active_support_logger ]
  config.debug = true
  config.traces_sample_rate = 1.0
  config.profiler_class = Sentry::Vernier::Profiler
  config.profiles_sample_rate = 1.0
end

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions