Class: Grifter::Instrumentation::Sample

Inherits:
Struct
  • Object
show all
Defined in:
lib/grifter/instrumentation.rb

Instance Attribute Summary collapse

Instance Attribute Details

#duration_msObject

Returns the value of attribute duration_ms

Returns:

  • (Object)

    the current value of duration_ms



7
8
9
# File 'lib/grifter/instrumentation.rb', line 7

def duration_ms
  @duration_ms
end

#end_timeObject

Returns the value of attribute end_time

Returns:

  • (Object)

    the current value of end_time



7
8
9
# File 'lib/grifter/instrumentation.rb', line 7

def end_time
  @end_time
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



7
8
9
# File 'lib/grifter/instrumentation.rb', line 7

def method
  @method
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



7
8
9
# File 'lib/grifter/instrumentation.rb', line 7

def path
  @path
end

#service_nameObject

Returns the value of attribute service_name

Returns:

  • (Object)

    the current value of service_name



7
8
9
# File 'lib/grifter/instrumentation.rb', line 7

def service_name
  @service_name
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



7
8
9
# File 'lib/grifter/instrumentation.rb', line 7

def status
  @status
end