Method: Sentry::Client#flush

Defined in:
lib/sentry/client.rb

#flushvoid

This method returns an undefined value.

Flush pending events to Sentry.



133
134
135
136
137
138
# File 'lib/sentry/client.rb', line 133

def flush
  transport.flush if configuration.sending_to_dsn_allowed?
  spotlight_transport.flush if spotlight_transport
  @log_event_buffer&.flush
  @metric_event_buffer&.flush
end