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