Skip to content

Mismatch in extract/inject format constants #5

@williambailey

Description

@williambailey

I'm having issues using this library as a transport for the opentracing package via opentracing.initGlobalTracer(tracer); due to a mismatch in the values of the transport constants.

The result is Error: extract called with unsupported format when trying to use the tracer to extract or inject.

The opentracing packages has export const FORMAT_HTTP_HEADERS = 'http_headers';

This packages has Tracing.FORMAT_HTTP_HEADERS = "FORMAT_HTTP_HEADERS";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions