Method: Sentry::Configuration#sample_rate

Defined in:
lib/sentry/configuration.rb

#sample_rateFloat

The sampling factor to apply to events. A value of 0.0 will not send any events, and a value of 1.0 will send 100% of events.

Returns:

  • (Float)
[View source]

214
215
216
# File 'lib/sentry/configuration.rb', line 214

def sample_rate
  @sample_rate
end