The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

OpenTracing::Constants::CarrierFormat - constants for carrier formats

SYNOPSIS

    use OpenTracing::Constants::CarrierFormat ':ALL';

or just the ones you need:

    use OpenTracing::Constants::CarrierFormat
        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.