@microsoft/applicationinsights-common 3.0.0-beta.2303-11 → 3.0.0-nightly3.2304-28
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 +3965 -0
- package/browser/es5/applicationinsights-common.cjs.js.map +1 -0
- package/browser/es5/applicationinsights-common.cjs.min.js +6 -0
- package/browser/es5/applicationinsights-common.cjs.min.js.map +1 -0
- package/browser/es5/applicationinsights-common.gbl.js +3969 -0
- package/browser/es5/applicationinsights-common.gbl.js.map +1 -0
- package/browser/es5/applicationinsights-common.gbl.min.js +6 -0
- package/browser/es5/applicationinsights-common.gbl.min.js.map +1 -0
- package/browser/es5/applicationinsights-common.integrity.json +66 -0
- package/browser/{applicationinsights-common.js → es5/applicationinsights-common.js} +194 -167
- package/browser/es5/applicationinsights-common.js.map +1 -0
- package/browser/es5/applicationinsights-common.min.js +6 -0
- package/browser/es5/applicationinsights-common.min.js.map +1 -0
- package/dist/{applicationinsights-common.js → es5/applicationinsights-common.js} +194 -167
- package/dist/es5/applicationinsights-common.js.map +1 -0
- package/dist/es5/applicationinsights-common.min.js +6 -0
- package/dist/es5/applicationinsights-common.min.js.map +1 -0
- package/{dist-esm → dist-es5}/ConnectionStringParser.js +1 -1
- package/{dist-esm → dist-es5}/Constants.js +1 -1
- package/{dist-esm → dist-es5}/DomHelperFuncs.js +1 -1
- package/{dist-esm → dist-es5}/Enums.js +1 -1
- package/{dist-esm → dist-es5}/HelperFuncs.js +1 -1
- package/dist-es5/Interfaces/ConnectionString.js +6 -0
- package/dist-es5/Interfaces/Context/IApplication.js +8 -0
- package/dist-es5/Interfaces/Context/IDevice.js +8 -0
- package/dist-es5/Interfaces/Context/IInternal.js +8 -0
- package/dist-es5/Interfaces/Context/ILocation.js +8 -0
- package/dist-es5/Interfaces/Context/IOperatingSystem.js +8 -0
- package/dist-es5/Interfaces/Context/ISample.js +8 -0
- package/dist-es5/Interfaces/Context/ISession.js +8 -0
- package/dist-es5/Interfaces/Context/ITelemetryTrace.js +8 -0
- package/dist-es5/Interfaces/Context/IUser.js +8 -0
- package/dist-es5/Interfaces/Context/IWeb.js +8 -0
- package/{dist-esm → dist-es5}/Interfaces/Contracts/AvailabilityData.js +1 -1
- package/{dist-esm → dist-es5}/Interfaces/Contracts/ContextTagKeys.js +1 -1
- package/dist-es5/Interfaces/Contracts/DataPointType.js +8 -0
- package/dist-es5/Interfaces/Contracts/DependencyKind.js +8 -0
- package/dist-es5/Interfaces/Contracts/DependencySourceType.js +8 -0
- package/dist-es5/Interfaces/Contracts/IBase.js +8 -0
- package/dist-es5/Interfaces/Contracts/IData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IDataPoint.js +6 -0
- package/dist-es5/Interfaces/Contracts/IDomain.js +8 -0
- package/{dist-esm → dist-es5}/Interfaces/Contracts/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEventData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IExceptionData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IExceptionDetails.js +8 -0
- package/dist-es5/Interfaces/Contracts/IMessageData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IMetricData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IPageViewData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IPageViewPerfData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IRemoteDependencyData.js +8 -0
- package/dist-es5/Interfaces/Contracts/IStackFrame.js +8 -0
- package/{dist-esm → dist-es5}/Interfaces/Contracts/RequestData.js +1 -1
- package/{dist-esm → dist-es5}/Interfaces/Contracts/SeverityLevel.js +1 -1
- package/dist-es5/Interfaces/IAppInsights.js +8 -0
- package/{dist-esm → dist-es5}/Interfaces/IConfig.js +1 -1
- package/dist-es5/Interfaces/ICorrelationConfig.js +8 -0
- package/dist-es5/Interfaces/IDependencyTelemetry.js +8 -0
- package/dist-es5/Interfaces/IEventTelemetry.js +6 -0
- package/dist-es5/Interfaces/IExceptionTelemetry.js +8 -0
- package/dist-es5/Interfaces/IMetricTelemetry.js +6 -0
- package/dist-es5/Interfaces/IPageViewPerformanceTelemetry.js +6 -0
- package/dist-es5/Interfaces/IPageViewTelemetry.js +6 -0
- package/dist-es5/Interfaces/IPartC.js +8 -0
- package/dist-es5/Interfaces/IPropertiesPlugin.js +8 -0
- package/dist-es5/Interfaces/IRequestContext.js +6 -0
- package/dist-es5/Interfaces/ITelemetryContext.js +8 -0
- package/dist-es5/Interfaces/IThrottleMgr.js +6 -0
- package/dist-es5/Interfaces/ITraceTelemetry.js +8 -0
- package/{dist-esm → dist-es5}/Interfaces/PartAExtensions.js +1 -1
- package/dist-es5/Interfaces/Telemetry/IEnvelope.js +8 -0
- package/dist-es5/Interfaces/Telemetry/ISerializable.js +8 -0
- package/{dist-esm → dist-es5}/RequestResponseHeaders.js +1 -1
- package/{dist-esm → dist-es5}/StorageHelperFuncs.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Common/Data.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Common/DataPoint.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Common/DataSanitizer.js +3 -2
- package/dist-es5/Telemetry/Common/DataSanitizer.js.map +1 -0
- package/{dist-esm → dist-es5}/Telemetry/Common/Envelope.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Event.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Exception.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Metric.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/PageView.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/PageViewPerformance.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/RemoteDependencyData.js +1 -1
- package/{dist-esm → dist-es5}/Telemetry/Trace.js +1 -1
- package/{dist-esm → dist-es5}/TelemetryItemCreator.js +1 -1
- package/{dist-esm → dist-es5}/ThrottleMgr.js +1 -1
- package/{dist-esm → dist-es5}/UrlHelperFuncs.js +1 -1
- package/{dist-esm → dist-es5}/Util.js +1 -1
- package/{dist-esm → dist-es5}/__DynamicConstants.js +1 -1
- package/{dist-esm → dist-es5}/applicationinsights-common.js +1 -1
- package/package.json +18 -17
- package/tsconfig.json +4 -3
- package/types/applicationinsights-common.d.ts +2561 -58
- package/{dist/applicationinsights-common.d.ts → types/applicationinsights-common.namespaced.d.ts} +1 -1
- package/browser/applicationinsights-common.integrity.json +0 -26
- package/browser/applicationinsights-common.js.map +0 -1
- package/browser/applicationinsights-common.min.js +0 -6
- package/browser/applicationinsights-common.min.js.map +0 -1
- package/dist/applicationinsights-common.api.json +0 -19540
- package/dist/applicationinsights-common.api.md +0 -1224
- package/dist/applicationinsights-common.js.map +0 -1
- package/dist/applicationinsights-common.min.js +0 -6
- package/dist/applicationinsights-common.min.js.map +0 -1
- package/dist/applicationinsights-common.rollup.d.ts +0 -2562
- package/dist-esm/Interfaces/ConnectionString.js +0 -6
- package/dist-esm/Interfaces/Context/IApplication.js +0 -8
- package/dist-esm/Interfaces/Context/IDevice.js +0 -8
- package/dist-esm/Interfaces/Context/IInternal.js +0 -8
- package/dist-esm/Interfaces/Context/ILocation.js +0 -8
- package/dist-esm/Interfaces/Context/IOperatingSystem.js +0 -8
- package/dist-esm/Interfaces/Context/ISample.js +0 -8
- package/dist-esm/Interfaces/Context/ISession.js +0 -8
- package/dist-esm/Interfaces/Context/ITelemetryTrace.js +0 -8
- package/dist-esm/Interfaces/Context/IUser.js +0 -8
- package/dist-esm/Interfaces/Context/IWeb.js +0 -8
- package/dist-esm/Interfaces/Contracts/DataPointType.js +0 -8
- package/dist-esm/Interfaces/Contracts/DependencyKind.js +0 -8
- package/dist-esm/Interfaces/Contracts/DependencySourceType.js +0 -8
- package/dist-esm/Interfaces/Contracts/IBase.js +0 -8
- package/dist-esm/Interfaces/Contracts/IData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IDataPoint.js +0 -6
- package/dist-esm/Interfaces/Contracts/IDomain.js +0 -8
- package/dist-esm/Interfaces/Contracts/IEventData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IExceptionData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IExceptionDetails.js +0 -8
- package/dist-esm/Interfaces/Contracts/IMessageData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IMetricData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IPageViewData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js +0 -8
- package/dist-esm/Interfaces/Contracts/IStackFrame.js +0 -8
- package/dist-esm/Interfaces/IAppInsights.js +0 -8
- package/dist-esm/Interfaces/ICorrelationConfig.js +0 -8
- package/dist-esm/Interfaces/IDependencyTelemetry.js +0 -8
- package/dist-esm/Interfaces/IEventTelemetry.js +0 -6
- package/dist-esm/Interfaces/IExceptionTelemetry.js +0 -8
- package/dist-esm/Interfaces/IMetricTelemetry.js +0 -6
- package/dist-esm/Interfaces/IPageViewPerformanceTelemetry.js +0 -6
- package/dist-esm/Interfaces/IPageViewTelemetry.js +0 -6
- package/dist-esm/Interfaces/IPartC.js +0 -8
- package/dist-esm/Interfaces/IPropertiesPlugin.js +0 -8
- package/dist-esm/Interfaces/IRequestContext.js +0 -6
- package/dist-esm/Interfaces/ITelemetryContext.js +0 -8
- package/dist-esm/Interfaces/IThrottleMgr.js +0 -6
- package/dist-esm/Interfaces/ITraceTelemetry.js +0 -8
- package/dist-esm/Interfaces/Telemetry/IEnvelope.js +0 -8
- package/dist-esm/Interfaces/Telemetry/ISerializable.js +0 -8
- package/dist-esm/Telemetry/Common/DataSanitizer.js.map +0 -1
- package/src/ConnectionStringParser.ts +0 -47
- package/src/Constants.ts +0 -18
- package/src/DomHelperFuncs.ts +0 -19
- package/src/Enums.ts +0 -65
- package/src/HelperFuncs.ts +0 -54
- package/src/Interfaces/ConnectionString.ts +0 -3
- package/src/Interfaces/Context/IApplication.ts +0 -14
- package/src/Interfaces/Context/IDevice.ts +0 -28
- package/src/Interfaces/Context/IInternal.ts +0 -29
- package/src/Interfaces/Context/ILocation.ts +0 -9
- package/src/Interfaces/Context/IOperatingSystem.ts +0 -7
- package/src/Interfaces/Context/ISample.ts +0 -13
- package/src/Interfaces/Context/ISession.ts +0 -22
- package/src/Interfaces/Context/ITelemetryTrace.ts +0 -33
- package/src/Interfaces/Context/IUser.ts +0 -50
- package/src/Interfaces/Context/IWeb.ts +0 -39
- package/src/Interfaces/Contracts/AvailabilityData.ts +0 -57
- package/src/Interfaces/Contracts/ContextTagKeys.ts +0 -299
- package/src/Interfaces/Contracts/DataPointType.ts +0 -10
- package/src/Interfaces/Contracts/DependencyKind.ts +0 -11
- package/src/Interfaces/Contracts/DependencySourceType.ts +0 -11
- package/src/Interfaces/Contracts/IBase.ts +0 -13
- package/src/Interfaces/Contracts/IData.ts +0 -19
- package/src/Interfaces/Contracts/IDataPoint.ts +0 -44
- package/src/Interfaces/Contracts/IDomain.ts +0 -8
- package/src/Interfaces/Contracts/IEnvelope.ts +0 -50
- package/src/Interfaces/Contracts/IEventData.ts +0 -30
- package/src/Interfaces/Contracts/IExceptionData.ts +0 -37
- package/src/Interfaces/Contracts/IExceptionDetails.ts +0 -45
- package/src/Interfaces/Contracts/IMessageData.ts +0 -36
- package/src/Interfaces/Contracts/IMetricData.ts +0 -31
- package/src/Interfaces/Contracts/IPageViewData.ts +0 -26
- package/src/Interfaces/Contracts/IPageViewPerfData.ts +0 -35
- package/src/Interfaces/Contracts/IRemoteDependencyData.ts +0 -65
- package/src/Interfaces/Contracts/IStackFrame.ts +0 -33
- package/src/Interfaces/Contracts/RequestData.ts +0 -50
- package/src/Interfaces/Contracts/SeverityLevel.ts +0 -28
- package/src/Interfaces/IAppInsights.ts +0 -31
- package/src/Interfaces/IConfig.ts +0 -396
- package/src/Interfaces/ICorrelationConfig.ts +0 -71
- package/src/Interfaces/IDependencyTelemetry.ts +0 -22
- package/src/Interfaces/IEventTelemetry.ts +0 -20
- package/src/Interfaces/IExceptionTelemetry.ts +0 -143
- package/src/Interfaces/IMetricTelemetry.ts +0 -56
- package/src/Interfaces/IPageViewPerformanceTelemetry.ts +0 -61
- package/src/Interfaces/IPageViewTelemetry.ts +0 -65
- package/src/Interfaces/IPartC.ts +0 -18
- package/src/Interfaces/IPropertiesPlugin.ts +0 -8
- package/src/Interfaces/IRequestContext.ts +0 -6
- package/src/Interfaces/ITelemetryContext.ts +0 -69
- package/src/Interfaces/IThrottleMgr.ts +0 -111
- package/src/Interfaces/ITraceTelemetry.ts +0 -28
- package/src/Interfaces/PartAExtensions.ts +0 -14
- package/src/Interfaces/Telemetry/IEnvelope.ts +0 -47
- package/src/Interfaces/Telemetry/ISerializable.ts +0 -11
- package/src/RequestResponseHeaders.ts +0 -96
- package/src/StorageHelperFuncs.ts +0 -223
- package/src/Telemetry/Common/Data.ts +0 -35
- package/src/Telemetry/Common/DataPoint.ts +0 -58
- package/src/Telemetry/Common/DataSanitizer.ts +0 -197
- package/src/Telemetry/Common/Envelope.ts +0 -81
- package/src/Telemetry/Event.ts +0 -52
- package/src/Telemetry/Exception.ts +0 -681
- package/src/Telemetry/Metric.ts +0 -61
- package/src/Telemetry/PageView.ts +0 -79
- package/src/Telemetry/PageViewPerformance.ts +0 -113
- package/src/Telemetry/RemoteDependencyData.ts +0 -122
- package/src/Telemetry/Trace.ts +0 -64
- package/src/TelemetryItemCreator.ts +0 -75
- package/src/ThrottleMgr.ts +0 -345
- package/src/UrlHelperFuncs.ts +0 -101
- package/src/Util.ts +0 -221
- package/src/__DynamicConstants.ts +0 -50
- package/src/applicationinsights-common.ts +0 -76
- package/types/ConnectionStringParser.d.ts +0 -5
- package/types/Constants.d.ts +0 -15
- package/types/DomHelperFuncs.d.ts +0 -1
- package/types/Enums.d.ts +0 -49
- package/types/HelperFuncs.d.ts +0 -8
- package/types/Interfaces/ConnectionString.d.ts +0 -4
- package/types/Interfaces/Context/IApplication.d.ts +0 -10
- package/types/Interfaces/Context/IDevice.d.ts +0 -22
- package/types/Interfaces/Context/IInternal.d.ts +0 -23
- package/types/Interfaces/Context/ILocation.d.ts +0 -6
- package/types/Interfaces/Context/IOperatingSystem.d.ts +0 -3
- package/types/Interfaces/Context/ISample.d.ts +0 -8
- package/types/Interfaces/Context/ISession.d.ts +0 -17
- package/types/Interfaces/Context/ITelemetryTrace.d.ts +0 -25
- package/types/Interfaces/Context/IUser.d.ts +0 -39
- package/types/Interfaces/Context/IWeb.d.ts +0 -30
- package/types/Interfaces/Contracts/AvailabilityData.d.ts +0 -0
- package/types/Interfaces/Contracts/ContextTagKeys.d.ts +0 -175
- package/types/Interfaces/Contracts/DataPointType.d.ts +0 -7
- package/types/Interfaces/Contracts/DependencyKind.d.ts +0 -8
- package/types/Interfaces/Contracts/DependencySourceType.d.ts +0 -8
- package/types/Interfaces/Contracts/IBase.d.ts +0 -9
- package/types/Interfaces/Contracts/IData.d.ts +0 -14
- package/types/Interfaces/Contracts/IDataPoint.d.ts +0 -34
- package/types/Interfaces/Contracts/IDomain.d.ts +0 -5
- package/types/Interfaces/Contracts/IEnvelope.d.ts +0 -0
- package/types/Interfaces/Contracts/IEventData.d.ts +0 -22
- package/types/Interfaces/Contracts/IExceptionData.d.ts +0 -28
- package/types/Interfaces/Contracts/IExceptionDetails.d.ts +0 -34
- package/types/Interfaces/Contracts/IMessageData.d.ts +0 -27
- package/types/Interfaces/Contracts/IMetricData.d.ts +0 -23
- package/types/Interfaces/Contracts/IPageViewData.d.ts +0 -18
- package/types/Interfaces/Contracts/IPageViewPerfData.d.ts +0 -26
- package/types/Interfaces/Contracts/IRemoteDependencyData.d.ts +0 -50
- package/types/Interfaces/Contracts/IStackFrame.d.ts +0 -25
- package/types/Interfaces/Contracts/RequestData.d.ts +0 -0
- package/types/Interfaces/Contracts/SeverityLevel.d.ts +0 -15
- package/types/Interfaces/IAppInsights.d.ts +0 -37
- package/types/Interfaces/IConfig.d.ts +0 -323
- package/types/Interfaces/ICorrelationConfig.d.ts +0 -59
- package/types/Interfaces/IDependencyTelemetry.d.ts +0 -17
- package/types/Interfaces/IEventTelemetry.d.ts +0 -15
- package/types/Interfaces/IExceptionTelemetry.d.ts +0 -123
- package/types/Interfaces/IMetricTelemetry.d.ts +0 -46
- package/types/Interfaces/IPageViewPerformanceTelemetry.d.ts +0 -55
- package/types/Interfaces/IPageViewTelemetry.d.ts +0 -52
- package/types/Interfaces/IPartC.d.ts +0 -18
- package/types/Interfaces/IPropertiesPlugin.d.ts +0 -4
- package/types/Interfaces/IRequestContext.d.ts +0 -6
- package/types/Interfaces/ITelemetryContext.d.ts +0 -55
- package/types/Interfaces/IThrottleMgr.d.ts +0 -96
- package/types/Interfaces/ITraceTelemetry.d.ts +0 -22
- package/types/Interfaces/PartAExtensions.d.ts +0 -12
- package/types/Interfaces/Telemetry/IEnvelope.d.ts +0 -37
- package/types/Interfaces/Telemetry/ISerializable.d.ts +0 -8
- package/types/RequestResponseHeaders.d.ts +0 -68
- package/types/StorageHelperFuncs.d.ts +0 -23
- package/types/Telemetry/Common/Data.d.ts +0 -24
- package/types/Telemetry/Common/DataPoint.d.ts +0 -46
- package/types/Telemetry/Common/DataSanitizer.d.ts +0 -42
- package/types/Telemetry/Common/Envelope.d.ts +0 -45
- package/types/Telemetry/Event.d.ts +0 -34
- package/types/Telemetry/Exception.d.ts +0 -150
- package/types/Telemetry/Metric.d.ts +0 -36
- package/types/Telemetry/PageView.d.ts +0 -53
- package/types/Telemetry/PageViewPerformance.d.ts +0 -78
- package/types/Telemetry/RemoteDependencyData.d.ts +0 -79
- package/types/Telemetry/Trace.d.ts +0 -41
- package/types/TelemetryItemCreator.d.ts +0 -27
- package/types/ThrottleMgr.d.ts +0 -13
- package/types/UrlHelperFuncs.d.ts +0 -6
- package/types/Util.d.ts +0 -36
- package/types/__DynamicConstants.d.ts +0 -38
- package/types/tsdoc-metadata.json +0 -11
- /package/{dist-esm → dist-es5}/ConnectionStringParser.js.map +0 -0
- /package/{dist-esm → dist-es5}/Constants.js.map +0 -0
- /package/{dist-esm → dist-es5}/DomHelperFuncs.js.map +0 -0
- /package/{dist-esm → dist-es5}/Enums.js.map +0 -0
- /package/{dist-esm → dist-es5}/HelperFuncs.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/ConnectionString.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/IApplication.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/IDevice.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/IInternal.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/ILocation.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/IOperatingSystem.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/ISample.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/ISession.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/ITelemetryTrace.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/IUser.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Context/IWeb.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/AvailabilityData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/ContextTagKeys.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/DataPointType.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/DependencyKind.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/DependencySourceType.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IBase.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IDataPoint.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IDomain.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IEnvelope.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IEventData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IExceptionData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IExceptionDetails.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IMessageData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IMetricData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IPageViewData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IPageViewPerfData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IRemoteDependencyData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/IStackFrame.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/RequestData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Contracts/SeverityLevel.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IAppInsights.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IConfig.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/ICorrelationConfig.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IDependencyTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IEventTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IExceptionTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IMetricTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IPageViewPerformanceTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IPageViewTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IPartC.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IPropertiesPlugin.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IRequestContext.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/ITelemetryContext.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/IThrottleMgr.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/ITraceTelemetry.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/PartAExtensions.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Telemetry/IEnvelope.js.map +0 -0
- /package/{dist-esm → dist-es5}/Interfaces/Telemetry/ISerializable.js.map +0 -0
- /package/{dist-esm → dist-es5}/RequestResponseHeaders.js.map +0 -0
- /package/{dist-esm → dist-es5}/StorageHelperFuncs.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Common/Data.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Common/DataPoint.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Common/Envelope.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Event.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Exception.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Metric.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/PageView.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/PageViewPerformance.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/RemoteDependencyData.js.map +0 -0
- /package/{dist-esm → dist-es5}/Telemetry/Trace.js.map +0 -0
- /package/{dist-esm → dist-es5}/TelemetryItemCreator.js.map +0 -0
- /package/{dist-esm → dist-es5}/ThrottleMgr.js.map +0 -0
- /package/{dist-esm → dist-es5}/UrlHelperFuncs.js.map +0 -0
- /package/{dist-esm → dist-es5}/Util.js.map +0 -0
- /package/{dist-esm → dist-es5}/__DynamicConstants.js.map +0 -0
- /package/{dist-esm → dist-es5}/applicationinsights-common.js.map +0 -0
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
// @skip-file-minify
|
|
4
|
-
|
|
5
|
-
// ##############################################################
|
|
6
|
-
// AUTO GENERATED FILE: This file is Auto Generated during build.
|
|
7
|
-
// ##############################################################
|
|
8
|
-
|
|
9
|
-
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
10
|
-
// Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!
|
|
11
|
-
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
|
-
|
|
13
|
-
export const _DYN_SPLIT = "split"; // Count: 6
|
|
14
|
-
export const _DYN_LENGTH = "length"; // Count: 41
|
|
15
|
-
export const _DYN_TO_LOWER_CASE = "toLowerCase"; // Count: 6
|
|
16
|
-
export const _DYN_INGESTIONENDPOINT = "ingestionendpoint"; // Count: 4
|
|
17
|
-
export const _DYN_TO_STRING = "toString"; // Count: 12
|
|
18
|
-
export const _DYN_REMOVE_ITEM = "removeItem"; // Count: 3
|
|
19
|
-
export const _DYN_NAME = "name"; // Count: 11
|
|
20
|
-
export const _DYN_MESSAGE = "message"; // Count: 10
|
|
21
|
-
export const _DYN_COUNT = "count"; // Count: 8
|
|
22
|
-
export const _DYN_PRE_TRIGGER_DATE = "preTriggerDate"; // Count: 4
|
|
23
|
-
export const _DYN_DISABLED = "disabled"; // Count: 3
|
|
24
|
-
export const _DYN_INTERVAL = "interval"; // Count: 3
|
|
25
|
-
export const _DYN_DAYS_OF_MONTH = "daysOfMonth"; // Count: 3
|
|
26
|
-
export const _DYN_DATE = "date"; // Count: 5
|
|
27
|
-
export const _DYN_GET_UTCDATE = "getUTCDate"; // Count: 3
|
|
28
|
-
export const _DYN_STRINGIFY = "stringify"; // Count: 4
|
|
29
|
-
export const _DYN_PATHNAME = "pathname"; // Count: 4
|
|
30
|
-
export const _DYN_CORRELATION_HEADER_E0 = "correlationHeaderExcludePatterns"; // Count: 2
|
|
31
|
-
export const _DYN_EXTENSION_CONFIG = "extensionConfig"; // Count: 4
|
|
32
|
-
export const _DYN_EXCEPTIONS = "exceptions"; // Count: 6
|
|
33
|
-
export const _DYN_PARSED_STACK = "parsedStack"; // Count: 13
|
|
34
|
-
export const _DYN_PROPERTIES = "properties"; // Count: 9
|
|
35
|
-
export const _DYN_MEASUREMENTS = "measurements"; // Count: 9
|
|
36
|
-
export const _DYN_SIZE_IN_BYTES = "sizeInBytes"; // Count: 11
|
|
37
|
-
export const _DYN_TYPE_NAME = "typeName"; // Count: 11
|
|
38
|
-
export const _DYN_SEVERITY_LEVEL = "severityLevel"; // Count: 5
|
|
39
|
-
export const _DYN_PROBLEM_GROUP = "problemGroup"; // Count: 3
|
|
40
|
-
export const _DYN_IS_MANUAL = "isManual"; // Count: 3
|
|
41
|
-
export const _DYN__CREATE_FROM_INTERFA1 = "CreateFromInterface"; // Count: 2
|
|
42
|
-
export const _DYN_ASSEMBLY = "assembly"; // Count: 7
|
|
43
|
-
export const _DYN_HAS_FULL_STACK = "hasFullStack"; // Count: 6
|
|
44
|
-
export const _DYN_LEVEL = "level"; // Count: 5
|
|
45
|
-
export const _DYN_METHOD = "method"; // Count: 7
|
|
46
|
-
export const _DYN_FILE_NAME = "fileName"; // Count: 6
|
|
47
|
-
export const _DYN_LINE = "line"; // Count: 6
|
|
48
|
-
export const _DYN_DURATION = "duration"; // Count: 4
|
|
49
|
-
export const _DYN_RECEIVED_RESPONSE = "receivedResponse"; // Count: 2
|
|
50
|
-
export const _DYN_SUBSTRING = "substring"; // Count: 6
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the
|
|
3
|
-
export {
|
|
4
|
-
correlationIdSetPrefix, correlationIdGetPrefix, correlationIdCanIncludeCorrelationHeader, correlationIdGetCorrelationContext,
|
|
5
|
-
correlationIdGetCorrelationContextValue, dateTimeUtilsNow, dateTimeUtilsDuration, isInternalApplicationInsightsEndpoint,
|
|
6
|
-
createDistributedTraceContextFromTrace
|
|
7
|
-
} from "./Util";
|
|
8
|
-
export { ThrottleMgr } from "./ThrottleMgr";
|
|
9
|
-
export { parseConnectionString, ConnectionStringParser } from "./ConnectionStringParser";
|
|
10
|
-
export { FieldType } from "./Enums";
|
|
11
|
-
export { IRequestHeaders, RequestHeaders, eRequestHeaders } from "./RequestResponseHeaders";
|
|
12
|
-
export { DisabledPropertyName, ProcessLegacy, SampleRate, HttpMethod, DEFAULT_BREEZE_ENDPOINT, DEFAULT_BREEZE_PATH, strNotSpecified } from "./Constants";
|
|
13
|
-
export { IData as AIData } from "./Interfaces/Contracts/IData";
|
|
14
|
-
export { IBase as AIBase } from "./Interfaces/Contracts/IBase";
|
|
15
|
-
export { ISerializable } from "./Interfaces/Telemetry/ISerializable";
|
|
16
|
-
export { IEnvelope } from "./Interfaces/Telemetry/IEnvelope";
|
|
17
|
-
export { Envelope } from "./Telemetry/Common/Envelope";
|
|
18
|
-
export { Event } from "./Telemetry/Event";
|
|
19
|
-
export { Exception } from "./Telemetry/Exception";
|
|
20
|
-
export { Metric } from "./Telemetry/Metric";
|
|
21
|
-
export { PageView } from "./Telemetry/PageView";
|
|
22
|
-
export { IPageViewData } from "./Interfaces/Contracts/IPageViewData";
|
|
23
|
-
export { RemoteDependencyData } from "./Telemetry/RemoteDependencyData";
|
|
24
|
-
export { IEventTelemetry } from "./Interfaces/IEventTelemetry";
|
|
25
|
-
export { ITraceTelemetry } from "./Interfaces/ITraceTelemetry";
|
|
26
|
-
export { IMetricTelemetry } from "./Interfaces/IMetricTelemetry";
|
|
27
|
-
export { IDependencyTelemetry } from "./Interfaces/IDependencyTelemetry";
|
|
28
|
-
export { IExceptionTelemetry, IAutoExceptionTelemetry, IExceptionInternal } from "./Interfaces/IExceptionTelemetry";
|
|
29
|
-
export { IPageViewTelemetry, IPageViewTelemetryInternal } from "./Interfaces/IPageViewTelemetry";
|
|
30
|
-
export { IPageViewPerformanceTelemetry, IPageViewPerformanceTelemetryInternal } from "./Interfaces/IPageViewPerformanceTelemetry";
|
|
31
|
-
export { Trace } from "./Telemetry/Trace";
|
|
32
|
-
export { PageViewPerformance } from "./Telemetry/PageViewPerformance";
|
|
33
|
-
export { Data } from "./Telemetry/Common/Data";
|
|
34
|
-
export { eSeverityLevel, SeverityLevel } from "./Interfaces/Contracts/SeverityLevel";
|
|
35
|
-
export { IConfig, ConfigurationManager } from "./Interfaces/IConfig";
|
|
36
|
-
export { IContextTagKeys, ContextTagKeys } from "./Interfaces/Contracts/ContextTagKeys";
|
|
37
|
-
export {
|
|
38
|
-
DataSanitizerValues,
|
|
39
|
-
dataSanitizeKeyAndAddUniqueness, dataSanitizeKey, dataSanitizeString, dataSanitizeUrl, dataSanitizeMessage,
|
|
40
|
-
dataSanitizeException, dataSanitizeProperties, dataSanitizeMeasurements, dataSanitizeId, dataSanitizeInput,
|
|
41
|
-
dsPadNumber
|
|
42
|
-
} from "./Telemetry/Common/DataSanitizer";
|
|
43
|
-
export { TelemetryItemCreator, createTelemetryItem } from "./TelemetryItemCreator";
|
|
44
|
-
export { ICorrelationConfig } from "./Interfaces/ICorrelationConfig";
|
|
45
|
-
export { IAppInsights } from "./Interfaces/IAppInsights";
|
|
46
|
-
export { IWeb } from "./Interfaces/Context/IWeb";
|
|
47
|
-
export { CtxTagKeys, Extensions } from "./Interfaces/PartAExtensions";
|
|
48
|
-
export { ISession } from "./Interfaces/Context/ISession";
|
|
49
|
-
export { ITelemetryContext } from "./Interfaces/ITelemetryContext";
|
|
50
|
-
export { IApplication } from "./Interfaces/Context/IApplication";
|
|
51
|
-
export { IDevice } from "./Interfaces/Context/IDevice";
|
|
52
|
-
export { IInternal } from "./Interfaces/Context/IInternal";
|
|
53
|
-
export { ILocation } from "./Interfaces/Context/ILocation";
|
|
54
|
-
export { ISample } from "./Interfaces/Context/ISample";
|
|
55
|
-
export { IOperatingSystem } from "./Interfaces/Context/IOperatingSystem";
|
|
56
|
-
export { IPropertiesPlugin } from "./Interfaces/IPropertiesPlugin";
|
|
57
|
-
export { IUser, IUserContext } from "./Interfaces/Context/IUser";
|
|
58
|
-
export { ITelemetryTrace, ITraceState } from "./Interfaces/Context/ITelemetryTrace";
|
|
59
|
-
export { IRequestContext } from "./Interfaces/IRequestContext";
|
|
60
|
-
export { eDistributedTracingModes, DistributedTracingModes, IThrottleMsgKey } from "./Enums";
|
|
61
|
-
export { stringToBoolOrDefault, msToTimeSpan, getExtensionByName, isCrossOriginError } from "./HelperFuncs";
|
|
62
|
-
export {
|
|
63
|
-
isBeaconsSupported as isBeaconApiSupported,
|
|
64
|
-
ITraceParent, createTraceParent, parseTraceParent, isValidTraceId, isValidSpanId, isValidTraceParent, isSampledFlag, formatTraceParent, findW3cTraceParent
|
|
65
|
-
} from "@microsoft/applicationinsights-core-js"
|
|
66
|
-
export { createDomEvent } from "./DomHelperFuncs";
|
|
67
|
-
export {
|
|
68
|
-
utlDisableStorage, utlEnableStorage, utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage, utlRemoveStorage,
|
|
69
|
-
utlCanUseSessionStorage, utlGetSessionStorageKeys, utlGetSessionStorage, utlSetSessionStorage, utlRemoveSessionStorage
|
|
70
|
-
} from "./StorageHelperFuncs";
|
|
71
|
-
export { urlParseUrl, urlGetAbsoluteUrl, urlGetPathName, urlGetCompleteUrl, urlParseHost, urlParseFullHost } from "./UrlHelperFuncs";
|
|
72
|
-
export { IThrottleLimit, IThrottleInterval, IThrottleMgrConfig, IThrottleLocalStorageObj, IThrottleResult } from "./Interfaces/IThrottleMgr";
|
|
73
|
-
|
|
74
|
-
export const PropertiesPluginIdentifier = "AppInsightsPropertiesPlugin";
|
|
75
|
-
export const BreezeChannelIdentifier = "AppInsightsChannelPlugin";
|
|
76
|
-
export const AnalyticsPluginIdentifier = "ApplicationInsightsAnalytics";
|
package/types/Constants.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This is an internal property used to cause internal (reporting) requests to be ignored from reporting
|
|
3
|
-
* additional telemetry, to handle polyfil implementations ALL urls used with a disabled request will
|
|
4
|
-
* also be ignored for future requests even when this property is not provided.
|
|
5
|
-
* Tagging as Ignore as this is an internal value and is not expected to be used outside of the SDK
|
|
6
|
-
* @ignore
|
|
7
|
-
*/
|
|
8
|
-
export declare const DisabledPropertyName: string;
|
|
9
|
-
export declare const SampleRate = "sampleRate";
|
|
10
|
-
export declare const ProcessLegacy = "ProcessLegacy";
|
|
11
|
-
export declare const HttpMethod = "http.method";
|
|
12
|
-
export declare const DEFAULT_BREEZE_ENDPOINT = "https://dc.services.visualstudio.com";
|
|
13
|
-
export declare const DEFAULT_BREEZE_PATH = "/v2/track";
|
|
14
|
-
export declare const strNotSpecified = "not_specified";
|
|
15
|
-
export declare const strIkey = "iKey";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function createDomEvent(eventName: string): Event;
|
package/types/Enums.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Type of storage to differentiate between local storage and session storage
|
|
3
|
-
*/
|
|
4
|
-
export declare const enum eStorageType {
|
|
5
|
-
LocalStorage = 0,
|
|
6
|
-
SessionStorage = 1
|
|
7
|
-
}
|
|
8
|
-
export declare const StorageType: import("@microsoft/applicationinsights-core-js").EnumValue<typeof eStorageType>;
|
|
9
|
-
export type StorageType = eStorageType | typeof StorageType;
|
|
10
|
-
/**
|
|
11
|
-
* Enum is used in aiDataContract to describe how fields are serialized.
|
|
12
|
-
* For instance: (Fieldtype.Required | FieldType.Array) will mark the field as required and indicate it's an array
|
|
13
|
-
*/
|
|
14
|
-
export declare const enum FieldType {
|
|
15
|
-
Default = 0,
|
|
16
|
-
Required = 1,
|
|
17
|
-
Array = 2,
|
|
18
|
-
Hidden = 4
|
|
19
|
-
}
|
|
20
|
-
export declare const enum eDistributedTracingModes {
|
|
21
|
-
/**
|
|
22
|
-
* (Default) Send Application Insights correlation headers
|
|
23
|
-
*/
|
|
24
|
-
AI = 0,
|
|
25
|
-
/**
|
|
26
|
-
* Send both W3C Trace Context headers and back-compatibility Application Insights headers
|
|
27
|
-
*/
|
|
28
|
-
AI_AND_W3C = 1,
|
|
29
|
-
/**
|
|
30
|
-
* Send W3C Trace Context headers
|
|
31
|
-
*/
|
|
32
|
-
W3C = 2
|
|
33
|
-
}
|
|
34
|
-
export declare const DistributedTracingModes: import("@microsoft/applicationinsights-core-js").EnumValue<typeof eDistributedTracingModes>;
|
|
35
|
-
export type DistributedTracingModes = number | eDistributedTracingModes;
|
|
36
|
-
export declare const enum IThrottleMsgKey {
|
|
37
|
-
/**
|
|
38
|
-
* Default Message key for non pre-defined message
|
|
39
|
-
*/
|
|
40
|
-
default = 0,
|
|
41
|
-
/**
|
|
42
|
-
* Message key for ikey Deprecation
|
|
43
|
-
*/
|
|
44
|
-
ikeyDeprecate = 1,
|
|
45
|
-
/**
|
|
46
|
-
* Message key for cdn Deprecation
|
|
47
|
-
*/
|
|
48
|
-
cdnDeprecate = 2
|
|
49
|
-
}
|
package/types/HelperFuncs.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IPlugin } from "@microsoft/applicationinsights-core-js";
|
|
2
|
-
export declare function stringToBoolOrDefault(str: any, defaultValue?: boolean): boolean;
|
|
3
|
-
/**
|
|
4
|
-
* Convert ms to c# time span format
|
|
5
|
-
*/
|
|
6
|
-
export declare function msToTimeSpan(totalms: number): string;
|
|
7
|
-
export declare function getExtensionByName(extensions: IPlugin[], identifier: string): IPlugin | null;
|
|
8
|
-
export declare function isCrossOriginError(message: string | Event, url: string, lineNumber: number, columnNumber: number, error: Error | Event): boolean;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface IDevice {
|
|
2
|
-
/**
|
|
3
|
-
* The type for the current device.
|
|
4
|
-
*/
|
|
5
|
-
deviceClass: string;
|
|
6
|
-
/**
|
|
7
|
-
* A device unique ID.
|
|
8
|
-
*/
|
|
9
|
-
id: string;
|
|
10
|
-
/**
|
|
11
|
-
* The device model for the current device.
|
|
12
|
-
*/
|
|
13
|
-
model: string;
|
|
14
|
-
/**
|
|
15
|
-
* The application screen resolution.
|
|
16
|
-
*/
|
|
17
|
-
resolution: string;
|
|
18
|
-
/**
|
|
19
|
-
* The IP address.
|
|
20
|
-
*/
|
|
21
|
-
ip: string;
|
|
22
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface IInternal {
|
|
2
|
-
/**
|
|
3
|
-
* The SDK version used to create this telemetry item.
|
|
4
|
-
*/
|
|
5
|
-
sdkVersion: string;
|
|
6
|
-
/**
|
|
7
|
-
* The SDK agent version.
|
|
8
|
-
*/
|
|
9
|
-
agentVersion: string;
|
|
10
|
-
/**
|
|
11
|
-
* The Snippet version used to initialize the sdk instance, this will contain either
|
|
12
|
-
* undefined/null - Snippet not used
|
|
13
|
-
* '-' - Version and legacy mode not determined
|
|
14
|
-
* # - Version # of the snippet
|
|
15
|
-
* #.l - Version # in legacy mode
|
|
16
|
-
* .l - No defined version, but used legacy mode initialization
|
|
17
|
-
*/
|
|
18
|
-
snippetVer: string;
|
|
19
|
-
/**
|
|
20
|
-
* Identifies the source of the sdk script
|
|
21
|
-
*/
|
|
22
|
-
sdkSrc: string;
|
|
23
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface ISession {
|
|
2
|
-
/**
|
|
3
|
-
* The session ID.
|
|
4
|
-
*/
|
|
5
|
-
id?: string;
|
|
6
|
-
/**
|
|
7
|
-
* The date at which this guid was genereated.
|
|
8
|
-
* Per the spec the ID will be regenerated if more than acquisitionSpan milliseconds ellapse from this time.
|
|
9
|
-
*/
|
|
10
|
-
acquisitionDate?: number;
|
|
11
|
-
/**
|
|
12
|
-
* The date at which this session ID was last reported.
|
|
13
|
-
* This value should be updated whenever telemetry is sent using this ID.
|
|
14
|
-
* Per the spec the ID will be regenerated if more than renewalSpan milliseconds elapse from this time with no activity.
|
|
15
|
-
*/
|
|
16
|
-
renewalDate?: number;
|
|
17
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface ITelemetryTrace {
|
|
2
|
-
/**
|
|
3
|
-
* Trace id
|
|
4
|
-
*/
|
|
5
|
-
traceID?: string;
|
|
6
|
-
/**
|
|
7
|
-
* Parent id
|
|
8
|
-
*/
|
|
9
|
-
parentID?: string;
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Never Used
|
|
12
|
-
* Trace state
|
|
13
|
-
*/
|
|
14
|
-
traceState?: ITraceState;
|
|
15
|
-
/**
|
|
16
|
-
* An integer representation of the W3C TraceContext trace-flags. https://www.w3.org/TR/trace-context/#trace-flags
|
|
17
|
-
*/
|
|
18
|
-
traceFlags?: number;
|
|
19
|
-
/**
|
|
20
|
-
* Name
|
|
21
|
-
*/
|
|
22
|
-
name?: string;
|
|
23
|
-
}
|
|
24
|
-
export interface ITraceState {
|
|
25
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export interface IUser {
|
|
2
|
-
/**
|
|
3
|
-
* The telemetry configuration.
|
|
4
|
-
*/
|
|
5
|
-
config: any;
|
|
6
|
-
/**
|
|
7
|
-
* The user ID.
|
|
8
|
-
*/
|
|
9
|
-
id: string;
|
|
10
|
-
/**
|
|
11
|
-
* Authenticated user id
|
|
12
|
-
*/
|
|
13
|
-
authenticatedId: string;
|
|
14
|
-
/**
|
|
15
|
-
* The account ID.
|
|
16
|
-
*/
|
|
17
|
-
accountId: string;
|
|
18
|
-
/**
|
|
19
|
-
* The account acquisition date.
|
|
20
|
-
*/
|
|
21
|
-
accountAcquisitionDate: string;
|
|
22
|
-
/**
|
|
23
|
-
* The localId
|
|
24
|
-
*/
|
|
25
|
-
localId: string;
|
|
26
|
-
/**
|
|
27
|
-
* A flag indicating whether this represents a new user
|
|
28
|
-
*/
|
|
29
|
-
isNewUser?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* A flag indicating whether the user cookie has been set
|
|
32
|
-
*/
|
|
33
|
-
isUserCookieSet?: boolean;
|
|
34
|
-
}
|
|
35
|
-
export interface IUserContext extends IUser {
|
|
36
|
-
setAuthenticatedUserContext(authenticatedUserId: string, accountId?: string, storeInCookie?: boolean): void;
|
|
37
|
-
clearAuthenticatedUserContext(): void;
|
|
38
|
-
update(userId?: string): void;
|
|
39
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export interface IWeb {
|
|
2
|
-
/**
|
|
3
|
-
* Browser name, set at ingestion
|
|
4
|
-
*/
|
|
5
|
-
browser: string;
|
|
6
|
-
/**
|
|
7
|
-
* Browser ver, set at ingestion.
|
|
8
|
-
*/
|
|
9
|
-
browserVer: string;
|
|
10
|
-
/**
|
|
11
|
-
* Language
|
|
12
|
-
*/
|
|
13
|
-
browserLang: string;
|
|
14
|
-
/**
|
|
15
|
-
* User consent, populated to properties bag
|
|
16
|
-
*/
|
|
17
|
-
userConsent: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Whether event was fired manually, populated to properties bag
|
|
20
|
-
*/
|
|
21
|
-
isManual: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Screen resolution, populated to properties bag
|
|
24
|
-
*/
|
|
25
|
-
screenRes: string;
|
|
26
|
-
/**
|
|
27
|
-
* Current domain. Leverages Window.location.hostname. populated to properties bag
|
|
28
|
-
*/
|
|
29
|
-
domain: string;
|
|
30
|
-
}
|
|
File without changes
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
export interface IContextTagKeys {
|
|
2
|
-
/**
|
|
3
|
-
* Application version. Information in the application context fields is always about the application that is sending the telemetry.
|
|
4
|
-
*/
|
|
5
|
-
readonly applicationVersion: string;
|
|
6
|
-
/**
|
|
7
|
-
* Application build.
|
|
8
|
-
*/
|
|
9
|
-
readonly applicationBuild: string;
|
|
10
|
-
/**
|
|
11
|
-
* Application type id.
|
|
12
|
-
*/
|
|
13
|
-
readonly applicationTypeId: string;
|
|
14
|
-
/**
|
|
15
|
-
* Application id.
|
|
16
|
-
*/
|
|
17
|
-
readonly applicationId: string;
|
|
18
|
-
/**
|
|
19
|
-
* Application layer.
|
|
20
|
-
*/
|
|
21
|
-
readonly applicationLayer: string;
|
|
22
|
-
/**
|
|
23
|
-
* Unique client device id. Computer name in most cases.
|
|
24
|
-
*/
|
|
25
|
-
readonly deviceId: string;
|
|
26
|
-
readonly deviceIp: string;
|
|
27
|
-
readonly deviceLanguage: string;
|
|
28
|
-
/**
|
|
29
|
-
* Device locale using <language>-<REGION> pattern, following RFC 5646. Example 'en-US'.
|
|
30
|
-
*/
|
|
31
|
-
readonly deviceLocale: string;
|
|
32
|
-
/**
|
|
33
|
-
* Model of the device the end user of the application is using. Used for client scenarios. If this field is empty then it is derived from the user agent.
|
|
34
|
-
*/
|
|
35
|
-
readonly deviceModel: string;
|
|
36
|
-
readonly deviceFriendlyName: string;
|
|
37
|
-
readonly deviceNetwork: string;
|
|
38
|
-
readonly deviceNetworkName: string;
|
|
39
|
-
/**
|
|
40
|
-
* Client device OEM name taken from the browser.
|
|
41
|
-
*/
|
|
42
|
-
readonly deviceOEMName: string;
|
|
43
|
-
readonly deviceOS: string;
|
|
44
|
-
/**
|
|
45
|
-
* Operating system name and version of the device the end user of the application is using. If this field is empty then it is derived from the user agent. Example 'Windows 10 Pro 10.0.10586.0'
|
|
46
|
-
*/
|
|
47
|
-
readonly deviceOSVersion: string;
|
|
48
|
-
/**
|
|
49
|
-
* Name of the instance where application is running. Computer name for on-premisis, instance name for Azure.
|
|
50
|
-
*/
|
|
51
|
-
readonly deviceRoleInstance: string;
|
|
52
|
-
/**
|
|
53
|
-
* Name of the role application is part of. Maps directly to the role name in azure.
|
|
54
|
-
*/
|
|
55
|
-
readonly deviceRoleName: string;
|
|
56
|
-
readonly deviceScreenResolution: string;
|
|
57
|
-
/**
|
|
58
|
-
* The type of the device the end user of the application is using. Used primarily to distinguish JavaScript telemetry from server side telemetry. Examples: 'PC', 'Phone', 'Browser'. 'PC' is the default value.
|
|
59
|
-
*/
|
|
60
|
-
readonly deviceType: string;
|
|
61
|
-
readonly deviceMachineName: string;
|
|
62
|
-
readonly deviceVMName: string;
|
|
63
|
-
readonly deviceBrowser: string;
|
|
64
|
-
/**
|
|
65
|
-
* The browser name and version as reported by the browser.
|
|
66
|
-
*/
|
|
67
|
-
readonly deviceBrowserVersion: string;
|
|
68
|
-
/**
|
|
69
|
-
* The IP address of the client device. IPv4 and IPv6 are supported. Information in the location context fields is always about the end user. When telemetry is sent from a service, the location context is about the user that initiated the operation in the service.
|
|
70
|
-
*/
|
|
71
|
-
readonly locationIp: string;
|
|
72
|
-
/**
|
|
73
|
-
* The country of the client device. If any of Country, Province, or City is specified, those values will be preferred over geolocation of the IP address field. Information in the location context fields is always about the end user. When telemetry is sent from a service, the location context is about the user that initiated the operation in the service.
|
|
74
|
-
*/
|
|
75
|
-
readonly locationCountry: string;
|
|
76
|
-
/**
|
|
77
|
-
* The province/state of the client device. If any of Country, Province, or City is specified, those values will be preferred over geolocation of the IP address field. Information in the location context fields is always about the end user. When telemetry is sent from a service, the location context is about the user that initiated the operation in the service.
|
|
78
|
-
*/
|
|
79
|
-
readonly locationProvince: string;
|
|
80
|
-
/**
|
|
81
|
-
* The city of the client device. If any of Country, Province, or City is specified, those values will be preferred over geolocation of the IP address field. Information in the location context fields is always about the end user. When telemetry is sent from a service, the location context is about the user that initiated the operation in the service.
|
|
82
|
-
*/
|
|
83
|
-
readonly locationCity: string;
|
|
84
|
-
/**
|
|
85
|
-
* A unique identifier for the operation instance. The operation.id is created by either a request or a page view. All other telemetry sets this to the value for the containing request or page view. Operation.id is used for finding all the telemetry items for a specific operation instance.
|
|
86
|
-
*/
|
|
87
|
-
readonly operationId: string;
|
|
88
|
-
/**
|
|
89
|
-
* The name (group) of the operation. The operation.name is created by either a request or a page view. All other telemetry items set this to the value for the containing request or page view. Operation.name is used for finding all the telemetry items for a group of operations (i.e. 'GET Home/Index').
|
|
90
|
-
*/
|
|
91
|
-
readonly operationName: string;
|
|
92
|
-
/**
|
|
93
|
-
* The unique identifier of the telemetry item's immediate parent.
|
|
94
|
-
*/
|
|
95
|
-
readonly operationParentId: string;
|
|
96
|
-
readonly operationRootId: string;
|
|
97
|
-
/**
|
|
98
|
-
* Name of synthetic source. Some telemetry from the application may represent a synthetic traffic. It may be web crawler indexing the web site, site availability tests or traces from diagnostic libraries like Application Insights SDK itself.
|
|
99
|
-
*/
|
|
100
|
-
readonly operationSyntheticSource: string;
|
|
101
|
-
/**
|
|
102
|
-
* The correlation vector is a light weight vector clock which can be used to identify and order related events across clients and services.
|
|
103
|
-
*/
|
|
104
|
-
readonly operationCorrelationVector: string;
|
|
105
|
-
/**
|
|
106
|
-
* Session ID - the instance of the user's interaction with the app. Information in the session context fields is always about the end user. When telemetry is sent from a service, the session context is about the user that initiated the operation in the service.
|
|
107
|
-
*/
|
|
108
|
-
readonly sessionId: string;
|
|
109
|
-
/**
|
|
110
|
-
* Boolean value indicating whether the session identified by ai.session.id is first for the user or not.
|
|
111
|
-
*/
|
|
112
|
-
readonly sessionIsFirst: string;
|
|
113
|
-
readonly sessionIsNew: string;
|
|
114
|
-
readonly userAccountAcquisitionDate: string;
|
|
115
|
-
/**
|
|
116
|
-
* In multi-tenant applications this is the account ID or name which the user is acting with. Examples may be subscription ID for Azure portal or blog name blogging platform.
|
|
117
|
-
*/
|
|
118
|
-
readonly userAccountId: string;
|
|
119
|
-
/**
|
|
120
|
-
* The browser's user agent string as reported by the browser. This property will be used to extract informaiton regarding the customer's browser but will not be stored. Use custom properties to store the original user agent.
|
|
121
|
-
*/
|
|
122
|
-
readonly userAgent: string;
|
|
123
|
-
/**
|
|
124
|
-
* Anonymous user id. Represents the end user of the application. When telemetry is sent from a service, the user context is about the user that initiated the operation in the service.
|
|
125
|
-
*/
|
|
126
|
-
readonly userId: string;
|
|
127
|
-
/**
|
|
128
|
-
* Store region for UWP applications.
|
|
129
|
-
*/
|
|
130
|
-
readonly userStoreRegion: string;
|
|
131
|
-
/**
|
|
132
|
-
* Authenticated user id. The opposite of ai.user.id, this represents the user with a friendly name. Since it's PII information it is not collected by default by most SDKs.
|
|
133
|
-
*/
|
|
134
|
-
readonly userAuthUserId: string;
|
|
135
|
-
readonly userAnonymousUserAcquisitionDate: string;
|
|
136
|
-
readonly userAuthenticatedUserAcquisitionDate: string;
|
|
137
|
-
readonly cloudName: string;
|
|
138
|
-
/**
|
|
139
|
-
* Name of the role the application is a part of. Maps directly to the role name in azure.
|
|
140
|
-
*/
|
|
141
|
-
readonly cloudRole: string;
|
|
142
|
-
readonly cloudRoleVer: string;
|
|
143
|
-
/**
|
|
144
|
-
* Name of the instance where the application is running. Computer name for on-premisis, instance name for Azure.
|
|
145
|
-
*/
|
|
146
|
-
readonly cloudRoleInstance: string;
|
|
147
|
-
readonly cloudEnvironment: string;
|
|
148
|
-
readonly cloudLocation: string;
|
|
149
|
-
readonly cloudDeploymentUnit: string;
|
|
150
|
-
/**
|
|
151
|
-
* SDK version. See https://github.com/microsoft/ApplicationInsights-Home/blob/master/SDK-AUTHORING.md#sdk-version-specification for information.
|
|
152
|
-
*/
|
|
153
|
-
readonly internalSdkVersion: string;
|
|
154
|
-
/**
|
|
155
|
-
* Agent version. Used to indicate the version of StatusMonitor installed on the computer if it is used for data collection.
|
|
156
|
-
*/
|
|
157
|
-
readonly internalAgentVersion: string;
|
|
158
|
-
/**
|
|
159
|
-
* This is the node name used for billing purposes. Use it to override the standard detection of nodes.
|
|
160
|
-
*/
|
|
161
|
-
readonly internalNodeName: string;
|
|
162
|
-
/**
|
|
163
|
-
* This identifies the version of the snippet that was used to initialize the SDK
|
|
164
|
-
*/
|
|
165
|
-
readonly internalSnippet: string;
|
|
166
|
-
/**
|
|
167
|
-
* This identifies the source of the Sdk script (used to identify whether the SDK was loaded via the CDN)
|
|
168
|
-
*/
|
|
169
|
-
readonly internalSdkSrc: string;
|
|
170
|
-
}
|
|
171
|
-
declare const ContextTagKeys_base: new () => IContextTagKeys;
|
|
172
|
-
export declare class ContextTagKeys extends ContextTagKeys_base {
|
|
173
|
-
constructor();
|
|
174
|
-
}
|
|
175
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IBase } from "./IBase";
|
|
2
|
-
/**
|
|
3
|
-
* Data struct to contain both B and C sections.
|
|
4
|
-
*/
|
|
5
|
-
export interface IData<TDomain> extends IBase {
|
|
6
|
-
/**
|
|
7
|
-
* Name of item (B section) if any. If telemetry data is derived straight from this, this should be null.
|
|
8
|
-
*/
|
|
9
|
-
baseType: string;
|
|
10
|
-
/**
|
|
11
|
-
* Container for data item (B section).
|
|
12
|
-
*/
|
|
13
|
-
baseData: TDomain;
|
|
14
|
-
}
|