@microsoft/applicationinsights-web-basic 3.0.0-beta.2303-11 → 3.0.0-beta.2304-07
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/es5/aib.3.0.0-beta.2304-07.cjs.js +7452 -0
- package/browser/es5/aib.3.0.0-beta.2304-07.cjs.js.map +1 -0
- package/browser/es5/aib.3.0.0-beta.2304-07.cjs.min.js +6 -0
- package/browser/es5/aib.3.0.0-beta.2304-07.cjs.min.js.map +1 -0
- package/browser/es5/aib.3.0.0-beta.2304-07.gbl.js +7456 -0
- package/browser/es5/aib.3.0.0-beta.2304-07.gbl.js.map +1 -0
- package/browser/es5/aib.3.0.0-beta.2304-07.gbl.min.js +6 -0
- package/browser/es5/aib.3.0.0-beta.2304-07.gbl.min.js.map +1 -0
- package/browser/es5/aib.3.0.0-beta.2304-07.integrity.json +66 -0
- package/browser/{aib.3.0.0-beta.2303-11.js → es5/aib.3.0.0-beta.2304-07.js} +1095 -1037
- package/browser/es5/aib.3.0.0-beta.2304-07.js.map +1 -0
- package/browser/es5/aib.3.0.0-beta.2304-07.min.js +6 -0
- package/browser/es5/aib.3.0.0-beta.2304-07.min.js.map +1 -0
- package/browser/es5/aib.3.cjs.js +7452 -0
- package/browser/es5/aib.3.cjs.js.map +1 -0
- package/browser/es5/aib.3.cjs.min.js +6 -0
- package/browser/es5/aib.3.cjs.min.js.map +1 -0
- package/browser/es5/aib.3.gbl.js +7456 -0
- package/browser/es5/aib.3.gbl.js.map +1 -0
- package/browser/es5/aib.3.gbl.min.js +6 -0
- package/browser/es5/aib.3.gbl.min.js.map +1 -0
- package/browser/{aib.2.js → es5/aib.3.js} +1095 -1037
- package/browser/es5/aib.3.js.map +1 -0
- package/browser/es5/aib.3.min.js +6 -0
- package/browser/es5/aib.3.min.js.map +1 -0
- package/dist/{applicationinsights-web-basic.js → es5/applicationinsights-web-basic.js} +1094 -1036
- package/dist/es5/applicationinsights-web-basic.js.map +1 -0
- package/dist/es5/applicationinsights-web-basic.min.js +6 -0
- package/dist/es5/applicationinsights-web-basic.min.js.map +1 -0
- package/{dist-esm → dist-es5}/__DynamicConstants.js +1 -1
- package/{dist-esm → dist-es5}/index.js +1 -1
- package/package.json +18 -17
- package/tsconfig.json +5 -4
- package/{dist/applicationinsights-web-basic.rollup.d.ts → types/applicationinsights-web-basic.d.ts} +3 -4
- package/{dist/applicationinsights-web-basic.d.ts → types/applicationinsights-web-basic.namespaced.d.ts} +1 -1
- package/browser/aib.2.js.map +0 -1
- package/browser/aib.2.min.js +0 -6
- package/browser/aib.2.min.js.map +0 -1
- package/browser/aib.3.0.0-beta.2303-11.integrity.json +0 -26
- package/browser/aib.3.0.0-beta.2303-11.js.map +0 -1
- package/browser/aib.3.0.0-beta.2303-11.min.js +0 -6
- package/browser/aib.3.0.0-beta.2303-11.min.js.map +0 -1
- package/dist/applicationinsights-web-basic.api.json +0 -10735
- package/dist/applicationinsights-web-basic.api.md +0 -585
- package/dist/applicationinsights-web-basic.js.map +0 -1
- package/dist/applicationinsights-web-basic.min.js +0 -6
- package/dist/applicationinsights-web-basic.min.js.map +0 -1
- package/src/__DynamicConstants.ts +0 -14
- package/src/index.ts +0 -213
- package/types/__DynamicConstants.d.ts +0 -2
- package/types/index.d.ts +0 -76
- package/types/tsdoc-metadata.json +0 -11
- /package/{dist-esm → dist-es5}/__DynamicConstants.js.map +0 -0
- /package/{dist-esm → dist-es5}/index.js.map +0 -0
|
@@ -1,585 +0,0 @@
|
|
|
1
|
-
## API Report File for "@microsoft/applicationinsights-web-basic"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { arrForEach } from '@nevware21/ts-utils';
|
|
8
|
-
import { EnumCls } from '@nevware21/ts-utils';
|
|
9
|
-
import { isNullOrUndefined } from '@nevware21/ts-utils';
|
|
10
|
-
import { ITimerHandler } from '@nevware21/ts-utils';
|
|
11
|
-
import { throwError } from '@nevware21/ts-utils';
|
|
12
|
-
|
|
13
|
-
// @public (undocumented)
|
|
14
|
-
export class AppInsightsCore<CfgType extends IConfiguration = IConfiguration> implements IAppInsightsCore<CfgType> {
|
|
15
|
-
constructor();
|
|
16
|
-
// Warning: (ae-forgotten-export) The symbol "INotificationListener" needs to be exported by the entry point index.d.ts
|
|
17
|
-
addNotificationListener(listener: INotificationListener): void;
|
|
18
|
-
addPlugin<T extends IPlugin = ITelemetryPlugin>(plugin: T, replaceExisting?: boolean, doAsync?: boolean, addCb?: (added?: boolean) => void): void;
|
|
19
|
-
// Warning: (ae-forgotten-export) The symbol "TelemetryInitializerFunction" needs to be exported by the entry point index.d.ts
|
|
20
|
-
// Warning: (ae-forgotten-export) The symbol "ITelemetryInitializerHandler" needs to be exported by the entry point index.d.ts
|
|
21
|
-
addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
|
|
22
|
-
// Warning: (ae-forgotten-export) The symbol "UnloadHandler" needs to be exported by the entry point index.d.ts
|
|
23
|
-
addUnloadCb(handler: UnloadHandler): void;
|
|
24
|
-
// Warning: (ae-forgotten-export) The symbol "IUnloadHook" needs to be exported by the entry point index.d.ts
|
|
25
|
-
// Warning: (ae-forgotten-export) The symbol "ILegacyUnloadHook" needs to be exported by the entry point index.d.ts
|
|
26
|
-
addUnloadHook(hooks: IUnloadHook | IUnloadHook[] | Iterator<IUnloadHook> | ILegacyUnloadHook | ILegacyUnloadHook[] | Iterator<ILegacyUnloadHook>): void;
|
|
27
|
-
// (undocumented)
|
|
28
|
-
config: CfgType;
|
|
29
|
-
// (undocumented)
|
|
30
|
-
eventCnt(): number;
|
|
31
|
-
evtNamespace(): string;
|
|
32
|
-
flush(isAsync?: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason): void;
|
|
33
|
-
// Warning: (ae-forgotten-export) The symbol "IChannelControls" needs to be exported by the entry point index.d.ts
|
|
34
|
-
//
|
|
35
|
-
// (undocumented)
|
|
36
|
-
getChannels(): IChannelControls[];
|
|
37
|
-
// Warning: (ae-forgotten-export) The symbol "ICookieMgr" needs to be exported by the entry point index.d.ts
|
|
38
|
-
getCookieMgr(): ICookieMgr;
|
|
39
|
-
// (undocumented)
|
|
40
|
-
getNotifyMgr(): INotificationManager;
|
|
41
|
-
// Warning: (ae-forgotten-export) The symbol "IPerfManager" needs to be exported by the entry point index.d.ts
|
|
42
|
-
//
|
|
43
|
-
// (undocumented)
|
|
44
|
-
getPerfMgr(): IPerfManager;
|
|
45
|
-
// (undocumented)
|
|
46
|
-
getPlugin<T extends IPlugin = IPlugin>(pluginIdentifier: string): ILoadedPlugin<T>;
|
|
47
|
-
// Warning: (ae-forgotten-export) The symbol "IProcessTelemetryContext" needs to be exported by the entry point index.d.ts
|
|
48
|
-
//
|
|
49
|
-
// (undocumented)
|
|
50
|
-
getProcessTelContext(): IProcessTelemetryContext;
|
|
51
|
-
// Warning: (ae-forgotten-export) The symbol "IDistributedTraceContext" needs to be exported by the entry point index.d.ts
|
|
52
|
-
getTraceCtx(createNew?: boolean): IDistributedTraceContext | null;
|
|
53
|
-
getWParam: () => number;
|
|
54
|
-
// Warning: (ae-forgotten-export) The symbol "INotificationManager" needs to be exported by the entry point index.d.ts
|
|
55
|
-
//
|
|
56
|
-
// (undocumented)
|
|
57
|
-
initialize(config: CfgType, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
|
|
58
|
-
isInitialized: () => boolean;
|
|
59
|
-
// Warning: (ae-forgotten-export) The symbol "IDiagnosticLogger" needs to be exported by the entry point index.d.ts
|
|
60
|
-
//
|
|
61
|
-
// (undocumented)
|
|
62
|
-
logger: IDiagnosticLogger;
|
|
63
|
-
// Warning: (ae-forgotten-export) The symbol "WatcherFunction" needs to be exported by the entry point index.d.ts
|
|
64
|
-
onCfgChange(handler: WatcherFunction<CfgType>): IUnloadHook;
|
|
65
|
-
readonly pluginVersionString: string;
|
|
66
|
-
readonly pluginVersionStringArr: string[];
|
|
67
|
-
pollInternalLogs(eventName?: string): ITimerHandler;
|
|
68
|
-
// (undocumented)
|
|
69
|
-
protected releaseQueue(): void;
|
|
70
|
-
removeNotificationListener(listener: INotificationListener): void;
|
|
71
|
-
setCookieMgr(cookieMgr: ICookieMgr): void;
|
|
72
|
-
// (undocumented)
|
|
73
|
-
setPerfMgr(perfMgr: IPerfManager): void;
|
|
74
|
-
setTraceCtx(newTracectx: IDistributedTraceContext): void;
|
|
75
|
-
stopPollingInternalLogs(): void;
|
|
76
|
-
// (undocumented)
|
|
77
|
-
track(telemetryItem: ITelemetryItem): void;
|
|
78
|
-
// Warning: (ae-forgotten-export) The symbol "ITelemetryUnloadState" needs to be exported by the entry point index.d.ts
|
|
79
|
-
unload(isAsync?: boolean, unloadComplete?: (unloadState: ITelemetryUnloadState) => void, cbTimeout?: number): void;
|
|
80
|
-
updateCfg(newConfig: CfgType, mergeExisting?: boolean): void;
|
|
81
|
-
// Warning: (ae-forgotten-export) The symbol "IProcessTelemetryUpdateContext" needs to be exported by the entry point index.d.ts
|
|
82
|
-
// Warning: (ae-forgotten-export) The symbol "ITelemetryUpdateState" needs to be exported by the entry point index.d.ts
|
|
83
|
-
protected _updateHook?(updateCtx: IProcessTelemetryUpdateContext, updateState: ITelemetryUpdateState): void | boolean;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// @public
|
|
87
|
-
export class ApplicationInsights {
|
|
88
|
-
constructor(config: IConfiguration & IConfig);
|
|
89
|
-
addPlugin<T extends IPlugin = ITelemetryPlugin>(plugin: T, replaceExisting: boolean, doAsync: boolean, addCb?: (added?: boolean) => void): void;
|
|
90
|
-
addUnloadCb(handler: UnloadHandler): void;
|
|
91
|
-
// Warning: (ae-forgotten-export) The symbol "IConfig" needs to be exported by the entry point index.d.ts
|
|
92
|
-
//
|
|
93
|
-
// (undocumented)
|
|
94
|
-
readonly config: IConfiguration & IConfig;
|
|
95
|
-
evtNamespace(): string;
|
|
96
|
-
flush(async?: boolean): void;
|
|
97
|
-
getPlugin<T extends IPlugin = IPlugin>(pluginIdentifier: string): ILoadedPlugin<T>;
|
|
98
|
-
initialize(): void;
|
|
99
|
-
onCfgChange(handler: WatcherFunction<IConfiguration>): IUnloadHook;
|
|
100
|
-
// (undocumented)
|
|
101
|
-
pollInternalLogs(): void;
|
|
102
|
-
// (undocumented)
|
|
103
|
-
stopPollingInternalLogs(): void;
|
|
104
|
-
track(item: ITelemetryItem): void;
|
|
105
|
-
unload(isAsync?: boolean, unloadComplete?: () => void): void;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export { arrForEach }
|
|
109
|
-
|
|
110
|
-
// @public (undocumented)
|
|
111
|
-
export const enum _eInternalMessageId {
|
|
112
|
-
// (undocumented)
|
|
113
|
-
BrowserCannotReadLocalStorage = 1,
|
|
114
|
-
// (undocumented)
|
|
115
|
-
BrowserCannotReadSessionStorage = 2,
|
|
116
|
-
// (undocumented)
|
|
117
|
-
BrowserCannotWriteLocalStorage = 3,
|
|
118
|
-
// (undocumented)
|
|
119
|
-
BrowserCannotWriteSessionStorage = 4,
|
|
120
|
-
// (undocumented)
|
|
121
|
-
BrowserDoesNotSupportLocalStorage = 0,
|
|
122
|
-
// (undocumented)
|
|
123
|
-
BrowserFailedRemovalFromLocalStorage = 5,
|
|
124
|
-
// (undocumented)
|
|
125
|
-
BrowserFailedRemovalFromSessionStorage = 6,
|
|
126
|
-
// (undocumented)
|
|
127
|
-
CannotAccessCookie = 68,
|
|
128
|
-
// (undocumented)
|
|
129
|
-
CannotParseAiBlobValue = 101,
|
|
130
|
-
// (undocumented)
|
|
131
|
-
CannotSendEmptyTelemetry = 7,
|
|
132
|
-
// (undocumented)
|
|
133
|
-
CannotSerializeObject = 48,
|
|
134
|
-
// (undocumented)
|
|
135
|
-
CannotSerializeObjectNonSerializable = 49,
|
|
136
|
-
// (undocumented)
|
|
137
|
-
CircularReferenceDetected = 50,
|
|
138
|
-
// (undocumented)
|
|
139
|
-
ClearAuthContextFailed = 51,
|
|
140
|
-
// (undocumented)
|
|
141
|
-
ClientPerformanceMathError = 8,
|
|
142
|
-
// (undocumented)
|
|
143
|
-
ConfigWatcherException = 107,
|
|
144
|
-
// (undocumented)
|
|
145
|
-
CreateEnvelopeError = 47,
|
|
146
|
-
// (undocumented)
|
|
147
|
-
DynamicConfigException = 108,
|
|
148
|
-
// (undocumented)
|
|
149
|
-
ErrorParsingAISessionCookie = 9,
|
|
150
|
-
// (undocumented)
|
|
151
|
-
ErrorPVCalc = 10,
|
|
152
|
-
// (undocumented)
|
|
153
|
-
ExceptionTruncated = 52,
|
|
154
|
-
// (undocumented)
|
|
155
|
-
ExceptionWhileLoggingError = 11,
|
|
156
|
-
// (undocumented)
|
|
157
|
-
FailedAddingCustomDefinedRequestContext = 104,
|
|
158
|
-
// (undocumented)
|
|
159
|
-
FailedAddingTelemetryToBuffer = 12,
|
|
160
|
-
// (undocumented)
|
|
161
|
-
FailedMonitorAjaxAbort = 13,
|
|
162
|
-
// (undocumented)
|
|
163
|
-
FailedMonitorAjaxDur = 14,
|
|
164
|
-
// (undocumented)
|
|
165
|
-
FailedMonitorAjaxGetCorrelationHeader = 18,
|
|
166
|
-
// (undocumented)
|
|
167
|
-
FailedMonitorAjaxOpen = 15,
|
|
168
|
-
// (undocumented)
|
|
169
|
-
FailedMonitorAjaxRSC = 16,
|
|
170
|
-
// (undocumented)
|
|
171
|
-
FailedMonitorAjaxSend = 17,
|
|
172
|
-
// (undocumented)
|
|
173
|
-
FailedMonitorAjaxSetRequestHeader = 71,
|
|
174
|
-
// (undocumented)
|
|
175
|
-
FailedToAddHandlerForOnBeforeUnload = 19,
|
|
176
|
-
// (undocumented)
|
|
177
|
-
FailedToFixDepricatedValues = 44,
|
|
178
|
-
// (undocumented)
|
|
179
|
-
FailedToReportDataLoss = 21,
|
|
180
|
-
// (undocumented)
|
|
181
|
-
FailedToRestoreStorageBuffer = 42,
|
|
182
|
-
// (undocumented)
|
|
183
|
-
FailedToSendQueuedTelemetry = 20,
|
|
184
|
-
// (undocumented)
|
|
185
|
-
FailedToSetStorageBuffer = 41,
|
|
186
|
-
// (undocumented)
|
|
187
|
-
FlushFailed = 22,
|
|
188
|
-
// (undocumented)
|
|
189
|
-
IdTooLong = 69,
|
|
190
|
-
// (undocumented)
|
|
191
|
-
IllegalCharsInName = 53,
|
|
192
|
-
// (undocumented)
|
|
193
|
-
InMemoryStorageBufferFull = 105,
|
|
194
|
-
// (undocumented)
|
|
195
|
-
InstrumentationKeyDeprecation = 106,
|
|
196
|
-
// (undocumented)
|
|
197
|
-
InvalidBackendResponse = 43,
|
|
198
|
-
// (undocumented)
|
|
199
|
-
InvalidContentBlob = 102,
|
|
200
|
-
// (undocumented)
|
|
201
|
-
InvalidDurationValue = 45,
|
|
202
|
-
// (undocumented)
|
|
203
|
-
InvalidEvent = 70,
|
|
204
|
-
// (undocumented)
|
|
205
|
-
InvalidInstrumentationKey = 100,
|
|
206
|
-
// (undocumented)
|
|
207
|
-
ItemNotInArray = 54,
|
|
208
|
-
// (undocumented)
|
|
209
|
-
MaxAjaxPerPVExceeded = 55,
|
|
210
|
-
// (undocumented)
|
|
211
|
-
MessageLimitPerPVExceeded = 23,
|
|
212
|
-
// (undocumented)
|
|
213
|
-
MessageTruncated = 56,
|
|
214
|
-
// (undocumented)
|
|
215
|
-
MissingRequiredFieldSpecification = 24,
|
|
216
|
-
// (undocumented)
|
|
217
|
-
NameTooLong = 57,
|
|
218
|
-
// (undocumented)
|
|
219
|
-
NavigationTimingNotSupported = 25,
|
|
220
|
-
// (undocumented)
|
|
221
|
-
NotificationException = 74,
|
|
222
|
-
// (undocumented)
|
|
223
|
-
OnError = 26,
|
|
224
|
-
// (undocumented)
|
|
225
|
-
PluginException = 73,
|
|
226
|
-
// (undocumented)
|
|
227
|
-
SampleRateOutOfRange = 58,
|
|
228
|
-
// (undocumented)
|
|
229
|
-
SendBrowserInfoOnUserInit = 72,
|
|
230
|
-
// (undocumented)
|
|
231
|
-
SenderNotInitialized = 28,
|
|
232
|
-
// (undocumented)
|
|
233
|
-
SessionRenewalDateIsZero = 27,
|
|
234
|
-
// (undocumented)
|
|
235
|
-
SessionStorageBufferFull = 67,
|
|
236
|
-
// (undocumented)
|
|
237
|
-
SetAuthContextFailed = 59,
|
|
238
|
-
// (undocumented)
|
|
239
|
-
SetAuthContextFailedAccountName = 60,
|
|
240
|
-
// (undocumented)
|
|
241
|
-
SnippetScriptLoadFailure = 99,
|
|
242
|
-
// (undocumented)
|
|
243
|
-
StartCalledMoreThanOnce = 62,
|
|
244
|
-
// (undocumented)
|
|
245
|
-
StartTrackEventFailed = 29,
|
|
246
|
-
// (undocumented)
|
|
247
|
-
StartTrackFailed = 31,
|
|
248
|
-
// (undocumented)
|
|
249
|
-
StopCalledWithoutStart = 63,
|
|
250
|
-
// (undocumented)
|
|
251
|
-
StopTrackEventFailed = 30,
|
|
252
|
-
// (undocumented)
|
|
253
|
-
StopTrackFailed = 32,
|
|
254
|
-
// (undocumented)
|
|
255
|
-
StringValueTooLong = 61,
|
|
256
|
-
// (undocumented)
|
|
257
|
-
TelemetryEnvelopeInvalid = 46,
|
|
258
|
-
// (undocumented)
|
|
259
|
-
TelemetryInitializerFailed = 64,
|
|
260
|
-
// (undocumented)
|
|
261
|
-
TelemetrySampledAndNotSent = 33,
|
|
262
|
-
// (undocumented)
|
|
263
|
-
TrackArgumentsNotSpecified = 65,
|
|
264
|
-
// (undocumented)
|
|
265
|
-
TrackEventFailed = 34,
|
|
266
|
-
// (undocumented)
|
|
267
|
-
TrackExceptionFailed = 35,
|
|
268
|
-
// (undocumented)
|
|
269
|
-
TrackMetricFailed = 36,
|
|
270
|
-
// (undocumented)
|
|
271
|
-
TrackPageActionEventFailed = 103,
|
|
272
|
-
// (undocumented)
|
|
273
|
-
TrackPVFailed = 37,
|
|
274
|
-
// (undocumented)
|
|
275
|
-
TrackPVFailedCalc = 38,
|
|
276
|
-
// (undocumented)
|
|
277
|
-
TrackTraceFailed = 39,
|
|
278
|
-
// (undocumented)
|
|
279
|
-
TransmissionFailed = 40,
|
|
280
|
-
// (undocumented)
|
|
281
|
-
UrlTooLong = 66
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
// @public
|
|
285
|
-
export const enum eSeverityLevel {
|
|
286
|
-
// (undocumented)
|
|
287
|
-
Critical = 4,
|
|
288
|
-
// (undocumented)
|
|
289
|
-
Error = 3,
|
|
290
|
-
// (undocumented)
|
|
291
|
-
Information = 1,
|
|
292
|
-
// (undocumented)
|
|
293
|
-
Verbose = 0,
|
|
294
|
-
// (undocumented)
|
|
295
|
-
Warning = 2
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
// Warning: (ae-forgotten-export) The symbol "IPerfManagerProvider" needs to be exported by the entry point index.d.ts
|
|
299
|
-
//
|
|
300
|
-
// @public (undocumented)
|
|
301
|
-
export interface IAppInsightsCore<CfgType extends IConfiguration = IConfiguration> extends IPerfManagerProvider {
|
|
302
|
-
addNotificationListener?(listener: INotificationListener): void;
|
|
303
|
-
addPlugin<T extends IPlugin = ITelemetryPlugin>(plugin: T, replaceExisting?: boolean, doAsync?: boolean, addCb?: (added?: boolean) => void): void;
|
|
304
|
-
addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
|
|
305
|
-
addUnloadCb(handler: UnloadHandler): void;
|
|
306
|
-
addUnloadHook(hooks: IUnloadHook | IUnloadHook[] | Iterator<IUnloadHook> | ILegacyUnloadHook | ILegacyUnloadHook[] | Iterator<ILegacyUnloadHook>): void;
|
|
307
|
-
// (undocumented)
|
|
308
|
-
readonly config: CfgType;
|
|
309
|
-
evtNamespace(): string;
|
|
310
|
-
flush(isAsync?: boolean, callBack?: (flushComplete?: boolean) => void, sendReason?: SendRequestReason, cbTimeout?: number): boolean | void;
|
|
311
|
-
// (undocumented)
|
|
312
|
-
getChannels(): IChannelControls[];
|
|
313
|
-
getCookieMgr(): ICookieMgr;
|
|
314
|
-
getNotifyMgr(): INotificationManager;
|
|
315
|
-
getPlugin<T extends IPlugin = IPlugin>(pluginIdentifier: string): ILoadedPlugin<T>;
|
|
316
|
-
getProcessTelContext(): IProcessTelemetryContext;
|
|
317
|
-
getTraceCtx(createNew?: boolean): IDistributedTraceContext | null;
|
|
318
|
-
getWParam: () => number;
|
|
319
|
-
// (undocumented)
|
|
320
|
-
initialize(config: CfgType, extensions: IPlugin[], logger?: IDiagnosticLogger, notificationManager?: INotificationManager): void;
|
|
321
|
-
isInitialized?: () => boolean;
|
|
322
|
-
readonly logger: IDiagnosticLogger;
|
|
323
|
-
onCfgChange(handler: WatcherFunction<CfgType>): IUnloadHook;
|
|
324
|
-
readonly pluginVersionString: string;
|
|
325
|
-
readonly pluginVersionStringArr: string[];
|
|
326
|
-
// (undocumented)
|
|
327
|
-
pollInternalLogs?(eventName?: string): ITimerHandler;
|
|
328
|
-
removeNotificationListener?(listener: INotificationListener): void;
|
|
329
|
-
setCookieMgr(cookieMgr: ICookieMgr): void;
|
|
330
|
-
setTraceCtx(newTraceCtx: IDistributedTraceContext | null | undefined): void;
|
|
331
|
-
// (undocumented)
|
|
332
|
-
stopPollingInternalLogs?(): void;
|
|
333
|
-
// (undocumented)
|
|
334
|
-
track(telemetryItem: ITelemetryItem): void;
|
|
335
|
-
unload(isAsync?: boolean, unloadComplete?: (unloadState: ITelemetryUnloadState) => void, cbTimeout?: number): void;
|
|
336
|
-
updateCfg(newConfig: CfgType, mergeExisting?: boolean): void;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
// @public
|
|
340
|
-
export interface IAutoExceptionTelemetry {
|
|
341
|
-
columnNumber: number;
|
|
342
|
-
error: any;
|
|
343
|
-
errorSrc?: string;
|
|
344
|
-
evt?: Event | string;
|
|
345
|
-
lineNumber: number;
|
|
346
|
-
message: string;
|
|
347
|
-
// Warning: (ae-forgotten-export) The symbol "IStackDetails" needs to be exported by the entry point index.d.ts
|
|
348
|
-
stackDetails?: IStackDetails;
|
|
349
|
-
typeName?: string;
|
|
350
|
-
url: string;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
// @public
|
|
354
|
-
export interface IConfiguration {
|
|
355
|
-
readonly channels?: IChannelControls[][];
|
|
356
|
-
connectionString?: string;
|
|
357
|
-
// Warning: (ae-forgotten-export) The symbol "ICookieMgrConfig" needs to be exported by the entry point index.d.ts
|
|
358
|
-
cookieCfg?: ICookieMgrConfig;
|
|
359
|
-
cookieDomain?: string;
|
|
360
|
-
cookiePath?: string;
|
|
361
|
-
createPerfMgr?: (core: IAppInsightsCore, notificationManager: INotificationManager) => IPerfManager;
|
|
362
|
-
diagnosticLogInterval?: number;
|
|
363
|
-
disableCookiesUsage?: boolean;
|
|
364
|
-
disableDbgExt?: boolean;
|
|
365
|
-
disableInstrumentationKeyValidation?: boolean;
|
|
366
|
-
disablePageShowEvents?: string[];
|
|
367
|
-
disablePageUnloadEvents?: string[];
|
|
368
|
-
enableDebug?: boolean;
|
|
369
|
-
enablePerfMgr?: boolean;
|
|
370
|
-
enableWParam?: boolean;
|
|
371
|
-
endpointUrl?: string;
|
|
372
|
-
extensionConfig?: {
|
|
373
|
-
[key: string]: any;
|
|
374
|
-
};
|
|
375
|
-
readonly extensions?: ITelemetryPlugin[];
|
|
376
|
-
idLength?: number;
|
|
377
|
-
instrumentationKey?: string;
|
|
378
|
-
loggingLevelConsole?: number;
|
|
379
|
-
loggingLevelTelemetry?: number;
|
|
380
|
-
maxMessageLimit?: number;
|
|
381
|
-
perfEvtsSendAll?: boolean;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
// Warning: (ae-forgotten-export) The symbol "IPartC" needs to be exported by the entry point index.d.ts
|
|
385
|
-
//
|
|
386
|
-
// @public
|
|
387
|
-
export interface IDependencyTelemetry extends IPartC {
|
|
388
|
-
// (undocumented)
|
|
389
|
-
correlationContext?: string;
|
|
390
|
-
// (undocumented)
|
|
391
|
-
data?: string;
|
|
392
|
-
// (undocumented)
|
|
393
|
-
duration?: number;
|
|
394
|
-
// (undocumented)
|
|
395
|
-
id: string;
|
|
396
|
-
// (undocumented)
|
|
397
|
-
iKey?: string;
|
|
398
|
-
// (undocumented)
|
|
399
|
-
name?: string;
|
|
400
|
-
// (undocumented)
|
|
401
|
-
responseCode: number;
|
|
402
|
-
// (undocumented)
|
|
403
|
-
startTime?: Date;
|
|
404
|
-
// (undocumented)
|
|
405
|
-
success?: boolean;
|
|
406
|
-
// (undocumented)
|
|
407
|
-
target?: string;
|
|
408
|
-
// (undocumented)
|
|
409
|
-
type?: string;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
// @public (undocumented)
|
|
413
|
-
export interface IEventTelemetry extends IPartC {
|
|
414
|
-
iKey?: string;
|
|
415
|
-
name: string;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
// @public (undocumented)
|
|
419
|
-
export interface ILoadedPlugin<T extends IPlugin> {
|
|
420
|
-
isEnabled: () => boolean;
|
|
421
|
-
// (undocumented)
|
|
422
|
-
plugin: T;
|
|
423
|
-
// (undocumented)
|
|
424
|
-
remove: (isAsync?: boolean, removeCb?: (removed?: boolean) => void) => void;
|
|
425
|
-
setEnabled: (isEnabled: boolean) => void;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
// @public (undocumented)
|
|
429
|
-
export interface IMetricTelemetry extends IPartC {
|
|
430
|
-
average: number;
|
|
431
|
-
iKey?: string;
|
|
432
|
-
max?: number;
|
|
433
|
-
min?: number;
|
|
434
|
-
name: string;
|
|
435
|
-
sampleCount?: number;
|
|
436
|
-
stdDev?: number;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
// @public (undocumented)
|
|
440
|
-
export interface IPageViewPerformanceTelemetry extends IPartC {
|
|
441
|
-
domProcessing?: string;
|
|
442
|
-
duration?: string;
|
|
443
|
-
name?: string;
|
|
444
|
-
networkConnect?: string;
|
|
445
|
-
perfTotal?: string;
|
|
446
|
-
receivedResponse?: string;
|
|
447
|
-
sentRequest?: string;
|
|
448
|
-
uri?: string;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
// @public
|
|
452
|
-
export interface IPageViewTelemetry extends IPartC {
|
|
453
|
-
iKey?: string;
|
|
454
|
-
isLoggedIn?: boolean;
|
|
455
|
-
name?: string;
|
|
456
|
-
pageType?: string;
|
|
457
|
-
properties?: {
|
|
458
|
-
duration?: number;
|
|
459
|
-
[key: string]: any;
|
|
460
|
-
};
|
|
461
|
-
refUri?: string;
|
|
462
|
-
uri?: string;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
// @public (undocumented)
|
|
466
|
-
export interface IPlugin {
|
|
467
|
-
core?: IAppInsightsCore;
|
|
468
|
-
readonly identifier: string;
|
|
469
|
-
// Warning: (ae-forgotten-export) The symbol "ITelemetryPluginChain" needs to be exported by the entry point index.d.ts
|
|
470
|
-
initialize: (config: IConfiguration, core: IAppInsightsCore, extensions: IPlugin[], pluginChain?: ITelemetryPluginChain) => void;
|
|
471
|
-
isInitialized?: () => boolean;
|
|
472
|
-
// Warning: (ae-forgotten-export) The symbol "IProcessTelemetryUnloadContext" needs to be exported by the entry point index.d.ts
|
|
473
|
-
teardown?: (unloadCtx: IProcessTelemetryUnloadContext, unloadState?: ITelemetryUnloadState) => void | boolean;
|
|
474
|
-
readonly version?: string;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
export { isNullOrUndefined }
|
|
478
|
-
|
|
479
|
-
// @public
|
|
480
|
-
export interface ITelemetryItem {
|
|
481
|
-
baseData?: {
|
|
482
|
-
[key: string]: any;
|
|
483
|
-
};
|
|
484
|
-
baseType?: string;
|
|
485
|
-
// Warning: (ae-forgotten-export) The symbol "ICustomProperties" needs to be exported by the entry point index.d.ts
|
|
486
|
-
data?: ICustomProperties;
|
|
487
|
-
ext?: {
|
|
488
|
-
[key: string]: any;
|
|
489
|
-
};
|
|
490
|
-
iKey?: string;
|
|
491
|
-
name: string;
|
|
492
|
-
// Warning: (ae-forgotten-export) The symbol "Tags" needs to be exported by the entry point index.d.ts
|
|
493
|
-
tags?: Tags & Tags[];
|
|
494
|
-
time?: string;
|
|
495
|
-
ver?: string;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
// Warning: (ae-forgotten-export) The symbol "ITelemetryProcessor" needs to be exported by the entry point index.d.ts
|
|
499
|
-
//
|
|
500
|
-
// @public
|
|
501
|
-
export interface ITelemetryPlugin extends ITelemetryProcessor, IPlugin {
|
|
502
|
-
readonly priority: number;
|
|
503
|
-
setNextPlugin?: (next: ITelemetryPlugin | ITelemetryPluginChain) => void;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
// @public (undocumented)
|
|
507
|
-
export interface ITraceTelemetry extends IPartC {
|
|
508
|
-
iKey?: string;
|
|
509
|
-
message: string;
|
|
510
|
-
severityLevel?: SeverityLevel;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
// @public
|
|
514
|
-
export function proxyFunctions<T, S>(target: T, source: S | (() => S), functionsToProxy: (keyof S)[], overwriteTarget?: boolean): T;
|
|
515
|
-
|
|
516
|
-
// Warning: (ae-forgotten-export) The symbol "BaseTelemetryPlugin" needs to be exported by the entry point index.d.ts
|
|
517
|
-
//
|
|
518
|
-
// @public (undocumented)
|
|
519
|
-
export class Sender extends BaseTelemetryPlugin implements IChannelControls {
|
|
520
|
-
constructor();
|
|
521
|
-
addHeader(name: string, value: string): void;
|
|
522
|
-
_appId: string;
|
|
523
|
-
// Warning: (ae-forgotten-export) The symbol "ISendBuffer" needs to be exported by the entry point index.d.ts
|
|
524
|
-
_buffer: ISendBuffer;
|
|
525
|
-
// Warning: (ae-forgotten-export) The symbol "IEnvelope" needs to be exported by the entry point index.d.ts
|
|
526
|
-
//
|
|
527
|
-
// (undocumented)
|
|
528
|
-
static constructEnvelope(orig: ITelemetryItem, iKey: string, logger: IDiagnosticLogger, convertUndefined?: any): IEnvelope;
|
|
529
|
-
flush(): void;
|
|
530
|
-
// (undocumented)
|
|
531
|
-
readonly identifier: string;
|
|
532
|
-
// (undocumented)
|
|
533
|
-
initialize(config: IConfiguration & IConfig, core: IAppInsightsCore, extensions: IPlugin[], pluginChain?: ITelemetryPluginChain): void;
|
|
534
|
-
_onError(payload: string[], message: string, event?: ErrorEvent): void;
|
|
535
|
-
// Warning: (ae-forgotten-export) The symbol "IBackendResponse" needs to be exported by the entry point index.d.ts
|
|
536
|
-
_onPartialSuccess(payload: string[], results: IBackendResponse): void;
|
|
537
|
-
_onSuccess(payload: string[], countOfItemsInPayload: number): void;
|
|
538
|
-
onunloadFlush(): void;
|
|
539
|
-
pause(): void;
|
|
540
|
-
// (undocumented)
|
|
541
|
-
readonly priority: number;
|
|
542
|
-
// (undocumented)
|
|
543
|
-
processTelemetry(telemetryItem: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
544
|
-
resume(): void;
|
|
545
|
-
// Warning: (ae-forgotten-export) The symbol "ISample" needs to be exported by the entry point index.d.ts
|
|
546
|
-
//
|
|
547
|
-
// (undocumented)
|
|
548
|
-
protected _sample: ISample;
|
|
549
|
-
// Warning: (ae-forgotten-export) The symbol "SenderFunction" needs to be exported by the entry point index.d.ts
|
|
550
|
-
_sender: SenderFunction;
|
|
551
|
-
// Warning: (ae-forgotten-export) The symbol "ISenderConfig" needs to be exported by the entry point index.d.ts
|
|
552
|
-
readonly _senderConfig: ISenderConfig;
|
|
553
|
-
triggerSend(async?: boolean, forcedSender?: SenderFunction, sendReason?: SendRequestReason): void;
|
|
554
|
-
// Warning: (ae-forgotten-export) The symbol "XDomainRequest" needs to be exported by the entry point index.d.ts
|
|
555
|
-
_xdrOnLoad(xdr: XDomainRequest, payload: string[]): void;
|
|
556
|
-
_xhrReadyStateChange(xhr: XMLHttpRequest, payload: string[], countOfItemsInPayload: number): void;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
// @public
|
|
560
|
-
export const enum SendRequestReason {
|
|
561
|
-
ManualFlush = 1,
|
|
562
|
-
MaxBatchSize = 10,
|
|
563
|
-
MaxQueuedEvents = 20,
|
|
564
|
-
NormalSchedule = 1,
|
|
565
|
-
Resumed = 4,
|
|
566
|
-
Retry = 5,
|
|
567
|
-
SdkUnload = 6,
|
|
568
|
-
SyncEvent = 3,
|
|
569
|
-
Undefined = 0,
|
|
570
|
-
Unload = 2
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
// Warning: (ae-forgotten-export) The symbol "EnumValue" needs to be exported by the entry point index.d.ts
|
|
574
|
-
//
|
|
575
|
-
// @public
|
|
576
|
-
export const SeverityLevel: EnumValue<typeof eSeverityLevel>;
|
|
577
|
-
|
|
578
|
-
// @public (undocumented)
|
|
579
|
-
export type SeverityLevel = number | eSeverityLevel;
|
|
580
|
-
|
|
581
|
-
export { throwError }
|
|
582
|
-
|
|
583
|
-
// (No @packageDocumentation comment for this package)
|
|
584
|
-
|
|
585
|
-
```
|