Method: Sentry::Configuration#profiles_sample_rate

Defined in:
lib/sentry/configuration.rb

#profiles_sample_rateFloat?

Take a float between 0.0 and 1.0 as the sample rate for capturing profiles. Note that this rate is relative to traces_sample_rate / traces_sampler, i.e. the profile is sampled by this rate after the transaction is sampled.

Returns:

  • (Float, nil)
[View source]

303
304
305
# File 'lib/sentry/configuration.rb', line 303

def profiles_sample_rate
  @profiles_sample_rate
end