Files
starface-outlook-sync-addin/node_modules/applicationinsights/out/Library/Traceparent.d.ts
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

23 lines
783 B
TypeScript

/**
* Helper class to manage parsing and validation of traceparent header. Also handles hierarchical
* back-compatibility headers generated from traceparent. W3C traceparent spec is documented at
* https://www.w3.org/TR/trace-context/#traceparent-field
*/
declare class Traceparent {
static DEFAULT_TRACE_FLAG: string;
static DEFAULT_VERSION: string;
legacyRootId: string;
parentId: string;
spanId: string;
traceFlag: string;
traceId: string;
version: string;
constructor(traceparent?: string, parentId?: string);
static isValidTraceId(id: string): boolean;
static isValidSpanId(id: string): boolean;
getBackCompatRequestId(): string;
toString(): string;
updateSpanId(): void;
}
export = Traceparent;