Sha256: ca6710bcba2577b892d81bf3c40931f79535f5c72a0097833ee688272de9ac7e
Contents?: true
Size: 613 Bytes
Versions: 13
Compression:
Stored size: 613 Bytes
Contents
# frozen_string_literal: true # Copyright The OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 module OpenTelemetry class Context module Propagation # @api private class NoopTextMapPropagator EMPTY_LIST = [].freeze private_constant(:EMPTY_LIST) def inject(carrier, context: Context.current, setter: Context::Propagation.text_map_setter); end def extract(carrier, context: Context.current, getter: Context::Propagation.text_map_getter) context end def fields EMPTY_LIST end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems