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.1.9 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.9.beta.2 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.9.beta.1 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.8 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.2.0.alpha.3 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.7 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.2.0.alpha.2 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.7.beta.2 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.2.0.alpha.1 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.7.beta.1 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.6 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.6.beta.1 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.5 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.5.beta.4 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.5.beta.3 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.5.beta.2 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.5.beta.1 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.4 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.4.beta.3 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.1.4.beta.2 lib/appsignal/event_formatter/net_http/request_formatter.rb