Class: LogBrew::TraceContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/logbrew/trace.rb

Instance Attribute Summary collapse

Instance Attribute Details

#parent_span_idObject

Returns the value of attribute parent_span_id

Returns:

  • (Object)

    the current value of parent_span_id



6
7
8
# File 'lib/logbrew/trace.rb', line 6

def parent_span_id
  @parent_span_id
end

#sampledObject

Returns the value of attribute sampled

Returns:

  • (Object)

    the current value of sampled



6
7
8
# File 'lib/logbrew/trace.rb', line 6

def sampled
  @sampled
end

#span_idObject

Returns the value of attribute span_id

Returns:

  • (Object)

    the current value of span_id



6
7
8
# File 'lib/logbrew/trace.rb', line 6

def span_id
  @span_id
end

#trace_flagsObject

Returns the value of attribute trace_flags

Returns:

  • (Object)

    the current value of trace_flags



6
7
8
# File 'lib/logbrew/trace.rb', line 6

def trace_flags
  @trace_flags
end

#trace_idObject

Returns the value of attribute trace_id

Returns:

  • (Object)

    the current value of trace_id



6
7
8
# File 'lib/logbrew/trace.rb', line 6

def trace_id
  @trace_id
end