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



5
6
7
# File 'lib/grifter/instrumentation.rb', line 5

def duration_ms
  @duration_ms
end

#end_timeObject

Returns the value of attribute end_time

Returns:

  • (Object)

    the current value of end_time



5
6
7
# File 'lib/grifter/instrumentation.rb', line 5

def end_time
  @end_time
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



5
6
7
# File 'lib/grifter/instrumentation.rb', line 5

def method
  @method
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



5
6
7
# File 'lib/grifter/instrumentation.rb', line 5

def path
  @path
end

#service_nameObject

Returns the value of attribute service_name

Returns:

  • (Object)

    the current value of service_name



5
6
7
# File 'lib/grifter/instrumentation.rb', line 5

def service_name
  @service_name
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



5
6
7
# File 'lib/grifter/instrumentation.rb', line 5

def status
  @status
end