class OpenCensus::Trace::TimeEvent
A time-stamped annotation or message event in the Span
.
Attributes
time[R]
The time the event occurred.
@return [Time]
Public Class Methods
new(time: nil)
click to toggle source
Create a TimeEvent
object
@private
# File lib/opencensus/trace/time_event.rb, line 34 def initialize time: nil @time = time || ::Time.now.utc end