Sha256: ece77742571f720116df7cda6ffdc263ae8fa661cccf4b02b29accce7eec3c6b

Contents?: true

Size: 525 Bytes

Versions: 19

Compression:

Stored size: 525 Bytes

Contents

# frozen_string_literal: true

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

module OpenTelemetry
  class Context
    module Propagation
      # The default setter module provides a common method for writing
      # a key into a carrier that implements +[]=+
      class TextMapSetter
        # Writes key into a carrier that implements +[]=+. Useful for inject
        # operations.
        def set(carrier, key, value)
          carrier[key] = value
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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