Files
klz-cables.com/.pnpm-store/v10/files/a5/635a5e0fb615e458d8a934c30dec119ec96bab071f5c837f976e25ff882037546497eba0ba6fd6e626a97a6144458cb48413809d5b1aea6d7b9410d382b345
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

17 lines
668 B
Plaintext

import type { 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