@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,14 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
export interface IApplication {
|
|
5
|
-
/**
|
|
6
|
-
* The application version.
|
|
7
|
-
*/
|
|
8
|
-
ver: string;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* The application build version.
|
|
12
|
-
*/
|
|
13
|
-
build: string;
|
|
14
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
export interface IDevice {
|
|
5
|
-
/**
|
|
6
|
-
* The type for the current device.
|
|
7
|
-
*/
|
|
8
|
-
deviceClass: string;
|
|
9
|
-
/**
|
|
10
|
-
* A device unique ID.
|
|
11
|
-
*/
|
|
12
|
-
id: string;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* The device model for the current device.
|
|
16
|
-
*/
|
|
17
|
-
model: string;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* The application screen resolution.
|
|
21
|
-
*/
|
|
22
|
-
resolution: string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* The IP address.
|
|
26
|
-
*/
|
|
27
|
-
ip: string;
|
|
28
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
export interface IInternal {
|
|
5
|
-
/**
|
|
6
|
-
* The SDK version used to create this telemetry item.
|
|
7
|
-
*/
|
|
8
|
-
sdkVersion: string;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* The SDK agent version.
|
|
12
|
-
*/
|
|
13
|
-
agentVersion: string;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* The Snippet version used to initialize the sdk instance, this will contain either
|
|
17
|
-
* undefined/null - Snippet not used
|
|
18
|
-
* '-' - Version and legacy mode not determined
|
|
19
|
-
* # - Version # of the snippet
|
|
20
|
-
* #.l - Version # in legacy mode
|
|
21
|
-
* .l - No defined version, but used legacy mode initialization
|
|
22
|
-
*/
|
|
23
|
-
snippetVer: string;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Identifies the source of the sdk script
|
|
27
|
-
*/
|
|
28
|
-
sdkSrc: string;
|
|
29
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { ITelemetryItem } from "@microsoft/applicationinsights-core-js";
|
|
5
|
-
|
|
6
|
-
export interface ISample {
|
|
7
|
-
/**
|
|
8
|
-
* Sample rate
|
|
9
|
-
*/
|
|
10
|
-
sampleRate: number;
|
|
11
|
-
|
|
12
|
-
isSampledIn(envelope: ITelemetryItem): boolean;
|
|
13
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
export interface ISession {
|
|
5
|
-
/**
|
|
6
|
-
* The session ID.
|
|
7
|
-
*/
|
|
8
|
-
id?: string;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* The date at which this guid was genereated.
|
|
12
|
-
* Per the spec the ID will be regenerated if more than acquisitionSpan milliseconds ellapse from this time.
|
|
13
|
-
*/
|
|
14
|
-
acquisitionDate?: number;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The date at which this session ID was last reported.
|
|
18
|
-
* This value should be updated whenever telemetry is sent using this ID.
|
|
19
|
-
* Per the spec the ID will be regenerated if more than renewalSpan milliseconds elapse from this time with no activity.
|
|
20
|
-
*/
|
|
21
|
-
renewalDate?: number;
|
|
22
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
export interface ITelemetryTrace {
|
|
5
|
-
/**
|
|
6
|
-
* Trace id
|
|
7
|
-
*/
|
|
8
|
-
traceID?: string;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Parent id
|
|
12
|
-
*/
|
|
13
|
-
parentID?: string;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated Never Used
|
|
17
|
-
* Trace state
|
|
18
|
-
*/
|
|
19
|
-
traceState?: ITraceState;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* An integer representation of the W3C TraceContext trace-flags. https://www.w3.org/TR/trace-context/#trace-flags
|
|
23
|
-
*/
|
|
24
|
-
traceFlags?: number;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Name
|
|
28
|
-
*/
|
|
29
|
-
name?: string;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export interface ITraceState {
|
|
33
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
export interface IUser {
|
|
5
|
-
/**
|
|
6
|
-
* The telemetry configuration.
|
|
7
|
-
*/
|
|
8
|
-
config: any;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* The user ID.
|
|
12
|
-
*/
|
|
13
|
-
id: string;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Authenticated user id
|
|
17
|
-
*/
|
|
18
|
-
authenticatedId: string;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* The account ID.
|
|
22
|
-
*/
|
|
23
|
-
accountId: string;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* The account acquisition date.
|
|
27
|
-
*/
|
|
28
|
-
accountAcquisitionDate: string;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* The localId
|
|
32
|
-
*/
|
|
33
|
-
localId: string;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* A flag indicating whether this represents a new user
|
|
37
|
-
*/
|
|
38
|
-
isNewUser?: boolean;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* A flag indicating whether the user cookie has been set
|
|
42
|
-
*/
|
|
43
|
-
isUserCookieSet?: boolean;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export interface IUserContext extends IUser {
|
|
47
|
-
setAuthenticatedUserContext(authenticatedUserId: string, accountId?: string, storeInCookie?: boolean): void;
|
|
48
|
-
clearAuthenticatedUserContext(): void;
|
|
49
|
-
update (userId?: string): void;
|
|
50
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
export interface IWeb {
|
|
5
|
-
/**
|
|
6
|
-
* Browser name, set at ingestion
|
|
7
|
-
*/
|
|
8
|
-
browser: string;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Browser ver, set at ingestion.
|
|
12
|
-
*/
|
|
13
|
-
browserVer: string;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Language
|
|
17
|
-
*/
|
|
18
|
-
browserLang: string;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* User consent, populated to properties bag
|
|
22
|
-
*/
|
|
23
|
-
userConsent: boolean;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Whether event was fired manually, populated to properties bag
|
|
27
|
-
*/
|
|
28
|
-
isManual: boolean;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Screen resolution, populated to properties bag
|
|
32
|
-
*/
|
|
33
|
-
screenRes: string;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Current domain. Leverages Window.location.hostname. populated to properties bag
|
|
37
|
-
*/
|
|
38
|
-
domain: string;
|
|
39
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
// // Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// // Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
// // THIS FILE WAS AUTOGENERATED
|
|
5
|
-
// import { Domain } from "./Domain";
|
|
6
|
-
// "use strict";
|
|
7
|
-
|
|
8
|
-
// /**
|
|
9
|
-
// * Instances of AvailabilityData represent the result of executing an availability test.
|
|
10
|
-
// */
|
|
11
|
-
// export class AvailabilityData implements Domain {
|
|
12
|
-
|
|
13
|
-
// /**
|
|
14
|
-
// * Schema version
|
|
15
|
-
// */
|
|
16
|
-
// public ver: number = 2;
|
|
17
|
-
|
|
18
|
-
// /**
|
|
19
|
-
// * Identifier of a test run. Use it to correlate steps of test run and telemetry generated by the service.
|
|
20
|
-
// */
|
|
21
|
-
// public id: string;
|
|
22
|
-
|
|
23
|
-
// /**
|
|
24
|
-
// * Name of the test that these availability results represent.
|
|
25
|
-
// */
|
|
26
|
-
// public name: string;
|
|
27
|
-
|
|
28
|
-
// /**
|
|
29
|
-
// * Duration in format: DD.HH:MM:SS.MMMMMM. Must be less than 1000 days.
|
|
30
|
-
// */
|
|
31
|
-
// public duration: string;
|
|
32
|
-
|
|
33
|
-
// /**
|
|
34
|
-
// * Success flag.
|
|
35
|
-
// */
|
|
36
|
-
// public success: boolean;
|
|
37
|
-
|
|
38
|
-
// /**
|
|
39
|
-
// * Name of the location where the test was run from.
|
|
40
|
-
// */
|
|
41
|
-
// public runLocation: string;
|
|
42
|
-
|
|
43
|
-
// /**
|
|
44
|
-
// * Diagnostic message for the result.
|
|
45
|
-
// */
|
|
46
|
-
// public message: string;
|
|
47
|
-
|
|
48
|
-
// /**
|
|
49
|
-
// * Collection of custom properties.
|
|
50
|
-
// */
|
|
51
|
-
// public properties: any = {};
|
|
52
|
-
|
|
53
|
-
// /**
|
|
54
|
-
// * Collection of custom measurements.
|
|
55
|
-
// */
|
|
56
|
-
// public measurements: any = {};
|
|
57
|
-
// }
|
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { createClassFromInterface } from "@microsoft/applicationinsights-core-js";
|
|
5
|
-
|
|
6
|
-
function _aiNameFunc(baseName: string) {
|
|
7
|
-
let aiName = "ai." + baseName + ".";
|
|
8
|
-
return function(name: string) {
|
|
9
|
-
return aiName + name;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
let _aiApplication = _aiNameFunc("application");
|
|
14
|
-
let _aiDevice = _aiNameFunc("device");
|
|
15
|
-
let _aiLocation = _aiNameFunc("location");
|
|
16
|
-
let _aiOperation = _aiNameFunc("operation");
|
|
17
|
-
let _aiSession = _aiNameFunc("session");
|
|
18
|
-
let _aiUser = _aiNameFunc("user");
|
|
19
|
-
let _aiCloud = _aiNameFunc("cloud");
|
|
20
|
-
let _aiInternal = _aiNameFunc("internal");
|
|
21
|
-
|
|
22
|
-
export interface IContextTagKeys {
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Application version. Information in the application context fields is always about the application that is sending the telemetry.
|
|
26
|
-
*/
|
|
27
|
-
readonly applicationVersion: string;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Application build.
|
|
31
|
-
*/
|
|
32
|
-
readonly applicationBuild: string;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Application type id.
|
|
36
|
-
*/
|
|
37
|
-
readonly applicationTypeId: string;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Application id.
|
|
41
|
-
*/
|
|
42
|
-
readonly applicationId: string;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Application layer.
|
|
46
|
-
*/
|
|
47
|
-
readonly applicationLayer: string;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Unique client device id. Computer name in most cases.
|
|
51
|
-
*/
|
|
52
|
-
readonly deviceId: string;
|
|
53
|
-
readonly deviceIp: string;
|
|
54
|
-
readonly deviceLanguage: string;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Device locale using <language>-<REGION> pattern, following RFC 5646. Example 'en-US'.
|
|
58
|
-
*/
|
|
59
|
-
readonly deviceLocale: string;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* 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.
|
|
63
|
-
*/
|
|
64
|
-
readonly deviceModel: string;
|
|
65
|
-
readonly deviceFriendlyName: string;
|
|
66
|
-
readonly deviceNetwork: string;
|
|
67
|
-
readonly deviceNetworkName: string;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Client device OEM name taken from the browser.
|
|
71
|
-
*/
|
|
72
|
-
readonly deviceOEMName: string;
|
|
73
|
-
readonly deviceOS: string;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* 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'
|
|
77
|
-
*/
|
|
78
|
-
readonly deviceOSVersion: string;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Name of the instance where application is running. Computer name for on-premisis, instance name for Azure.
|
|
82
|
-
*/
|
|
83
|
-
readonly deviceRoleInstance: string;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Name of the role application is part of. Maps directly to the role name in azure.
|
|
87
|
-
*/
|
|
88
|
-
readonly deviceRoleName: string;
|
|
89
|
-
readonly deviceScreenResolution: string;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* 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.
|
|
93
|
-
*/
|
|
94
|
-
readonly deviceType: string;
|
|
95
|
-
readonly deviceMachineName: string;
|
|
96
|
-
readonly deviceVMName: string;
|
|
97
|
-
readonly deviceBrowser: string;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* The browser name and version as reported by the browser.
|
|
101
|
-
*/
|
|
102
|
-
readonly deviceBrowserVersion: string;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* 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.
|
|
106
|
-
*/
|
|
107
|
-
readonly locationIp: string;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* 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.
|
|
111
|
-
*/
|
|
112
|
-
readonly locationCountry: string;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* 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.
|
|
116
|
-
*/
|
|
117
|
-
readonly locationProvince: string;
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* 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.
|
|
121
|
-
*/
|
|
122
|
-
readonly locationCity: string;
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* 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.
|
|
126
|
-
*/
|
|
127
|
-
readonly operationId: string;
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* 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').
|
|
131
|
-
*/
|
|
132
|
-
readonly operationName: string;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* The unique identifier of the telemetry item's immediate parent.
|
|
136
|
-
*/
|
|
137
|
-
readonly operationParentId: string;
|
|
138
|
-
readonly operationRootId: string;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* 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.
|
|
142
|
-
*/
|
|
143
|
-
readonly operationSyntheticSource: string;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* The correlation vector is a light weight vector clock which can be used to identify and order related events across clients and services.
|
|
147
|
-
*/
|
|
148
|
-
readonly operationCorrelationVector: string;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* 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.
|
|
152
|
-
*/
|
|
153
|
-
readonly sessionId: string;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Boolean value indicating whether the session identified by ai.session.id is first for the user or not.
|
|
157
|
-
*/
|
|
158
|
-
readonly sessionIsFirst: string;
|
|
159
|
-
readonly sessionIsNew: string;
|
|
160
|
-
readonly userAccountAcquisitionDate: string;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* 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.
|
|
164
|
-
*/
|
|
165
|
-
readonly userAccountId: string;
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* 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.
|
|
169
|
-
*/
|
|
170
|
-
readonly userAgent: string;
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* 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.
|
|
174
|
-
*/
|
|
175
|
-
readonly userId: string;
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Store region for UWP applications.
|
|
179
|
-
*/
|
|
180
|
-
readonly userStoreRegion: string;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* 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.
|
|
184
|
-
*/
|
|
185
|
-
readonly userAuthUserId: string;
|
|
186
|
-
readonly userAnonymousUserAcquisitionDate: string;
|
|
187
|
-
readonly userAuthenticatedUserAcquisitionDate: string;
|
|
188
|
-
readonly cloudName: string;
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Name of the role the application is a part of. Maps directly to the role name in azure.
|
|
192
|
-
*/
|
|
193
|
-
readonly cloudRole: string;
|
|
194
|
-
readonly cloudRoleVer: string;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Name of the instance where the application is running. Computer name for on-premisis, instance name for Azure.
|
|
198
|
-
*/
|
|
199
|
-
readonly cloudRoleInstance: string;
|
|
200
|
-
readonly cloudEnvironment: string;
|
|
201
|
-
readonly cloudLocation: string;
|
|
202
|
-
readonly cloudDeploymentUnit: string;
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* SDK version. See https://github.com/microsoft/ApplicationInsights-Home/blob/master/SDK-AUTHORING.md#sdk-version-specification for information.
|
|
206
|
-
*/
|
|
207
|
-
readonly internalSdkVersion: string;
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Agent version. Used to indicate the version of StatusMonitor installed on the computer if it is used for data collection.
|
|
211
|
-
*/
|
|
212
|
-
readonly internalAgentVersion: string;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* This is the node name used for billing purposes. Use it to override the standard detection of nodes.
|
|
216
|
-
*/
|
|
217
|
-
readonly internalNodeName: string;
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* This identifies the version of the snippet that was used to initialize the SDK
|
|
221
|
-
*/
|
|
222
|
-
readonly internalSnippet: string;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* This identifies the source of the Sdk script (used to identify whether the SDK was loaded via the CDN)
|
|
226
|
-
*/
|
|
227
|
-
readonly internalSdkSrc: string;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
export class ContextTagKeys extends createClassFromInterface<IContextTagKeys>({
|
|
231
|
-
applicationVersion: _aiApplication("ver"),
|
|
232
|
-
applicationBuild: _aiApplication("build"),
|
|
233
|
-
applicationTypeId: _aiApplication("typeId"),
|
|
234
|
-
applicationId: _aiApplication("applicationId"),
|
|
235
|
-
applicationLayer: _aiApplication("layer"),
|
|
236
|
-
|
|
237
|
-
deviceId: _aiDevice("id"),
|
|
238
|
-
deviceIp: _aiDevice("ip"),
|
|
239
|
-
deviceLanguage: _aiDevice("language"),
|
|
240
|
-
deviceLocale: _aiDevice("locale"),
|
|
241
|
-
deviceModel: _aiDevice("model"),
|
|
242
|
-
deviceFriendlyName: _aiDevice("friendlyName"),
|
|
243
|
-
deviceNetwork: _aiDevice("network"),
|
|
244
|
-
deviceNetworkName: _aiDevice("networkName"),
|
|
245
|
-
deviceOEMName: _aiDevice("oemName"),
|
|
246
|
-
deviceOS: _aiDevice("os"),
|
|
247
|
-
deviceOSVersion: _aiDevice("osVersion"),
|
|
248
|
-
deviceRoleInstance: _aiDevice("roleInstance"),
|
|
249
|
-
deviceRoleName: _aiDevice("roleName"),
|
|
250
|
-
deviceScreenResolution: _aiDevice("screenResolution"),
|
|
251
|
-
deviceType: _aiDevice("type"),
|
|
252
|
-
deviceMachineName: _aiDevice("machineName"),
|
|
253
|
-
deviceVMName: _aiDevice("vmName"),
|
|
254
|
-
deviceBrowser: _aiDevice("browser"),
|
|
255
|
-
deviceBrowserVersion: _aiDevice("browserVersion"),
|
|
256
|
-
|
|
257
|
-
locationIp: _aiLocation("ip"),
|
|
258
|
-
locationCountry: _aiLocation("country"),
|
|
259
|
-
locationProvince: _aiLocation("province"),
|
|
260
|
-
locationCity: _aiLocation("city"),
|
|
261
|
-
|
|
262
|
-
operationId: _aiOperation("id"),
|
|
263
|
-
operationName: _aiOperation("name"),
|
|
264
|
-
operationParentId: _aiOperation("parentId"),
|
|
265
|
-
operationRootId: _aiOperation("rootId"),
|
|
266
|
-
operationSyntheticSource: _aiOperation("syntheticSource"),
|
|
267
|
-
operationCorrelationVector: _aiOperation("correlationVector"),
|
|
268
|
-
|
|
269
|
-
sessionId: _aiSession("id"),
|
|
270
|
-
sessionIsFirst: _aiSession("isFirst"),
|
|
271
|
-
sessionIsNew: _aiSession("isNew"),
|
|
272
|
-
|
|
273
|
-
userAccountAcquisitionDate: _aiUser("accountAcquisitionDate"),
|
|
274
|
-
userAccountId: _aiUser("accountId"),
|
|
275
|
-
userAgent: _aiUser("userAgent"),
|
|
276
|
-
userId: _aiUser("id"),
|
|
277
|
-
userStoreRegion: _aiUser("storeRegion"),
|
|
278
|
-
userAuthUserId: _aiUser("authUserId"),
|
|
279
|
-
userAnonymousUserAcquisitionDate: _aiUser("anonUserAcquisitionDate"),
|
|
280
|
-
userAuthenticatedUserAcquisitionDate: _aiUser("authUserAcquisitionDate"),
|
|
281
|
-
|
|
282
|
-
cloudName: _aiCloud("name"),
|
|
283
|
-
cloudRole: _aiCloud("role"),
|
|
284
|
-
cloudRoleVer: _aiCloud("roleVer"),
|
|
285
|
-
cloudRoleInstance: _aiCloud("roleInstance"),
|
|
286
|
-
cloudEnvironment: _aiCloud("environment"),
|
|
287
|
-
cloudLocation: _aiCloud("location"),
|
|
288
|
-
cloudDeploymentUnit: _aiCloud("deploymentUnit"),
|
|
289
|
-
|
|
290
|
-
internalNodeName: _aiInternal("nodeName"),
|
|
291
|
-
internalSdkVersion: _aiInternal("sdkVersion"),
|
|
292
|
-
internalAgentVersion: _aiInternal("agentVersion"),
|
|
293
|
-
internalSnippet: _aiInternal("snippet"),
|
|
294
|
-
internalSdkSrc: _aiInternal("sdkSrc")
|
|
295
|
-
}) {
|
|
296
|
-
constructor() {
|
|
297
|
-
super();
|
|
298
|
-
}
|
|
299
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Data struct to contain only C section with custom fields.
|
|
6
|
-
*/
|
|
7
|
-
export interface IBase {
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Name of item (B section) if any. If telemetry data is derived straight from this, this should be null.
|
|
11
|
-
*/
|
|
12
|
-
baseType: string;
|
|
13
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { IBase } from "./IBase";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Data struct to contain both B and C sections.
|
|
8
|
-
*/
|
|
9
|
-
export interface IData<TDomain> extends IBase {
|
|
10
|
-
/**
|
|
11
|
-
* Name of item (B section) if any. If telemetry data is derived straight from this, this should be null.
|
|
12
|
-
*/
|
|
13
|
-
baseType: string;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Container for data item (B section).
|
|
17
|
-
*/
|
|
18
|
-
baseData: TDomain;
|
|
19
|
-
}
|