Class: ElasticAPM::Span::Context::Links::Link Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/elastic_apm/span/context/links.rb

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

Instance Attribute Summary collapse

Instance Attribute Details

#span_idObject

Returns the value of attribute span_id

Returns:

  • (Object)

    the current value of span_id



26
27
28
# File 'lib/elastic_apm/span/context/links.rb', line 26

def span_id
  @span_id
end

#trace_idObject

Returns the value of attribute trace_id

Returns:

  • (Object)

    the current value of trace_id



26
27
28
# File 'lib/elastic_apm/span/context/links.rb', line 26

def trace_id
  @trace_id
end