Sha256: 697e49cd076d2621c99b640ff3389d49d3c17b7196c96649bbf72b1ef474a335

Contents?: true

Size: 475 Bytes

Versions: 16

Compression:

Stored size: 475 Bytes

Contents

# typed: true

module Datadog
  module OpenTracer
    # OpenTracing adapter for SpanContext
    # @public_api
    class SpanContext < ::OpenTracing::SpanContext
      attr_reader \
        :datadog_context,
        :datadog_trace_digest

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ddtrace-1.9.0 lib/datadog/opentracer/span_context.rb
ddtrace-1.8.0 lib/datadog/opentracer/span_context.rb
ddtrace-1.7.0 lib/datadog/opentracer/span_context.rb
ddtrace-1.6.1 lib/datadog/opentracer/span_context.rb
ddtrace-1.6.0 lib/datadog/opentracer/span_context.rb
ddtrace-1.5.2 lib/datadog/opentracer/span_context.rb
ddtrace-1.5.1 lib/datadog/opentracer/span_context.rb
ddtrace-1.5.0 lib/datadog/opentracer/span_context.rb
ddtrace-1.4.2 lib/datadog/opentracer/span_context.rb
ddtrace-1.4.1 lib/datadog/opentracer/span_context.rb
ddtrace-1.4.0 lib/datadog/opentracer/span_context.rb
ddtrace-1.3.0 lib/datadog/opentracer/span_context.rb
ddtrace-1.2.0 lib/datadog/opentracer/span_context.rb
ddtrace-1.1.0 lib/datadog/opentracer/span_context.rb
ddtrace-1.0.0 lib/datadog/opentracer/span_context.rb
ddtrace-1.0.0.beta2 lib/datadog/opentracer/span_context.rb