Sha256: e60073f30537ea853429902cae430e3f97628296fb608a3d33d2209de51e8302

Contents?: true

Size: 718 Bytes

Versions: 16

Compression:

Stored size: 718 Bytes

Contents

# frozen_string_literal: true

# Copyright The OpenTelemetry Authors
#
# SPDX-License-Identifier: Apache-2.0

require 'opentelemetry/baggage/propagation/context_keys'
require 'opentelemetry/baggage/propagation/text_map_propagator'

module OpenTelemetry
  module Baggage
    # The Baggage::Propagation module contains a text map propagator for
    # sending and receiving baggage over the wire.
    module Propagation
      extend self

      TEXT_MAP_PROPAGATOR = TextMapPropagator.new

      private_constant :TEXT_MAP_PROPAGATOR

      # Returns a text map propagator that propagates context using the
      # W3C Baggage format.
      def text_map_propagator
        TEXT_MAP_PROPAGATOR
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
opentelemetry-api-1.4.0 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.3.0 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.2.5 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.2.4 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.2.3 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.2.2 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.2.1 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.2.0 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.1.0 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.0.2 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.0.1 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.0.0 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.0.0.rc3 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.0.0.rc2 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-1.0.0.rc1 lib/opentelemetry/baggage/propagation.rb
opentelemetry-api-0.17.0 lib/opentelemetry/baggage/propagation.rb