Sha256: 9e711139c7fe193e16286e2bdba809b0b9e5873bfa40c05ffc2d8b2ec60d4935

Contents?: true

Size: 348 Bytes

Versions: 44

Compression:

Stored size: 348 Bytes

Contents

module Sentry
  module Rails
    module InstrumentPayloadCleanupHelper
      IGNORED_DATA_TYPES = [:request, :response, :headers, :exception, :exception_object, Tracing::START_TIMESTAMP_NAME]

      def cleanup_data(data)
        IGNORED_DATA_TYPES.each do |key|
          data.delete(key) if data.key?(key)
        end
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
sentry-rails-5.20.1 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.20.0 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.19.0 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.18.2 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.18.1 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.18.0 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.17.3 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.17.2 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.17.1 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.17.0 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.16.1 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.15.2 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.15.1 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.15.0 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.14.0 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.13.0 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.12.0 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.11.0 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.10.0 lib/sentry/rails/instrument_payload_cleanup_helper.rb
sentry-rails-5.9.0 lib/sentry/rails/instrument_payload_cleanup_helper.rb