Sha256: 0165642f2ad851a49883a7a8191921a6d5fcb88eecd12af5a2de0b0f034a5361

Contents?: true

Size: 345 Bytes

Versions: 5

Compression:

Stored size: 345 Bytes

Contents

# typed: true
module Datadog
  module OpenTracer
    # OpenTracing adapter for SpanContext
    class SpanContext < ::OpenTracing::SpanContext
      attr_reader \
        :datadog_context

      def initialize(datadog_context:, baggage: {})
        @datadog_context = datadog_context
        @baggage = baggage.freeze
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ddtrace-0.54.2 lib/ddtrace/opentracer/span_context.rb
ddtrace-0.54.1 lib/ddtrace/opentracer/span_context.rb
ddtrace-0.54.0 lib/ddtrace/opentracer/span_context.rb
ddtrace-0.53.0 lib/ddtrace/opentracer/span_context.rb
ddtrace-0.52.0 lib/ddtrace/opentracer/span_context.rb