Sha256: 73502d0d463baf4f75d0781af514e317326499c10fb13ddfd22d96d233798100

Contents?: true

Size: 304 Bytes

Versions: 146

Compression:

Stored size: 304 Bytes

Contents

module Appsignal
  class EventFormatter
    module NetHttp
      class RequestFormatter < Appsignal::EventFormatter
        register 'request.net_http'

        def format(payload)
          ["#{payload[:method]} #{payload[:protocol]}://#{payload[:domain]}", nil]
        end
      end
    end
  end
end

Version data entries

146 entries across 146 versions & 1 rubygems

Version Path
appsignal-1.0.5.beta.4 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.5.beta.3 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.5.beta.2 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.5.beta.1 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.4 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.0.beta.6 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.3 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.3.beta.2 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.3.beta.1 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.0.beta.5 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.0.beta.4 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.0.beta.3 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.0.beta.2 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.0.beta.1 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.2 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.2.beta.4 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.2.beta.3 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.2.beta.2 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.2.beta.1 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.1 lib/appsignal/event_formatter/net_http/request_formatter.rb