@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,44 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
import { DataPointType } from "./DataPointType";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Metric data single measurement.
|
|
7
|
-
*/
|
|
8
|
-
export interface IDataPoint {
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Name of the metric.
|
|
12
|
-
*/
|
|
13
|
-
name: string;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Metric type. Single measurement or the aggregated value.
|
|
17
|
-
*/
|
|
18
|
-
kind: DataPointType;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Single value for measurement. Sum of individual measurements for the aggregation.
|
|
22
|
-
*/
|
|
23
|
-
value: number;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Metric weight of the aggregated metric. Should not be set for a measurement.
|
|
27
|
-
*/
|
|
28
|
-
count: number;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Minimum value of the aggregated metric. Should not be set for a measurement.
|
|
32
|
-
*/
|
|
33
|
-
min: number;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Maximum value of the aggregated metric. Should not be set for a measurement.
|
|
37
|
-
*/
|
|
38
|
-
max: number;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Standard deviation of the aggregated metric. Should not be set for a measurement.
|
|
42
|
-
*/
|
|
43
|
-
stdDev: number;
|
|
44
|
-
}
|
|
@@ -1,50 +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
|
-
// * System variables for a telemetry item.
|
|
8
|
-
// */
|
|
9
|
-
// export interface IEnvelope {
|
|
10
|
-
|
|
11
|
-
// /**
|
|
12
|
-
// * Envelope version. For internal use only. By assigning this the default, it will not be serialized within the payload unless changed to a value other than #1.
|
|
13
|
-
// */
|
|
14
|
-
// ver: number; /* 1 */
|
|
15
|
-
|
|
16
|
-
// /**
|
|
17
|
-
// * Type name of telemetry data item.
|
|
18
|
-
// */
|
|
19
|
-
// name: string;
|
|
20
|
-
|
|
21
|
-
// /**
|
|
22
|
-
// * Event date time when telemetry item was created. This is the wall clock time on the client when the event was generated. There is no guarantee that the client's time is accurate. This field must be formatted in UTC ISO 8601 format, with a trailing 'Z' character, as described publicly on https://en.wikipedia.org/wiki/ISO_8601#UTC. Note: the number of decimal seconds digits provided are variable (and unspecified). Consumers should handle this, i.e. managed code consumers should not use format 'O' for parsing as it specifies a fixed length. Example: 2009-06-15T13:45:30.0000000Z.
|
|
23
|
-
// */
|
|
24
|
-
// time: string;
|
|
25
|
-
|
|
26
|
-
// /**
|
|
27
|
-
// * Sampling rate used in application. This telemetry item represents 1 / sampleRate actual telemetry items.
|
|
28
|
-
// */
|
|
29
|
-
// sampleRate: number; /* 100.0 */
|
|
30
|
-
|
|
31
|
-
// /**
|
|
32
|
-
// * Sequence field used to track absolute order of uploaded events.
|
|
33
|
-
// */
|
|
34
|
-
// seq: string;
|
|
35
|
-
|
|
36
|
-
// /**
|
|
37
|
-
// * The application's instrumentation key. The key is typically represented as a GUID, but there are cases when it is not a guid. No code should rely on iKey being a GUID. Instrumentation key is case insensitive.
|
|
38
|
-
// */
|
|
39
|
-
// iKey: string;
|
|
40
|
-
|
|
41
|
-
// /**
|
|
42
|
-
// * Key/value collection of context properties. See ContextTagKeys for information on available properties.
|
|
43
|
-
// */
|
|
44
|
-
// tags: any; /* {} */
|
|
45
|
-
|
|
46
|
-
// /**
|
|
47
|
-
// * Telemetry data item.
|
|
48
|
-
// */
|
|
49
|
-
// data: IBase;
|
|
50
|
-
// }
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { IDomain } from "./IDomain";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Instances of Event represent structured event records that can be grouped and searched by their properties. Event data item also creates a metric of event count by name.
|
|
8
|
-
*/
|
|
9
|
-
export interface IEventData extends IDomain {
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Schema version
|
|
13
|
-
*/
|
|
14
|
-
ver: number; /* 2 */
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Event name. Keep it low cardinality to allow proper grouping and useful metrics.
|
|
18
|
-
*/
|
|
19
|
-
name: string;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Collection of custom properties.
|
|
23
|
-
*/
|
|
24
|
-
properties: any; /* {} */
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Collection of custom measurements.
|
|
28
|
-
*/
|
|
29
|
-
measurements: any; /* {} */
|
|
30
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { IExceptionDetails } from "./IExceptionDetails";
|
|
5
|
-
import { IDomain } from "./IDomain";
|
|
6
|
-
import { SeverityLevel } from "./SeverityLevel";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* An instance of Exception represents a handled or unhandled exception that occurred during execution of the monitored application.
|
|
10
|
-
*/
|
|
11
|
-
export interface IExceptionData extends IDomain {
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Schema version
|
|
15
|
-
*/
|
|
16
|
-
ver: number; /* 2 */
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Exception chain - list of inner exceptions.
|
|
20
|
-
*/
|
|
21
|
-
exceptions: IExceptionDetails[]; /* [] */
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Severity level. Mostly used to indicate exception severity level when it is reported by logging library.
|
|
25
|
-
*/
|
|
26
|
-
severityLevel: SeverityLevel;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Collection of custom properties.
|
|
30
|
-
*/
|
|
31
|
-
properties: any; /* {} */
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Collection of custom measurements.
|
|
35
|
-
*/
|
|
36
|
-
measurements: any; /* {} */
|
|
37
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { IStackFrame } from "./IStackFrame";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Exception details of the exception in a chain.
|
|
8
|
-
*/
|
|
9
|
-
export interface IExceptionDetails {
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* In case exception is nested (outer exception contains inner one), the id and outerId properties are used to represent the nesting.
|
|
13
|
-
*/
|
|
14
|
-
id: number;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The value of outerId is a reference to an element in ExceptionDetails that represents the outer exception
|
|
18
|
-
*/
|
|
19
|
-
outerId: number;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Exception type name.
|
|
23
|
-
*/
|
|
24
|
-
typeName: string;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Exception message.
|
|
28
|
-
*/
|
|
29
|
-
message: string;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Indicates if full exception stack is provided in the exception. The stack may be trimmed, such as in the case of a StackOverflow exception.
|
|
33
|
-
*/
|
|
34
|
-
hasFullStack: boolean;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Text describing the stack. Either stack or parsedStack should have a value.
|
|
38
|
-
*/
|
|
39
|
-
stack: string;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* List of stack frames. Either stack or parsedStack should have a value.
|
|
43
|
-
*/
|
|
44
|
-
parsedStack: IStackFrame[]; /* [] */
|
|
45
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { IDomain } from "./IDomain";
|
|
5
|
-
import { SeverityLevel } from "./SeverityLevel";
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Instances of Message represent printf-like trace statements that are text-searched. Log4Net, NLog and other text-based log file entries are translated into intances of this type. The message does not have measurements.
|
|
9
|
-
*/
|
|
10
|
-
export interface IMessageData extends IDomain {
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Schema version
|
|
14
|
-
*/
|
|
15
|
-
ver: number; /* 2 */
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Trace message
|
|
19
|
-
*/
|
|
20
|
-
message: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Trace severity level.
|
|
24
|
-
*/
|
|
25
|
-
severityLevel: SeverityLevel;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Collection of custom properties.
|
|
29
|
-
*/
|
|
30
|
-
properties: any; /* {} */
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Collection of custom measurements.
|
|
34
|
-
*/
|
|
35
|
-
measurements: any; /* {} */
|
|
36
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { IDomain } from "./IDomain";
|
|
5
|
-
import { IDataPoint } from "./IDataPoint";
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* An instance of the Metric item is a list of measurements (single data points) and/or aggregations.
|
|
9
|
-
*/
|
|
10
|
-
export interface IMetricData extends IDomain {
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Schema version
|
|
14
|
-
*/
|
|
15
|
-
ver: number; /* 2 */
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* List of metrics. Only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.
|
|
19
|
-
*/
|
|
20
|
-
metrics: IDataPoint[]; /* [] */
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Collection of custom properties.
|
|
24
|
-
*/
|
|
25
|
-
properties: any; /* {} */
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Collection of custom measurements.
|
|
29
|
-
*/
|
|
30
|
-
measurements: any; /* {} */
|
|
31
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
// THIS FILE WAS AUTOGENERATED
|
|
5
|
-
import { IEventData } from "./IEventData";
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* An instance of PageView represents a generic action on a page like a button click. It is also the base type for PageView.
|
|
9
|
-
*/
|
|
10
|
-
export interface IPageViewData extends IEventData {
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Request URL with all query string parameters
|
|
14
|
-
*/
|
|
15
|
-
url: string;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Request duration in format: DD.HH:MM:SS.MMMMMM. For a page view (PageViewData), this is the duration. For a page view with performance information (PageViewPerfData), this is the page load time. Must be less than 1000 days.
|
|
19
|
-
*/
|
|
20
|
-
duration: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Identifier of a page view instance. Used for correlation between page view and other telemetry items.
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
26
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { IPageViewData } from "./IPageViewData";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* An instance of PageViewPerf represents: a page view with no performance data, a page view with performance data, or just the performance data of an earlier page request.
|
|
8
|
-
*/
|
|
9
|
-
export interface IPageViewPerfData extends IPageViewData {
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Performance total in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
13
|
-
*/
|
|
14
|
-
perfTotal: string;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Network connection time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
18
|
-
*/
|
|
19
|
-
networkConnect: string;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Sent request time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
23
|
-
*/
|
|
24
|
-
sentRequest: string;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Received response time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
28
|
-
*/
|
|
29
|
-
receivedResponse: string;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* DOM processing time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
33
|
-
*/
|
|
34
|
-
domProcessing: string;
|
|
35
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { IDomain } from "./IDomain";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* An instance of Remote Dependency represents an interaction of the monitored component with a remote component/service like SQL or an HTTP endpoint.
|
|
8
|
-
*/
|
|
9
|
-
export interface IRemoteDependencyData extends IDomain {
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Schema version
|
|
13
|
-
*/
|
|
14
|
-
ver: number; /* 2 */
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Name of the command initiated with this dependency call. Low cardinality value. Examples are stored procedure name and URL path template.
|
|
18
|
-
*/
|
|
19
|
-
name: string;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Identifier of a dependency call instance. Used for correlation with the request telemetry item corresponding to this dependency call.
|
|
23
|
-
*/
|
|
24
|
-
id: string;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Result code of a dependency call. Examples are SQL error code and HTTP status code.
|
|
28
|
-
*/
|
|
29
|
-
resultCode: string;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Request duration in format: DD.HH:MM:SS.MMMMMM. Must be less than 1000 days.
|
|
33
|
-
*/
|
|
34
|
-
duration: string;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Indication of successful or unsuccessful call.
|
|
38
|
-
*/
|
|
39
|
-
success: boolean; /* true */
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Command initiated by this dependency call. Examples are SQL statement and HTTP URL's with all query parameters.
|
|
43
|
-
*/
|
|
44
|
-
data: string;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Target site of a dependency call. Examples are server name, host address.
|
|
48
|
-
*/
|
|
49
|
-
target: string;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Dependency type name. Very low cardinality value for logical grouping of dependencies and interpretation of other fields like commandName and resultCode. Examples are SQL, Azure table, and HTTP.
|
|
53
|
-
*/
|
|
54
|
-
type: string;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Collection of custom properties.
|
|
58
|
-
*/
|
|
59
|
-
properties: any; /* {} */
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Collection of custom measurements.
|
|
63
|
-
*/
|
|
64
|
-
measurements: any; /* {} */
|
|
65
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Stack frame information.
|
|
6
|
-
*/
|
|
7
|
-
export interface IStackFrame {
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Level in the call stack. For the long stacks SDK may not report every function in a call stack.
|
|
11
|
-
*/
|
|
12
|
-
level: number;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Method name.
|
|
16
|
-
*/
|
|
17
|
-
method: string;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Name of the assembly (dll, jar, etc.) containing this function.
|
|
21
|
-
*/
|
|
22
|
-
assembly: string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* File name or URL of the method implementation.
|
|
26
|
-
*/
|
|
27
|
-
fileName: string;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Line number of the code implementation.
|
|
31
|
-
*/
|
|
32
|
-
line: number;
|
|
33
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
// // Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// // Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
// import { IDomain } from "./IDomain";
|
|
5
|
-
|
|
6
|
-
// /**
|
|
7
|
-
// * An instance of Request represents completion of an external request to the application to do work and contains a summary of that request execution and the results.
|
|
8
|
-
// */
|
|
9
|
-
// export class RequestData implements IDomain {
|
|
10
|
-
|
|
11
|
-
// /**
|
|
12
|
-
// * Schema version
|
|
13
|
-
// */
|
|
14
|
-
// public ver: number = 2;
|
|
15
|
-
|
|
16
|
-
// /**
|
|
17
|
-
// * Identifier of a request call instance. Used for correlation between request and other telemetry items.
|
|
18
|
-
// */
|
|
19
|
-
// public id: string;
|
|
20
|
-
|
|
21
|
-
// /**
|
|
22
|
-
// * Source of the request. Examples are the instrumentation key of the caller or the ip address of the caller.
|
|
23
|
-
// */
|
|
24
|
-
// public source: string;
|
|
25
|
-
|
|
26
|
-
// /**
|
|
27
|
-
// * Name of the request. Represents code path taken to process request. Low cardinality value to allow better grouping of requests. For HTTP requests it represents the HTTP method and URL path template like 'GET /values/{id}'.
|
|
28
|
-
// */
|
|
29
|
-
// public name: string;
|
|
30
|
-
|
|
31
|
-
// /**
|
|
32
|
-
// * Indication of successful or unsuccessful call.
|
|
33
|
-
// */
|
|
34
|
-
// public success: boolean;
|
|
35
|
-
|
|
36
|
-
// /**
|
|
37
|
-
// * Request URL with all query string parameters.
|
|
38
|
-
// */
|
|
39
|
-
// public url: string;
|
|
40
|
-
|
|
41
|
-
// /**
|
|
42
|
-
// * Collection of custom properties.
|
|
43
|
-
// */
|
|
44
|
-
// public properties: any = {};
|
|
45
|
-
|
|
46
|
-
// /**
|
|
47
|
-
// * Collection of custom measurements.
|
|
48
|
-
// */
|
|
49
|
-
// public measurements: any = {};
|
|
50
|
-
// }
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { createEnumStyle } from "@microsoft/applicationinsights-core-js";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Defines the level of severity for the event.
|
|
8
|
-
*/
|
|
9
|
-
export const enum eSeverityLevel {
|
|
10
|
-
Verbose = 0,
|
|
11
|
-
Information = 1,
|
|
12
|
-
Warning = 2,
|
|
13
|
-
Error = 3,
|
|
14
|
-
Critical = 4,
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Defines the level of severity for the event.
|
|
19
|
-
*/
|
|
20
|
-
export const SeverityLevel = createEnumStyle<typeof eSeverityLevel>({
|
|
21
|
-
Verbose: eSeverityLevel.Verbose,
|
|
22
|
-
Information: eSeverityLevel.Information,
|
|
23
|
-
Warning: eSeverityLevel.Warning,
|
|
24
|
-
Error: eSeverityLevel.Error,
|
|
25
|
-
Critical: eSeverityLevel.Critical
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
export type SeverityLevel = number | eSeverityLevel;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { IEventTelemetry } from "./IEventTelemetry";
|
|
5
|
-
import { IPageViewTelemetry } from "./IPageViewTelemetry";
|
|
6
|
-
import { IExceptionTelemetry, IAutoExceptionTelemetry } from "./IExceptionTelemetry";
|
|
7
|
-
import { ITraceTelemetry } from "./ITraceTelemetry";
|
|
8
|
-
import { IMetricTelemetry } from "./IMetricTelemetry";
|
|
9
|
-
import { IPageViewPerformanceTelemetry } from "./IPageViewPerformanceTelemetry";
|
|
10
|
-
import { ICookieMgr, ITelemetryItem } from "@microsoft/applicationinsights-core-js";
|
|
11
|
-
|
|
12
|
-
export interface IAppInsights {
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Get the current cookie manager for this instance
|
|
16
|
-
*/
|
|
17
|
-
getCookieMgr(): ICookieMgr;
|
|
18
|
-
|
|
19
|
-
trackEvent(event: IEventTelemetry, customProperties?: {[key: string]: any}): void;
|
|
20
|
-
trackPageView(pageView: IPageViewTelemetry, customProperties?: { [key: string]: any }): void;
|
|
21
|
-
trackException(exception: IExceptionTelemetry, customProperties?: {[key: string]: any}): void;
|
|
22
|
-
_onerror(exception: IAutoExceptionTelemetry): void;
|
|
23
|
-
trackTrace(trace: ITraceTelemetry, customProperties?: {[key: string]: any}): void;
|
|
24
|
-
trackMetric(metric: IMetricTelemetry, customProperties?: {[key: string]: any}): void;
|
|
25
|
-
startTrackPage(name?: string): void;
|
|
26
|
-
stopTrackPage(name?: string, url?: string, customProperties?: Object): void;
|
|
27
|
-
startTrackEvent(name: string): void;
|
|
28
|
-
stopTrackEvent(name: string, properties?: Object, measurements?: Object): void;
|
|
29
|
-
addTelemetryInitializer(telemetryInitializer: (item: ITelemetryItem) => boolean | void): void;
|
|
30
|
-
trackPageViewPerformance(pageViewPerformance: IPageViewPerformanceTelemetry, customProperties?: { [key: string]: any }): void;
|
|
31
|
-
}
|