module Sentry::Rails::Breadcrumb::MonotonicActiveSupportLogger

def inject

def inject
  @subscriber = ::ActiveSupport::Notifications.monotonic_subscribe(/.*/) do |name, started, finished, unique_id, data|
    # we only record events that has a float as started timestamp
    if started.is_a?(Float)
      add(name, started, finished, unique_id, data)
    end
  end
end