Module: ElasticAPM::ChildDurations::Methods Private

Included in:
Span, Transaction
Defined in:
lib/elastic_apm/child_durations.rb

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

Instance Method Summary collapse

Instance Method Details

#child_durationsObject

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.



25
26
27
# File 'lib/elastic_apm/child_durations.rb', line 25

def child_durations
  @child_durations ||= Durations.new
end

#child_startedObject

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.



29
30
31
# File 'lib/elastic_apm/child_durations.rb', line 29

def child_started
  child_durations.start
end

#child_stoppedObject

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.



33
34
35
# File 'lib/elastic_apm/child_durations.rb', line 33

def child_stopped
  child_durations.stop
end