Files
whsfund/functions/node_modules/firebase-functions/lib/common/trace.d.ts
2026-03-23 15:29:13 -04:00

15 lines
349 B
TypeScript

export interface TraceContext {
version: string;
traceId: string;
parentId: string;
sample: boolean;
}
/**
* Extracts trace context from given carrier object, if any.
*
* Supports Cloud Trace and traceparent format.
*
* @param carrier
*/
export declare function extractTraceContext(carrier: unknown): TraceContext | undefined;