Sha256: 774a4b0adb358b67225125d8c9804448a9b73ddac3a5975bd0a9711acc58275b

Contents?: true

Size: 602 Bytes

Versions: 23

Compression:

Stored size: 602 Bytes

Contents

# frozen_string_literal: true

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

module OpenTelemetry
  module Baggage
    module Propagation
      # The ContextKeys module contains the keys used to index baggage
      # in a {Context} instance
      module ContextKeys
        extend self

        BAGGAGE_KEY = Context.create_key('baggage')
        private_constant :BAGGAGE_KEY

        # Returns the context key that baggage are indexed by
        #
        # @return [Context::Key]
        def baggage_key
          BAGGAGE_KEY
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

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