Sha256: b24a5a075fac18aa57c95f7e7a518f2753f6e320a6677bfa49f2de8bcc7a8c88

Contents?: true

Size: 384 Bytes

Versions: 7

Compression:

Stored size: 384 Bytes

Contents

module OpenTracing
  # SpanContext holds the data for a span that gets inherited to child spans
  class SpanContext
    NOOP_INSTANCE = SpanContext.new.freeze

    attr_reader :baggage

    # Create a new SpanContext
    # @param id the ID of the Context
    # @param trace_id the ID of the current trace
    # @param baggage baggage
    def initialize(baggage: {})
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
opentracing-0.4.0 lib/opentracing/span_context.rb
opentracing-0.4.0.rc1 lib/opentracing/span_context.rb
opentracing-0.3.2 lib/opentracing/span_context.rb
opentracing-0.3.1 lib/opentracing/span_context.rb
opentracing-0.3.0 lib/opentracing/span_context.rb
opentracing-0.2.1 lib/opentracing/span_context.rb
opentracing-0.2.0 lib/opentracing/span_context.rb