Class: Sleuth::Event

Inherits:
ActiveSupport::Notifications::Event
  • Object
show all
Defined in:
lib/sleuth/transaction.rb

Instance Method Summary collapse

Instance Method Details

#formatted_endObject


7
8
9
# File 'lib/sleuth/transaction.rb', line 7

def formatted_end
  "%s%06d" % [@end.utc.iso8601, @end.usec]
end

#formatted_timeObject


3
4
5
# File 'lib/sleuth/transaction.rb', line 3

def formatted_time
  "%s%06d" % [time.utc.iso8601, time.usec]
end