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

27 lines
1.0 KiB
TypeScript

import Config = require("./Config");
declare class CorrelationIdManager {
private static TAG;
static correlationIdPrefix: string;
static w3cEnabled: boolean;
private static pendingLookups;
private static completedLookups;
private static requestIdMaxLength;
private static currentRootId;
static queryCorrelationId(config: Config, callback: (correlationId: string) => void): void;
static cancelCorrelationIdQuery(config: Config, callback: (correlationId: string) => void): void;
/**
* Generate a request Id according to https://github.com/lmolkova/correlation/blob/master/hierarchical_request_id.md
* @param parentId
*/
static generateRequestId(parentId: string): string;
/**
* Given a hierarchical identifier of the form |X.*
* return the root identifier X
* @param id
*/
static getRootId(id: string): string;
private static generateRootId();
private static appendSuffix(parentId, suffix, delimiter);
}
export = CorrelationIdManager;