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.0 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-1.0.0.rc.1 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.rc.14 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.rc.13 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.rc.12 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.rc.11 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.rc.10 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.rc.9 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.rc.8 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.rc.7 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.rc.6 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.rc.5 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.beta.54 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.beta.53 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.beta.52 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.beta.51 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.beta.50 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.beta.49 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.beta.48 lib/appsignal/event_formatter/net_http/request_formatter.rb
appsignal-0.12.beta.47 lib/appsignal/event_formatter/net_http/request_formatter.rb