Method: ElasticAPM::Span#start

Defined in:
lib/elastic_apm/span.rb

#start(clock_start = Util.monotonic_micros) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

life cycle



104
105
106
107
108
109
# File 'lib/elastic_apm/span.rb', line 104

def start(clock_start = Util.monotonic_micros)
  @timestamp = Util.micros
  @clock_start = clock_start
  @parent.child_started
  self
end