Class: OpenTracing::SpanContext
- Inherits:
-
Object
- Object
- OpenTracing::SpanContext
- Defined in:
- lib/opentracing/span_context.rb
Overview
SpanContext holds the data for a span that gets inherited to child spans
Constant Summary collapse
- NOOP_INSTANCE =
SpanContext.new.freeze
Instance Attribute Summary collapse
-
#baggage ⇒ Object
readonly
Returns the value of attribute baggage.
Instance Method Summary collapse
-
#initialize(baggage: {}) ⇒ SpanContext
constructor
Create a new SpanContext.
Constructor Details
#initialize(baggage: {}) ⇒ SpanContext
Create a new SpanContext
12 |
# File 'lib/opentracing/span_context.rb', line 12 def initialize(baggage: {}); end |
Instance Attribute Details
#baggage ⇒ Object (readonly)
Returns the value of attribute baggage.
6 7 8 |
# File 'lib/opentracing/span_context.rb', line 6 def baggage @baggage end |