module Vestige

Constants

TRACE_ID_KEY
VERSION

Public Class Methods

patch_net_http!() click to toggle source
# File lib/vestige.rb, line 25
def self.patch_net_http!
  Net::HTTPGenericRequest.prepend(NetHttpPatch)
end
trace_id() click to toggle source
# File lib/vestige.rb, line 17
def self.trace_id
  Thread.current[TRACE_ID_KEY]
end
trace_id=(trace_id) click to toggle source
# File lib/vestige.rb, line 21
def self.trace_id=(trace_id)
  Thread.current[TRACE_ID_KEY] = trace_id
end