Sha256: a6a526b3121237e5dc3870e03d8e80f1096b5e31854f44b4085d0ffa57cd5f1a
Contents?: true
Size: 744 Bytes
Versions: 4
Compression:
Stored size: 744 Bytes
Contents
# frozen_string_literal: true # Copyright The OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 module OpenTelemetry class Context module Propagation # The Propagation class provides methods to inject and extract context # to pass across process boundaries class Propagation # Get or set the global http propagator. Use a CompositePropagator # to propagate multiple formats. attr_accessor :http # Get or set the global text propagator. Use a CompositePropagator # to propagate multiple formats. attr_accessor :text def initialize @http = @text = Propagator.new(NoopInjector.new, NoopExtractor.new) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems