UNPKG

@dash0/sdk-web

Version:

Dash0's Web SDK to collect telemetry from end-users' web browsers

10 lines (9 loc) 481 B
import { InProgressSpan } from "./span"; type TraceContext = { traceId?: string; spanId?: string; }; export declare function getTraceContextForPageLoad(): TraceContext | undefined; export declare function addW3CTraceContextHttpHeaders(fn: (name: string, value: string) => void, ctx: unknown, span: InProgressSpan): void; export declare function addXRayTraceContextHttpHeaders(fn: (name: string, value: string) => void, ctx: unknown, span: InProgressSpan): void; export {};