Files
test_server/node_modules/firebase-functions/lib/common/trace.d.ts
girinb 485098cd1a link
2025-05-29 15:41:51 +09: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;