module Sentry::Rails::Breadcrumb::MonotonicActiveSupportLogger
def add(name, started, _finished, _unique_id, data)
def add(name, started, _finished, _unique_id, data) # skip Rails' internal events return if name.start_with?("!") if data.is_a?(Hash) # we should only mutate the copy of the data data = data.dup cleanup_data(data) end crumb = Sentry::Breadcrumb.new( data: data, category: name, timestamp: started.to_i ) Sentry.add_breadcrumb(crumb) end