OpenTracing shim

OpenTracing shim allows existing OpenTracing instrumentation to report to OpenTelemetry
Note: Baggage is currently not propagated, see issues/329.
Installation
npm install --save @opentelemetry/shim-opentracing
Usage
Use the TracerShim wherever you initialize your OpenTracing tracers.
const opentracing = require('opentracing');
const tracer = myOpenTracingTracer(...);
opentracing.initGlobalTracer(tracer);
import { TracerShim } from '@opentelemetry/shim-opentracing';
const tracer = myOpenTelemetryTracer(...)
opentracing.initGlobalTracer(new TracerShim(tracer));
See examples/opentracing-shim for a short example.
License
Apache 2.0 - See LICENSE for more information.