Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
681 B
Text
17 lines
681 B
Text
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
|