Files
klz-cables.com/.pnpm-store/v10/files/ec/a001e1e3fd444fa2ff35b3a5022b6b5f454b3e2690ca7c2347a950e377cf7ce1a7d0ecf2ab33cb9ac61dd848357cf8c01e7361b55d529093fbdf03b33d69bd
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

28 lines
971 B
Plaintext

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const currentScopes = require('../currentScopes.js');
const dynamicSamplingContext = require('../tracing/dynamicSamplingContext.js');
const spanUtils = require('./spanUtils.js');
/** Extract trace information from scope */
function _getTraceInfoFromScope(
client,
scope,
) {
if (!scope) {
return [undefined, undefined];
}
return currentScopes.withScope(scope, () => {
const span = spanUtils.getActiveSpan();
const traceContext = span ? spanUtils.spanToTraceContext(span) : currentScopes.getTraceContextFromScope(scope);
const dynamicSamplingContext$1 = span
? dynamicSamplingContext.getDynamicSamplingContextFromSpan(span)
: dynamicSamplingContext.getDynamicSamplingContextFromScope(client, scope);
return [dynamicSamplingContext$1, traceContext];
});
}
exports._getTraceInfoFromScope = _getTraceInfoFromScope;
//# sourceMappingURL=trace-info.js.map