@microsoft/applicationinsights-common 3.3.5-nightly3.2411-11 → 3.3.5-nightly3.2411-13
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/applicationinsights-common.cjs.js +2 -2
- package/browser/es5/applicationinsights-common.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-common.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-common.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-common.gbl.js +4 -4
- package/browser/es5/applicationinsights-common.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-common.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-common.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-common.integrity.json +25 -25
- package/browser/es5/applicationinsights-common.js +4 -4
- package/browser/es5/applicationinsights-common.js.map +1 -1
- package/browser/es5/applicationinsights-common.min.js +2 -2
- package/browser/es5/applicationinsights-common.min.js.map +1 -1
- package/dist/es5/applicationinsights-common.js +2 -2
- package/dist/es5/applicationinsights-common.js.map +1 -1
- package/dist/es5/applicationinsights-common.min.js +2 -2
- package/dist/es5/applicationinsights-common.min.js.map +1 -1
- package/dist-es5/ConnectionStringParser.js +1 -1
- package/dist-es5/Constants.js +1 -1
- package/dist-es5/DomHelperFuncs.js +1 -1
- package/dist-es5/Enums.js +1 -1
- package/dist-es5/HelperFuncs.js +1 -1
- package/dist-es5/Interfaces/ConnectionString.js +1 -1
- package/dist-es5/Interfaces/Context/IApplication.js +1 -1
- package/dist-es5/Interfaces/Context/IDevice.js +1 -1
- package/dist-es5/Interfaces/Context/IInternal.js +1 -1
- package/dist-es5/Interfaces/Context/ILocation.js +1 -1
- package/dist-es5/Interfaces/Context/IOperatingSystem.js +1 -1
- package/dist-es5/Interfaces/Context/ISample.js +1 -1
- package/dist-es5/Interfaces/Context/ISession.js +1 -1
- package/dist-es5/Interfaces/Context/ISessionManager.js +1 -1
- package/dist-es5/Interfaces/Context/ITelemetryTrace.js +1 -1
- package/dist-es5/Interfaces/Context/IUser.js +1 -1
- package/dist-es5/Interfaces/Context/IWeb.js +1 -1
- package/dist-es5/Interfaces/Contracts/AvailabilityData.js +1 -1
- package/dist-es5/Interfaces/Contracts/ContextTagKeys.js +1 -1
- package/dist-es5/Interfaces/Contracts/DataPointType.js +1 -1
- package/dist-es5/Interfaces/Contracts/DependencyKind.js +1 -1
- package/dist-es5/Interfaces/Contracts/DependencySourceType.js +1 -1
- package/dist-es5/Interfaces/Contracts/IBase.js +1 -1
- package/dist-es5/Interfaces/Contracts/IData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IDataPoint.js +1 -1
- package/dist-es5/Interfaces/Contracts/IDomain.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEventData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IExceptionData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IExceptionDetails.js +1 -1
- package/dist-es5/Interfaces/Contracts/IMessageData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IMetricData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IPageViewData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IPageViewPerfData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IStackFrame.js +1 -1
- package/dist-es5/Interfaces/Contracts/RequestData.js +1 -1
- package/dist-es5/Interfaces/Contracts/SeverityLevel.js +1 -1
- package/dist-es5/Interfaces/IAppInsights.js +1 -1
- package/dist-es5/Interfaces/IConfig.js +1 -1
- package/dist-es5/Interfaces/ICorrelationConfig.js +1 -1
- package/dist-es5/Interfaces/IDependencyTelemetry.js +1 -1
- package/dist-es5/Interfaces/IEventTelemetry.js +1 -1
- package/dist-es5/Interfaces/IExceptionTelemetry.js +1 -1
- package/dist-es5/Interfaces/IMetricTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPageViewTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPartC.js +1 -1
- package/dist-es5/Interfaces/IPropertiesPlugin.js +1 -1
- package/dist-es5/Interfaces/IRequestContext.js +1 -1
- package/dist-es5/Interfaces/IStorageBuffer.js +1 -1
- package/dist-es5/Interfaces/ITelemetryContext.js +1 -1
- package/dist-es5/Interfaces/IThrottleMgr.js +1 -1
- package/dist-es5/Interfaces/ITraceTelemetry.js +1 -1
- package/dist-es5/Interfaces/PartAExtensions.js +1 -1
- package/dist-es5/Interfaces/Telemetry/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Telemetry/ISerializable.js +1 -1
- package/dist-es5/Offline.js +1 -1
- package/dist-es5/RequestResponseHeaders.js +1 -1
- package/dist-es5/StorageHelperFuncs.js +4 -4
- package/dist-es5/StorageHelperFuncs.js.map +1 -1
- package/dist-es5/Telemetry/Common/Data.js +1 -1
- package/dist-es5/Telemetry/Common/DataPoint.js +1 -1
- package/dist-es5/Telemetry/Common/DataSanitizer.js +1 -1
- package/dist-es5/Telemetry/Common/Envelope.js +1 -1
- package/dist-es5/Telemetry/Event.js +1 -1
- package/dist-es5/Telemetry/Exception.js +1 -1
- package/dist-es5/Telemetry/Metric.js +1 -1
- package/dist-es5/Telemetry/PageView.js +1 -1
- package/dist-es5/Telemetry/PageViewPerformance.js +1 -1
- package/dist-es5/Telemetry/RemoteDependencyData.js +1 -1
- package/dist-es5/Telemetry/Trace.js +1 -1
- package/dist-es5/TelemetryItemCreator.js +1 -1
- package/dist-es5/ThrottleMgr.js +1 -1
- package/dist-es5/UrlHelperFuncs.js +1 -1
- package/dist-es5/Util.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-common.js +1 -1
- package/package.json +2 -2
- package/types/applicationinsights-common.d.ts +1 -24
- package/types/applicationinsights-common.namespaced.d.ts +6 -29
package/dist-es5/ThrottleMgr.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 3.3.5-nightly3.2411-
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 3.3.5-nightly3.2411-13
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
import { _throwInternal, arrIndexOf, isNotNullOrUndefined, isNullOrUndefined, onConfigChange, randomValue, safeGetLogger, strTrim } from "@microsoft/applicationinsights-core-js";
|
package/dist-es5/Util.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-common",
|
|
3
|
-
"version": "3.3.5-nightly3.2411-
|
|
3
|
+
"version": "3.3.5-nightly3.2411-13",
|
|
4
4
|
"description": "Microsoft Application Insights Common JavaScript Library",
|
|
5
5
|
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
6
|
"author": "Microsoft Application Insights Team",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
59
|
-
"@microsoft/applicationinsights-core-js": "3.3.5-nightly3.2411-
|
|
59
|
+
"@microsoft/applicationinsights-core-js": "3.3.5-nightly3.2411-13",
|
|
60
60
|
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
61
61
|
"@nevware21/ts-utils": ">= 0.11.3 < 2.x"
|
|
62
62
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Common JavaScript Library, 3.3.5-nightly3.2411-
|
|
2
|
+
* Microsoft Application Insights Common JavaScript Library, 3.3.5-nightly3.2411-13
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -582,55 +582,46 @@ export declare interface IAutoExceptionTelemetry {
|
|
|
582
582
|
/**
|
|
583
583
|
* @description error message. Available as event in HTML onerror="" handler
|
|
584
584
|
* @type {string}
|
|
585
|
-
* @memberof IAutoExceptionTelemetry
|
|
586
585
|
*/
|
|
587
586
|
message: string;
|
|
588
587
|
/**
|
|
589
588
|
* @description URL of the script where the error was raised
|
|
590
589
|
* @type {string}
|
|
591
|
-
* @memberof IAutoExceptionTelemetry
|
|
592
590
|
*/
|
|
593
591
|
url: string;
|
|
594
592
|
/**
|
|
595
593
|
* @description Line number where error was raised
|
|
596
594
|
* @type {number}
|
|
597
|
-
* @memberof IAutoExceptionTelemetry
|
|
598
595
|
*/
|
|
599
596
|
lineNumber: number;
|
|
600
597
|
/**
|
|
601
598
|
* @description Column number for the line where the error occurred
|
|
602
599
|
* @type {number}
|
|
603
|
-
* @memberof IAutoExceptionTelemetry
|
|
604
600
|
*/
|
|
605
601
|
columnNumber: number;
|
|
606
602
|
/**
|
|
607
603
|
* @description Error Object (object)
|
|
608
604
|
* @type {any}
|
|
609
|
-
* @memberof IAutoExceptionTelemetry
|
|
610
605
|
*/
|
|
611
606
|
error: any;
|
|
612
607
|
/**
|
|
613
608
|
* @description The event at the time of the exception (object)
|
|
614
609
|
* @type {Event|string}
|
|
615
|
-
* @memberof IAutoExceptionTelemetry
|
|
616
610
|
*/
|
|
617
611
|
evt?: Event | string;
|
|
618
612
|
/**
|
|
619
613
|
* @description The provided stack for the error
|
|
620
614
|
* @type {IStackDetails}
|
|
621
|
-
* @memberof IAutoExceptionTelemetry
|
|
622
615
|
*/
|
|
623
616
|
stackDetails?: IStackDetails;
|
|
624
617
|
/**
|
|
625
618
|
* @description The calculated type of the error
|
|
626
619
|
* @type {string}
|
|
627
|
-
* @memberof IAutoExceptionTelemetry
|
|
628
620
|
*/
|
|
629
621
|
typeName?: string;
|
|
630
622
|
/**
|
|
631
623
|
* @description The descriptive source of the error
|
|
632
624
|
* @type {string}
|
|
633
|
-
* @memberof IAutoExceptionTelemetry
|
|
634
625
|
*/
|
|
635
626
|
errorSrc?: string;
|
|
636
627
|
}
|
|
@@ -1360,13 +1351,11 @@ export declare interface IEventTelemetry extends IPartC {
|
|
|
1360
1351
|
/**
|
|
1361
1352
|
* @description An event name string
|
|
1362
1353
|
* @type {string}
|
|
1363
|
-
* @memberof IEventTelemetry
|
|
1364
1354
|
*/
|
|
1365
1355
|
name: string;
|
|
1366
1356
|
/**
|
|
1367
1357
|
* @description custom defined iKey
|
|
1368
1358
|
* @type {string}
|
|
1369
|
-
* @memberof IEventTelemetry
|
|
1370
1359
|
*/
|
|
1371
1360
|
iKey?: string;
|
|
1372
1361
|
}
|
|
@@ -1472,13 +1461,11 @@ export declare interface IExceptionTelemetry extends IPartC {
|
|
|
1472
1461
|
/**
|
|
1473
1462
|
* @deprecated
|
|
1474
1463
|
* @type {Error}
|
|
1475
|
-
* @memberof IExceptionTelemetry
|
|
1476
1464
|
* @description DEPRECATED: Please use exception instead. Behavior/usage for exception remains the same as this field.
|
|
1477
1465
|
*/
|
|
1478
1466
|
error?: Error;
|
|
1479
1467
|
/**
|
|
1480
1468
|
* @type {Error}
|
|
1481
|
-
* @memberof IExceptionTelemetry
|
|
1482
1469
|
* @description Error Object(s)
|
|
1483
1470
|
*/
|
|
1484
1471
|
exception?: Error | IAutoExceptionTelemetry;
|
|
@@ -1486,7 +1473,6 @@ export declare interface IExceptionTelemetry extends IPartC {
|
|
|
1486
1473
|
* @description Specified severity of exception for use with
|
|
1487
1474
|
* telemetry filtering in dashboard
|
|
1488
1475
|
* @type {(SeverityLevel | number)}
|
|
1489
|
-
* @memberof IExceptionTelemetry
|
|
1490
1476
|
*/
|
|
1491
1477
|
severityLevel?: SeverityLevel | number;
|
|
1492
1478
|
}
|
|
@@ -1574,33 +1560,28 @@ export declare interface IMetricTelemetry extends IPartC {
|
|
|
1574
1560
|
/**
|
|
1575
1561
|
* @description (required) - name of this metric
|
|
1576
1562
|
* @type {string}
|
|
1577
|
-
* @memberof IMetricTelemetry
|
|
1578
1563
|
*/
|
|
1579
1564
|
name: string;
|
|
1580
1565
|
/**
|
|
1581
1566
|
* @description (required) - Recorded value/average for this metric
|
|
1582
1567
|
* @type {number}
|
|
1583
|
-
* @memberof IMetricTelemetry
|
|
1584
1568
|
*/
|
|
1585
1569
|
average: number;
|
|
1586
1570
|
/**
|
|
1587
1571
|
* @description (optional) Number of samples represented by the average.
|
|
1588
1572
|
* @type {number=}
|
|
1589
|
-
* @memberof IMetricTelemetry
|
|
1590
1573
|
* @default sampleCount=1
|
|
1591
1574
|
*/
|
|
1592
1575
|
sampleCount?: number;
|
|
1593
1576
|
/**
|
|
1594
1577
|
* @description (optional) The smallest measurement in the sample. Defaults to the average
|
|
1595
1578
|
* @type {number}
|
|
1596
|
-
* @memberof IMetricTelemetry
|
|
1597
1579
|
* @default min=average
|
|
1598
1580
|
*/
|
|
1599
1581
|
min?: number;
|
|
1600
1582
|
/**
|
|
1601
1583
|
* @description (optional) The largest measurement in the sample. Defaults to the average.
|
|
1602
1584
|
* @type {number}
|
|
1603
|
-
* @memberof IMetricTelemetry
|
|
1604
1585
|
* @default max=average
|
|
1605
1586
|
*/
|
|
1606
1587
|
max?: number;
|
|
@@ -1611,7 +1592,6 @@ export declare interface IMetricTelemetry extends IPartC {
|
|
|
1611
1592
|
/**
|
|
1612
1593
|
* @description custom defined iKey
|
|
1613
1594
|
* @type {string}
|
|
1614
|
-
* @memberof IMetricTelemetry
|
|
1615
1595
|
*/
|
|
1616
1596
|
iKey?: string;
|
|
1617
1597
|
}
|
|
@@ -2212,19 +2192,16 @@ export declare interface ITraceTelemetry extends IPartC {
|
|
|
2212
2192
|
/**
|
|
2213
2193
|
* @description A message string
|
|
2214
2194
|
* @type {string}
|
|
2215
|
-
* @memberof ITraceTelemetry
|
|
2216
2195
|
*/
|
|
2217
2196
|
message: string;
|
|
2218
2197
|
/**
|
|
2219
2198
|
* @description Severity level of the logging message used for filtering in the portal
|
|
2220
2199
|
* @type {SeverityLevel}
|
|
2221
|
-
* @memberof ITraceTelemetry
|
|
2222
2200
|
*/
|
|
2223
2201
|
severityLevel?: SeverityLevel;
|
|
2224
2202
|
/**
|
|
2225
2203
|
* @description custom defiend iKey
|
|
2226
2204
|
* @type {SeverityLevel}
|
|
2227
|
-
* @memberof ITraceTelemetry
|
|
2228
2205
|
*/
|
|
2229
2206
|
iKey?: string;
|
|
2230
2207
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Common JavaScript Library, 3.3.5-nightly3.2411-
|
|
2
|
+
* Microsoft Application Insights Common JavaScript Library, 3.3.5-nightly3.2411-13
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -796,7 +796,7 @@ declare namespace ApplicationInsights {
|
|
|
796
796
|
* @param unloadComplete - An optional callback that will be called once the unload has completed
|
|
797
797
|
* @param cbTimeout - An optional timeout to wait for any flush operations to complete before proceeding with the
|
|
798
798
|
* unload. Defaults to 5 seconds.
|
|
799
|
-
* @
|
|
799
|
+
* @returns Nothing or if occurring asynchronously a [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
|
|
800
800
|
* which will be resolved once the unload is complete, the [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
|
|
801
801
|
* will only be returned when no callback is provided and isAsync is true
|
|
802
802
|
*/
|
|
@@ -903,55 +903,46 @@ declare namespace ApplicationInsights {
|
|
|
903
903
|
/**
|
|
904
904
|
* @description error message. Available as event in HTML onerror="" handler
|
|
905
905
|
* @type {string}
|
|
906
|
-
* @memberof IAutoExceptionTelemetry
|
|
907
906
|
*/
|
|
908
907
|
message: string;
|
|
909
908
|
/**
|
|
910
909
|
* @description URL of the script where the error was raised
|
|
911
910
|
* @type {string}
|
|
912
|
-
* @memberof IAutoExceptionTelemetry
|
|
913
911
|
*/
|
|
914
912
|
url: string;
|
|
915
913
|
/**
|
|
916
914
|
* @description Line number where error was raised
|
|
917
915
|
* @type {number}
|
|
918
|
-
* @memberof IAutoExceptionTelemetry
|
|
919
916
|
*/
|
|
920
917
|
lineNumber: number;
|
|
921
918
|
/**
|
|
922
919
|
* @description Column number for the line where the error occurred
|
|
923
920
|
* @type {number}
|
|
924
|
-
* @memberof IAutoExceptionTelemetry
|
|
925
921
|
*/
|
|
926
922
|
columnNumber: number;
|
|
927
923
|
/**
|
|
928
924
|
* @description Error Object (object)
|
|
929
925
|
* @type {any}
|
|
930
|
-
* @memberof IAutoExceptionTelemetry
|
|
931
926
|
*/
|
|
932
927
|
error: any;
|
|
933
928
|
/**
|
|
934
929
|
* @description The event at the time of the exception (object)
|
|
935
930
|
* @type {Event|string}
|
|
936
|
-
* @memberof IAutoExceptionTelemetry
|
|
937
931
|
*/
|
|
938
932
|
evt?: Event | string;
|
|
939
933
|
/**
|
|
940
934
|
* @description The provided stack for the error
|
|
941
935
|
* @type {IStackDetails}
|
|
942
|
-
* @memberof IAutoExceptionTelemetry
|
|
943
936
|
*/
|
|
944
937
|
stackDetails?: IStackDetails;
|
|
945
938
|
/**
|
|
946
939
|
* @description The calculated type of the error
|
|
947
940
|
* @type {string}
|
|
948
|
-
* @memberof IAutoExceptionTelemetry
|
|
949
941
|
*/
|
|
950
942
|
typeName?: string;
|
|
951
943
|
/**
|
|
952
944
|
* @description The descriptive source of the error
|
|
953
945
|
* @type {string}
|
|
954
|
-
* @memberof IAutoExceptionTelemetry
|
|
955
946
|
*/
|
|
956
947
|
errorSrc?: string;
|
|
957
948
|
}
|
|
@@ -1858,7 +1849,7 @@ declare namespace ApplicationInsights {
|
|
|
1858
1849
|
* Unload and remove any state that this ICookieMgr may be holding, this is generally called when the
|
|
1859
1850
|
* owning SDK is being unloaded.
|
|
1860
1851
|
* @param isAsync - Can the unload be performed asynchronously (default)
|
|
1861
|
-
* @
|
|
1852
|
+
* @returns If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
|
|
1862
1853
|
* the function should return an [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
|
|
1863
1854
|
* / Promise to allow any listeners to wait for the operation to complete.
|
|
1864
1855
|
*/
|
|
@@ -2132,7 +2123,7 @@ declare namespace ApplicationInsights {
|
|
|
2132
2123
|
* Unload and remove any state that this IDiagnosticLogger may be holding, this is generally called when the
|
|
2133
2124
|
* owning SDK is being unloaded.
|
|
2134
2125
|
* @param isAsync - Can the unload be performed asynchronously (default)
|
|
2135
|
-
* @
|
|
2126
|
+
* @returns If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
|
|
2136
2127
|
* the function should return an [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
|
|
2137
2128
|
* / Promise to allow any listeners to wait for the operation to complete.
|
|
2138
2129
|
*/
|
|
@@ -2252,13 +2243,11 @@ declare namespace ApplicationInsights {
|
|
|
2252
2243
|
/**
|
|
2253
2244
|
* @description An event name string
|
|
2254
2245
|
* @type {string}
|
|
2255
|
-
* @memberof IEventTelemetry
|
|
2256
2246
|
*/
|
|
2257
2247
|
name: string;
|
|
2258
2248
|
/**
|
|
2259
2249
|
* @description custom defined iKey
|
|
2260
2250
|
* @type {string}
|
|
2261
|
-
* @memberof IEventTelemetry
|
|
2262
2251
|
*/
|
|
2263
2252
|
iKey?: string;
|
|
2264
2253
|
}
|
|
@@ -2414,13 +2403,11 @@ declare namespace ApplicationInsights {
|
|
|
2414
2403
|
/**
|
|
2415
2404
|
* @deprecated
|
|
2416
2405
|
* @type {Error}
|
|
2417
|
-
* @memberof IExceptionTelemetry
|
|
2418
2406
|
* @description DEPRECATED: Please use exception instead. Behavior/usage for exception remains the same as this field.
|
|
2419
2407
|
*/
|
|
2420
2408
|
error?: Error;
|
|
2421
2409
|
/**
|
|
2422
2410
|
* @type {Error}
|
|
2423
|
-
* @memberof IExceptionTelemetry
|
|
2424
2411
|
* @description Error Object(s)
|
|
2425
2412
|
*/
|
|
2426
2413
|
exception?: Error | IAutoExceptionTelemetry;
|
|
@@ -2428,7 +2415,6 @@ declare namespace ApplicationInsights {
|
|
|
2428
2415
|
* @description Specified severity of exception for use with
|
|
2429
2416
|
* telemetry filtering in dashboard
|
|
2430
2417
|
* @type {(SeverityLevel | number)}
|
|
2431
|
-
* @memberof IExceptionTelemetry
|
|
2432
2418
|
*/
|
|
2433
2419
|
severityLevel?: SeverityLevel | number;
|
|
2434
2420
|
}
|
|
@@ -2621,33 +2607,28 @@ declare namespace ApplicationInsights {
|
|
|
2621
2607
|
/**
|
|
2622
2608
|
* @description (required) - name of this metric
|
|
2623
2609
|
* @type {string}
|
|
2624
|
-
* @memberof IMetricTelemetry
|
|
2625
2610
|
*/
|
|
2626
2611
|
name: string;
|
|
2627
2612
|
/**
|
|
2628
2613
|
* @description (required) - Recorded value/average for this metric
|
|
2629
2614
|
* @type {number}
|
|
2630
|
-
* @memberof IMetricTelemetry
|
|
2631
2615
|
*/
|
|
2632
2616
|
average: number;
|
|
2633
2617
|
/**
|
|
2634
2618
|
* @description (optional) Number of samples represented by the average.
|
|
2635
2619
|
* @type {number=}
|
|
2636
|
-
* @memberof IMetricTelemetry
|
|
2637
2620
|
* @default sampleCount=1
|
|
2638
2621
|
*/
|
|
2639
2622
|
sampleCount?: number;
|
|
2640
2623
|
/**
|
|
2641
2624
|
* @description (optional) The smallest measurement in the sample. Defaults to the average
|
|
2642
2625
|
* @type {number}
|
|
2643
|
-
* @memberof IMetricTelemetry
|
|
2644
2626
|
* @default min=average
|
|
2645
2627
|
*/
|
|
2646
2628
|
min?: number;
|
|
2647
2629
|
/**
|
|
2648
2630
|
* @description (optional) The largest measurement in the sample. Defaults to the average.
|
|
2649
2631
|
* @type {number}
|
|
2650
|
-
* @memberof IMetricTelemetry
|
|
2651
2632
|
* @default max=average
|
|
2652
2633
|
*/
|
|
2653
2634
|
max?: number;
|
|
@@ -2658,7 +2639,6 @@ declare namespace ApplicationInsights {
|
|
|
2658
2639
|
/**
|
|
2659
2640
|
* @description custom defined iKey
|
|
2660
2641
|
* @type {string}
|
|
2661
|
-
* @memberof IMetricTelemetry
|
|
2662
2642
|
*/
|
|
2663
2643
|
iKey?: string;
|
|
2664
2644
|
}
|
|
@@ -2696,7 +2676,7 @@ declare namespace ApplicationInsights {
|
|
|
2696
2676
|
* Unload and remove any state that this INotificationListener may be holding, this is generally called when the
|
|
2697
2677
|
* owning Manager is being unloaded.
|
|
2698
2678
|
* @param isAsync - Can the unload be performed asynchronously (default)
|
|
2699
|
-
* @
|
|
2679
|
+
* @returns If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
|
|
2700
2680
|
* the function should return an [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
|
|
2701
2681
|
* / Promise to allow any listeners to wait for the operation to complete.
|
|
2702
2682
|
*/
|
|
@@ -2765,7 +2745,7 @@ declare namespace ApplicationInsights {
|
|
|
2765
2745
|
* Unload and remove any state that this INotificationManager may be holding, this is generally called when the
|
|
2766
2746
|
* owning SDK is being unloaded.
|
|
2767
2747
|
* @param isAsync - Can the unload be performed asynchronously (default)
|
|
2768
|
-
* @
|
|
2748
|
+
* @returns If the unload occurs synchronously then nothing should be returned, if happening asynchronously then
|
|
2769
2749
|
* the function should return an [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
|
|
2770
2750
|
* / Promise to allow any listeners to wait for the operation to complete.
|
|
2771
2751
|
*/
|
|
@@ -4115,19 +4095,16 @@ declare namespace ApplicationInsights {
|
|
|
4115
4095
|
/**
|
|
4116
4096
|
* @description A message string
|
|
4117
4097
|
* @type {string}
|
|
4118
|
-
* @memberof ITraceTelemetry
|
|
4119
4098
|
*/
|
|
4120
4099
|
message: string;
|
|
4121
4100
|
/**
|
|
4122
4101
|
* @description Severity level of the logging message used for filtering in the portal
|
|
4123
4102
|
* @type {SeverityLevel}
|
|
4124
|
-
* @memberof ITraceTelemetry
|
|
4125
4103
|
*/
|
|
4126
4104
|
severityLevel?: SeverityLevel;
|
|
4127
4105
|
/**
|
|
4128
4106
|
* @description custom defiend iKey
|
|
4129
4107
|
* @type {SeverityLevel}
|
|
4130
|
-
* @memberof ITraceTelemetry
|
|
4131
4108
|
*/
|
|
4132
4109
|
iKey?: string;
|
|
4133
4110
|
}
|