Class: LogBrew::TraceparentContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/logbrew/traceparent.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



4
5
6
# File 'lib/logbrew/traceparent.rb', line 4

def parent_span_id
  @parent_span_id
end

#sampledObject

Returns the value of attribute sampled

Returns:

  • (Object)

    the current value of sampled



4
5
6
# File 'lib/logbrew/traceparent.rb', line 4

def sampled
  @sampled
end

#trace_flagsObject

Returns the value of attribute trace_flags

Returns:

  • (Object)

    the current value of trace_flags



4
5
6
# File 'lib/logbrew/traceparent.rb', line 4

def trace_flags
  @trace_flags
end

#trace_idObject

Returns the value of attribute trace_id

Returns:

  • (Object)

    the current value of trace_id



4
5
6
# File 'lib/logbrew/traceparent.rb', line 4

def trace_id
  @trace_id
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



4
5
6
# File 'lib/logbrew/traceparent.rb', line 4

def version
  @version
end