This package provides core opentracing functionality.
npm i @totalsoft/opentracingor
yarn add @totalsoft/opentracingAllows propagating an opentracing span across async/await calls.
async function inner() {
// Access the active span in scope
const activeSpan = spanManager.getActiveSpan()
}
// Create a scope where the span will be available
spanManager.useSpanManager(rootSpan, async () => {
await inner()
})