Sha256: 247ce47eeb63d9a3ae1ae712ee883f804840d590de30d4d7cb1aa3be111b3f39

Contents?: true

Size: 225 Bytes

Versions: 26

Compression:

Stored size: 225 Bytes

Contents

module Sentry
  class BenchmarkTransport < Transport
    attr_accessor :events

    def initialize(*)
      super
      @events = []
    end

    def send_event(event)
      @events << encode(event.to_hash)
    end
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
sentry-ruby-core-4.5.1 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.5.0 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.5.0.pre.beta.1 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.4.2 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.4.1 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.4.0 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.4.0.pre.beta.0 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.3.2 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.3.1 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.3.0 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.2.2 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.2.1 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.2.0 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.1.6 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.1.5 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.1.5.pre.beta.1 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-core-4.1.5.pre.beta.0 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-4.1.4 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-4.1.3 lib/sentry/benchmarks/benchmark_transport.rb
sentry-ruby-4.1.2 lib/sentry/benchmarks/benchmark_transport.rb