NAME
OpenTracing::Propagation::Formats - constants for carrier formats
SYNOPSIS
use OpenTracing::Propagation::Formats ':ALL';
or just the ones you need:
use OpenTracing::Propagation::Formats qw/OPENTRACING_CARRIER_FORMAT_HTTP_HEADERS/;
CONSTANTS
This package doesn't export anything by default, you can use the :ALL
tag to get all provided constants or ask for specific ones. The following constants are provided:
OPENTRACING_CARRIER_FORMAT_TEXT
This format represents a SpanContext as hash with string values, with no restrictions for keys and value contents (unlike OPENTRACING_CARRIER_FORMAT_HTTP_HEADERS).
OPENTRACING_CARRIER_FORMAT_HTTP_HEADERS
This format represents a SpanContext as key-value pairs, similarly to OPENTRACING_CARRIER_FORMAT_TEXT. However, both keys and values must be suitable for use as HTTP headers (without modification or further escaping).
OPENTRACING_CARRIER_FORMAT_BINARY
This format represents a SpanContext as an opaque binary structure.