link
This commit is contained in:
14
node_modules/firebase-functions/lib/common/trace.d.ts
generated
vendored
Normal file
14
node_modules/firebase-functions/lib/common/trace.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user