Class: Dommy::Rack::Trace::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/dommy/rack/trace.rb

Overview

An event's kind. :action opens a user-action group that following events reference via action_seq. :http covers one request/response (a 3xx hop carries location, so the redirect chain is just successive :http events). t is the virtual clock (nil before a window exists); wall_ms is real monotonic milliseconds since the trace started, for spotting slow steps.

Instance Attribute Summary collapse

Instance Attribute Details

#action_seqObject

Returns the value of attribute action_seq

Returns:

  • (Object)

    the current value of action_seq



31
32
33
# File 'lib/dommy/rack/trace.rb', line 31

def action_seq
  @action_seq
end

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



31
32
33
# File 'lib/dommy/rack/trace.rb', line 31

def data
  @data
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



31
32
33
# File 'lib/dommy/rack/trace.rb', line 31

def name
  @name
end

#seqObject

Returns the value of attribute seq

Returns:

  • (Object)

    the current value of seq



31
32
33
# File 'lib/dommy/rack/trace.rb', line 31

def seq
  @seq
end

#tObject

Returns the value of attribute t

Returns:

  • (Object)

    the current value of t



31
32
33
# File 'lib/dommy/rack/trace.rb', line 31

def t
  @t
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



31
32
33
# File 'lib/dommy/rack/trace.rb', line 31

def type
  @type
end

#wall_msObject

Returns the value of attribute wall_ms

Returns:

  • (Object)

    the current value of wall_ms



31
32
33
# File 'lib/dommy/rack/trace.rb', line 31

def wall_ms
  @wall_ms
end