Files
klz-cables.com/.pnpm-store/v10/files/0d/a8b87ab559019154dd9ec5c2d07dc2e3d6d8f1159fa8df97028978eee2fcc72d0a40957abf9af80cfba04a200b13173184ed0aabcccdcf7850f48500ee30fc
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

18 lines
681 B
Plaintext

import { ReadableSpan } from '@opentelemetry/sdk-trace-base';
export interface SpanNode {
id: string;
span?: ReadableSpan;
parentNode?: SpanNode | undefined;
children: SpanNode[];
}
/**
* This function runs through a list of OTEL Spans, and wraps them in an `SpanNode`
* where each node holds a reference to their parent node.
*/
export declare function groupSpansWithParents(spans: ReadableSpan[]): SpanNode[];
/**
* This returns the _local_ parent ID - `parentId` on the span may point to a remote span.
*/
export declare function getLocalParentId(span: ReadableSpan): string | undefined;
//# sourceMappingURL=groupSpansWithParents.d.ts.map