formatTextMap top-level constant

String const formatTextMap

Represents SpanContexts using a Map<String, String> map as a carrier.

NOTE: Unlike formatHttpHeaders, formatTextMap places no restrictions on the characters used in either the keys or the values of the map entries.

The formatTextMap carrier map may contain unrelated data (e.g., arbitrary gRPC metadata); as such, the Tracer implementation should use a prefix or other convention to distinguish Tracer-specific key:value pairs.

Implementation

const String formatTextMap = 'text_map';