Migrate OpenTracing implementation to OpenTelemetry
Blacksmoke16 opened this issue · comments
The implementation from #860 was built against the OpenTracing standard. This standard is considered deprecated in favor of OpenTelemetry (OTLP) source. Rollar's implementation should be updated to adhere to the more modern OTLP spec, mainly setTag
among other changes.
In the meantime, for anyone coming across this issue, OTLP's JS package provides https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-shim-opentracing that can be leveraged to allow using an OTLP tracer with Rollbar's existing OpenTracing implementation. This can of course be removed in favor of the raw OTLP tracer when rollbar's implementation is updated to support it.