UNPKG

lightstep-tracer

Version:

> ❗ **This instrumentation is no longer recommended**. Please review [documentation on setting up and configuring the OpenTelemetry Node.js Launcher](https://github.com/lightstep/otel-launcher-node) or [OpenTelemetry JS (Browser)](https://github.com/open-

16 lines (13 loc) 368 B
export default class UnsupportedPropagator { constructor(tracer, name) { this._tracer = tracer; this._name = name; } inject(spanContext, carrier) { this._tracer._error(`Unsupported format: ${this._name}`); return null; } extract(carrier) { this._tracer._error(`Unsupported format: ${this._name}`); } }