org.typelevel.otel4s.context.propagation.TextMapGetter
See theTextMapGetter companion object
Offers a way to get a string value associated with a given key.
A type class can be implemented for any data structure that stores key-value pairs.
Implicit instances of TextMapGetter
are provided for scala.collection.Map and scala.collection.Seq types. The behavior of TextMapGetter[Seq[(String, String)]]
when duplicate keys are present is unspecified, and may change at any time. In particular, if the behavior of Seq
types with duplicate keys is ever specified by open telemetry, the behavior of such implicit instances will be made to match the specification.
Type parameters
- A
-
the type of the key-value carrier
Attributes
- See also
-
See TextMapUpdater to update values of an immutable carrier
- Companion
- object
- Source
- TextMapGetter.scala
- Graph
-
- Supertypes
Members list
In this article