lib/opentelemetry/context/propagation/rack_env_getter.rb in opentelemetry-api-1.0.0 vs lib/opentelemetry/context/propagation/rack_env_getter.rb in opentelemetry-api-1.0.1
- old
+ new
@@ -5,9 +5,12 @@
# SPDX-License-Identifier: Apache-2.0
module OpenTelemetry
class Context
module Propagation
+ # @deprecated Use the rack env getter found in the
+ # opentelemetry-common gem instead.
+
# The RackEnvGetter class provides a common methods for reading
# keys from a rack environment. It abstracts away the rack-normalization
# process so that keys can be looked up without having to transform them
# first. With this class you can get +traceparent+ instead of
# +HTTP_TRACEPARENT+