Class: Liteguard::TraceContext

Inherits:
Data
  • Object
show all
Defined in:
lib/liteguard/types.rb

Overview

OpenTelemetry trace correlation attached to a Signal.

Instance Attribute Summary collapse

Instance Attribute Details

#parent_span_idObject (readonly)

Returns the value of attribute parent_span_id

Returns:

  • (Object)

    the current value of parent_span_id



53
54
55
# File 'lib/liteguard/types.rb', line 53

def parent_span_id
  @parent_span_id
end

#span_idObject (readonly)

Returns the value of attribute span_id

Returns:

  • (Object)

    the current value of span_id



53
54
55
# File 'lib/liteguard/types.rb', line 53

def span_id
  @span_id
end

#trace_idObject (readonly)

Returns the value of attribute trace_id

Returns:

  • (Object)

    the current value of trace_id



53
54
55
# File 'lib/liteguard/types.rb', line 53

def trace_id
  @trace_id
end