@microsoft/applicationinsights-common 2.8.0-nightly.2202-06 → 2.8.0-nightly.2204-04
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/applicationinsights-common.integrity.json +9 -9
- package/browser/applicationinsights-common.js +1007 -536
- package/browser/applicationinsights-common.js.map +1 -1
- package/browser/applicationinsights-common.min.js +2 -2
- package/browser/applicationinsights-common.min.js.map +1 -1
- package/dist/applicationinsights-common.api.json +2599 -928
- package/dist/applicationinsights-common.api.md +99 -43
- package/dist/applicationinsights-common.d.ts +515 -282
- package/dist/applicationinsights-common.js +1007 -536
- package/dist/applicationinsights-common.js.map +1 -1
- package/dist/applicationinsights-common.min.js +2 -2
- package/dist/applicationinsights-common.min.js.map +1 -1
- package/dist/applicationinsights-common.rollup.d.ts +515 -282
- package/dist-esm/ConnectionStringParser.js +1 -1
- package/dist-esm/Constants.js +1 -1
- package/dist-esm/DomHelperFuncs.js +1 -1
- package/dist-esm/Enums.js +11 -24
- package/dist-esm/Enums.js.map +1 -1
- package/dist-esm/HelperFuncs.js +7 -6
- package/dist-esm/HelperFuncs.js.map +1 -1
- package/dist-esm/Interfaces/ConnectionString.js +1 -1
- package/dist-esm/Interfaces/Context/IApplication.js +1 -1
- package/dist-esm/Interfaces/Context/IDevice.js +1 -1
- package/dist-esm/Interfaces/Context/IInternal.js +1 -1
- package/dist-esm/Interfaces/Context/ILocation.js +1 -1
- package/dist-esm/Interfaces/Context/IOperatingSystem.js +1 -1
- package/dist-esm/Interfaces/Context/ISample.js +1 -1
- package/dist-esm/Interfaces/Context/ISession.js +1 -1
- package/dist-esm/Interfaces/Context/ITelemetryTrace.js +1 -1
- package/dist-esm/Interfaces/Context/IUser.js +1 -1
- package/dist-esm/Interfaces/Context/IWeb.js +1 -1
- package/dist-esm/Interfaces/Contracts/AvailabilityData.js +52 -0
- package/dist-esm/Interfaces/Contracts/AvailabilityData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/{Generated/ContextTagKeys.js → ContextTagKeys.js} +1 -1
- package/dist-esm/Interfaces/Contracts/{Generated/ContextTagKeys.js.map → ContextTagKeys.js.map} +0 -0
- package/dist-esm/Interfaces/Contracts/DataPointType.js +8 -0
- package/dist-esm/Interfaces/Contracts/DataPointType.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/DependencyKind.js +8 -0
- package/dist-esm/Interfaces/Contracts/DependencyKind.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/DependencySourceType.js +8 -0
- package/dist-esm/Interfaces/Contracts/DependencySourceType.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/{Generated/Domain.js → IBase.js} +2 -2
- package/dist-esm/Interfaces/Contracts/IBase.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IDataPoint.js +6 -0
- package/dist-esm/Interfaces/Contracts/IDataPoint.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IDomain.js +8 -0
- package/dist-esm/Interfaces/Contracts/IDomain.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IEnvelope.js +46 -0
- package/dist-esm/Interfaces/Contracts/IEnvelope.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IEventData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IEventData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IExceptionData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IExceptionData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IExceptionDetails.js +8 -0
- package/dist-esm/Interfaces/Contracts/IExceptionDetails.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IMessageData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IMessageData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IMetricData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IMetricData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IPageViewData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IPageViewData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IStackFrame.js +8 -0
- package/dist-esm/Interfaces/Contracts/IStackFrame.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/RequestData.js +46 -0
- package/dist-esm/Interfaces/Contracts/RequestData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/{Generated/SeverityLevel.js → SeverityLevel.js} +1 -1
- package/dist-esm/Interfaces/Contracts/{Generated/SeverityLevel.js.map → SeverityLevel.js.map} +0 -0
- package/dist-esm/Interfaces/IAppInsights.js +1 -1
- package/dist-esm/Interfaces/IChannelControlsAI.js +1 -1
- package/dist-esm/Interfaces/IConfig.js +1 -1
- package/dist-esm/Interfaces/ICorrelationConfig.js +1 -1
- package/dist-esm/Interfaces/IDependencyTelemetry.js +1 -1
- package/dist-esm/Interfaces/IEventTelemetry.js +1 -1
- package/dist-esm/Interfaces/IExceptionTelemetry.js +1 -1
- package/dist-esm/Interfaces/IMetricTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPageViewTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPartC.js +1 -1
- package/dist-esm/Interfaces/IPropertiesPlugin.js +1 -1
- package/dist-esm/Interfaces/IRequestContext.js +1 -1
- package/dist-esm/Interfaces/ITelemetryContext.js +1 -1
- package/dist-esm/Interfaces/ITraceTelemetry.js +1 -1
- package/dist-esm/Interfaces/PartAExtensions.js +2 -2
- package/dist-esm/Interfaces/PartAExtensions.js.map +1 -1
- package/dist-esm/Interfaces/Telemetry/IEnvelope.js +1 -1
- package/dist-esm/Interfaces/Telemetry/ISerializable.js +1 -1
- package/dist-esm/RequestResponseHeaders.js +1 -1
- package/dist-esm/StorageHelperFuncs.js +27 -12
- package/dist-esm/StorageHelperFuncs.js.map +1 -1
- package/dist-esm/Telemetry/Common/Data.js +6 -11
- package/dist-esm/Telemetry/Common/Data.js.map +1 -1
- package/dist-esm/Telemetry/Common/DataPoint.js +8 -9
- package/dist-esm/Telemetry/Common/DataPoint.js.map +1 -1
- package/dist-esm/Telemetry/Common/DataSanitizer.js +8 -8
- package/dist-esm/Telemetry/Common/DataSanitizer.js.map +1 -1
- package/dist-esm/Telemetry/Common/Envelope.js +12 -12
- package/dist-esm/Telemetry/Common/Envelope.js.map +1 -1
- package/dist-esm/Telemetry/Event.js +9 -12
- package/dist-esm/Telemetry/Event.js.map +1 -1
- package/dist-esm/Telemetry/Exception.js +74 -81
- package/dist-esm/Telemetry/Exception.js.map +1 -1
- package/dist-esm/Telemetry/Metric.js +9 -12
- package/dist-esm/Telemetry/Metric.js.map +1 -1
- package/dist-esm/Telemetry/PageView.js +12 -15
- package/dist-esm/Telemetry/PageView.js.map +1 -1
- package/dist-esm/Telemetry/PageViewPerformance.js +16 -19
- package/dist-esm/Telemetry/PageViewPerformance.js.map +1 -1
- package/dist-esm/Telemetry/RemoteDependencyData.js +17 -20
- package/dist-esm/Telemetry/RemoteDependencyData.js.map +1 -1
- package/dist-esm/Telemetry/Trace.js +10 -13
- package/dist-esm/Telemetry/Trace.js.map +1 -1
- package/dist-esm/TelemetryItemCreator.js +1 -1
- package/dist-esm/UrlHelperFuncs.js +1 -1
- package/dist-esm/Util.js +1 -1
- package/dist-esm/applicationinsights-common.js +4 -7
- package/dist-esm/applicationinsights-common.js.map +1 -1
- package/package.json +3 -3
- package/src/Enums.ts +19 -3
- package/src/HelperFuncs.ts +7 -5
- package/src/Interfaces/Contracts/AvailabilityData.ts +57 -0
- package/src/Interfaces/Contracts/{Generated/ContextTagKeys.ts → ContextTagKeys.ts} +0 -0
- package/src/Interfaces/Contracts/{Generated/DataPointType.ts → DataPointType.ts} +2 -3
- package/src/Interfaces/Contracts/{Generated/DependencyKind.ts → DependencyKind.ts} +2 -3
- package/src/Interfaces/Contracts/{Generated/DependencySourceType.ts → DependencySourceType.ts} +2 -3
- package/src/Interfaces/Contracts/{Generated/Base.ts → IBase.ts} +2 -7
- package/src/Interfaces/Contracts/{Generated/Data.ts → IData.ts} +5 -12
- package/src/Interfaces/Contracts/{Generated/DataPoint.ts → IDataPoint.ts} +8 -8
- package/src/Interfaces/Contracts/{Generated/Domain.ts → IDomain.ts} +1 -3
- package/src/Interfaces/Contracts/IEnvelope.ts +50 -0
- package/src/Interfaces/Contracts/{Generated/EventData.ts → IEventData.ts} +7 -10
- package/src/Interfaces/Contracts/{Generated/ExceptionData.ts → IExceptionData.ts} +8 -11
- package/src/Interfaces/Contracts/{Generated/ExceptionDetails.ts → IExceptionDetails.ts} +9 -10
- package/src/Interfaces/Contracts/{Generated/MessageData.ts → IMessageData.ts} +7 -10
- package/src/Interfaces/Contracts/{Generated/MetricData.ts → IMetricData.ts} +7 -10
- package/{types/Interfaces/Contracts/Generated/PageViewData.d.ts → src/Interfaces/Contracts/IPageViewData.ts} +10 -19
- package/src/Interfaces/Contracts/IPageViewPerfData.ts +35 -0
- package/src/Interfaces/Contracts/{Generated/RemoteDependencyData.ts → IRemoteDependencyData.ts} +13 -16
- package/src/Interfaces/Contracts/{Generated/StackFrame.ts → IStackFrame.ts} +6 -7
- package/src/Interfaces/Contracts/RequestData.ts +50 -0
- package/src/Interfaces/Contracts/{Generated/SeverityLevel.ts → SeverityLevel.ts} +0 -0
- package/src/Interfaces/IExceptionTelemetry.ts +1 -1
- package/src/Interfaces/ITraceTelemetry.ts +1 -1
- package/src/Interfaces/PartAExtensions.ts +1 -1
- package/src/Interfaces/Telemetry/IEnvelope.ts +35 -3
- package/src/StorageHelperFuncs.ts +34 -17
- package/src/Telemetry/Common/Data.ts +12 -4
- package/src/Telemetry/Common/DataPoint.ts +38 -2
- package/src/Telemetry/Common/DataSanitizer.ts +13 -13
- package/src/Telemetry/Common/Envelope.ts +51 -10
- package/src/Telemetry/Event.ts +30 -12
- package/src/Telemetry/Exception.ts +179 -80
- package/src/Telemetry/Metric.ts +27 -7
- package/src/Telemetry/PageView.ts +45 -10
- package/src/Telemetry/PageViewPerformance.ts +75 -13
- package/src/Telemetry/RemoteDependencyData.ts +70 -15
- package/src/Telemetry/Trace.ts +34 -8
- package/src/TelemetryItemCreator.ts +1 -1
- package/src/applicationinsights-common.ts +7 -7
- package/types/Enums.d.ts +13 -2
- package/types/Interfaces/Contracts/AvailabilityData.d.ts +0 -0
- package/types/Interfaces/Contracts/{Generated/ContextTagKeys.d.ts → ContextTagKeys.d.ts} +0 -0
- package/types/Interfaces/Contracts/{Generated/DataPointType.d.ts → DataPointType.d.ts} +1 -1
- package/types/Interfaces/Contracts/{Generated/DependencyKind.d.ts → DependencyKind.d.ts} +1 -1
- package/types/Interfaces/Contracts/{Generated/DependencySourceType.d.ts → DependencySourceType.d.ts} +1 -1
- package/types/Interfaces/Contracts/{Generated/Base.d.ts → IBase.d.ts} +1 -2
- package/types/Interfaces/Contracts/{Generated/Data.d.ts → IData.d.ts} +2 -3
- package/types/Interfaces/Contracts/{Generated/DataPoint.d.ts → IDataPoint.d.ts} +1 -1
- package/types/Interfaces/Contracts/{Generated/Domain.d.ts → IDomain.d.ts} +1 -1
- package/types/Interfaces/Contracts/IEnvelope.d.ts +0 -0
- package/types/Interfaces/Contracts/{Generated/EventData.d.ts → IEventData.d.ts} +2 -3
- package/types/Interfaces/Contracts/{Generated/ExceptionData.d.ts → IExceptionData.d.ts} +4 -5
- package/types/Interfaces/Contracts/{Generated/ExceptionDetails.d.ts → IExceptionDetails.d.ts} +3 -3
- package/types/Interfaces/Contracts/{Generated/MessageData.d.ts → IMessageData.d.ts} +2 -3
- package/types/Interfaces/Contracts/{Generated/MetricData.d.ts → IMetricData.d.ts} +4 -5
- package/types/Interfaces/Contracts/IPageViewData.d.ts +18 -0
- package/types/Interfaces/Contracts/IPageViewPerfData.d.ts +26 -0
- package/types/Interfaces/Contracts/{Generated/RemoteDependencyData.d.ts → IRemoteDependencyData.d.ts} +2 -3
- package/types/Interfaces/Contracts/{Generated/StackFrame.d.ts → IStackFrame.d.ts} +1 -1
- package/types/Interfaces/Contracts/RequestData.d.ts +0 -0
- package/types/Interfaces/Contracts/{Generated/SeverityLevel.d.ts → SeverityLevel.d.ts} +0 -0
- package/types/Interfaces/IExceptionTelemetry.d.ts +1 -1
- package/types/Interfaces/ITraceTelemetry.d.ts +1 -1
- package/types/Interfaces/PartAExtensions.d.ts +1 -1
- package/types/Interfaces/Telemetry/IEnvelope.d.ts +24 -0
- package/types/StorageHelperFuncs.d.ts +14 -2
- package/types/Telemetry/Common/Data.d.ts +10 -2
- package/types/Telemetry/Common/DataPoint.d.ts +31 -2
- package/types/Telemetry/Common/Envelope.d.ts +35 -4
- package/types/Telemetry/Event.d.ts +19 -3
- package/types/Telemetry/Exception.d.ts +75 -7
- package/types/Telemetry/Metric.d.ts +19 -2
- package/types/Telemetry/PageView.d.ts +30 -2
- package/types/Telemetry/PageViewPerformance.d.ts +50 -2
- package/types/Telemetry/RemoteDependencyData.d.ts +46 -2
- package/types/Telemetry/Trace.d.ts +23 -3
- package/types/applicationinsights-common.d.ts +7 -7
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/AvailabilityData.js +0 -27
- package/dist-esm/Interfaces/Contracts/Generated/AvailabilityData.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/Base.js +0 -17
- package/dist-esm/Interfaces/Contracts/Generated/Base.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/Data.js +0 -21
- package/dist-esm/Interfaces/Contracts/Generated/Data.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/DataPoint.js +0 -21
- package/dist-esm/Interfaces/Contracts/Generated/DataPoint.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/DataPointType.js +0 -16
- package/dist-esm/Interfaces/Contracts/Generated/DataPointType.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/DependencyKind.js +0 -17
- package/dist-esm/Interfaces/Contracts/Generated/DependencyKind.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/DependencySourceType.js +0 -17
- package/dist-esm/Interfaces/Contracts/Generated/DependencySourceType.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/Domain.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/Envelope.js +0 -28
- package/dist-esm/Interfaces/Contracts/Generated/Envelope.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/EventData.js +0 -28
- package/dist-esm/Interfaces/Contracts/Generated/EventData.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/ExceptionData.js +0 -32
- package/dist-esm/Interfaces/Contracts/Generated/ExceptionData.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/ExceptionDetails.js +0 -24
- package/dist-esm/Interfaces/Contracts/Generated/ExceptionDetails.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/MessageData.js +0 -28
- package/dist-esm/Interfaces/Contracts/Generated/MessageData.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/MetricData.js +0 -32
- package/dist-esm/Interfaces/Contracts/Generated/MetricData.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/PageViewData.js +0 -34
- package/dist-esm/Interfaces/Contracts/Generated/PageViewData.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/PageViewPerfData.js +0 -34
- package/dist-esm/Interfaces/Contracts/Generated/PageViewPerfData.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/RemoteDependencyData.js +0 -32
- package/dist-esm/Interfaces/Contracts/Generated/RemoteDependencyData.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/RequestData.js +0 -28
- package/dist-esm/Interfaces/Contracts/Generated/RequestData.js.map +0 -1
- package/dist-esm/Interfaces/Contracts/Generated/StackFrame.js +0 -17
- package/dist-esm/Interfaces/Contracts/Generated/StackFrame.js.map +0 -1
- package/dist-esm/Telemetry/Common/Base.js +0 -22
- package/dist-esm/Telemetry/Common/Base.js.map +0 -1
- package/src/Interfaces/Contracts/Generated/AvailabilityData.ts +0 -57
- package/src/Interfaces/Contracts/Generated/Envelope.ts +0 -50
- package/src/Interfaces/Contracts/Generated/PageViewData.ts +0 -50
- package/src/Interfaces/Contracts/Generated/PageViewPerfData.ts +0 -70
- package/src/Interfaces/Contracts/Generated/RequestData.ts +0 -50
- package/src/Telemetry/Common/Base.ts +0 -14
- package/types/Interfaces/Contracts/Generated/AvailabilityData.d.ts +0 -42
- package/types/Interfaces/Contracts/Generated/Envelope.d.ts +0 -38
- package/types/Interfaces/Contracts/Generated/PageViewPerfData.d.ts +0 -51
- package/types/Interfaces/Contracts/Generated/RequestData.d.ts +0 -38
- package/types/Telemetry/Common/Base.d.ts +0 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IData } from "../../Interfaces/Contracts/IData";
|
|
2
2
|
import { ISerializable } from "../../Interfaces/Telemetry/ISerializable";
|
|
3
3
|
import { FieldType } from "../../Enums";
|
|
4
|
-
export declare class Data<TDomain>
|
|
4
|
+
export declare class Data<TDomain> implements IData<TDomain>, ISerializable {
|
|
5
5
|
/**
|
|
6
6
|
* The data contract for serializing this object.
|
|
7
7
|
*/
|
|
@@ -9,6 +9,14 @@ export declare class Data<TDomain> extends AIData<TDomain> implements ISerializa
|
|
|
9
9
|
baseType: FieldType;
|
|
10
10
|
baseData: FieldType;
|
|
11
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* Name of item (B section) if any. If telemetry data is derived straight from this, this should be null.
|
|
14
|
+
*/
|
|
15
|
+
baseType: string;
|
|
16
|
+
/**
|
|
17
|
+
* Container for data item (B section).
|
|
18
|
+
*/
|
|
19
|
+
baseData: TDomain;
|
|
12
20
|
/**
|
|
13
21
|
* Constructs a new instance of telemetry data.
|
|
14
22
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IDataPoint } from "../../Interfaces/Contracts/IDataPoint";
|
|
2
2
|
import { ISerializable } from "../../Interfaces/Telemetry/ISerializable";
|
|
3
3
|
import { FieldType } from "../../Enums";
|
|
4
|
-
|
|
4
|
+
import { DataPointType } from "../../Interfaces/Contracts/DataPointType";
|
|
5
|
+
export declare class DataPoint implements IDataPoint, ISerializable {
|
|
5
6
|
/**
|
|
6
7
|
* The data contract for serializing this object.
|
|
7
8
|
*/
|
|
@@ -14,4 +15,32 @@ export declare class DataPoint extends AIDataPoint implements ISerializable {
|
|
|
14
15
|
max: FieldType;
|
|
15
16
|
stdDev: FieldType;
|
|
16
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* Name of the metric.
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Metric type. Single measurement or the aggregated value.
|
|
24
|
+
*/
|
|
25
|
+
kind: DataPointType;
|
|
26
|
+
/**
|
|
27
|
+
* Single value for measurement. Sum of individual measurements for the aggregation.
|
|
28
|
+
*/
|
|
29
|
+
value: number;
|
|
30
|
+
/**
|
|
31
|
+
* Metric weight of the aggregated metric. Should not be set for a measurement.
|
|
32
|
+
*/
|
|
33
|
+
count: number;
|
|
34
|
+
/**
|
|
35
|
+
* Minimum value of the aggregated metric. Should not be set for a measurement.
|
|
36
|
+
*/
|
|
37
|
+
min: number;
|
|
38
|
+
/**
|
|
39
|
+
* Maximum value of the aggregated metric. Should not be set for a measurement.
|
|
40
|
+
*/
|
|
41
|
+
max: number;
|
|
42
|
+
/**
|
|
43
|
+
* Standard deviation of the aggregated metric. Should not be set for a measurement.
|
|
44
|
+
*/
|
|
45
|
+
stdDev: number;
|
|
17
46
|
}
|
|
@@ -1,14 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Base } from "../../Interfaces/Contracts/Generated/Base";
|
|
1
|
+
import { IBase } from "../../Interfaces/Contracts/IBase";
|
|
3
2
|
import { IEnvelope } from "../../Interfaces/Telemetry/IEnvelope";
|
|
4
3
|
import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
|
|
5
|
-
export declare class Envelope
|
|
4
|
+
export declare class Envelope implements IEnvelope {
|
|
6
5
|
/**
|
|
7
6
|
* The data contract for serializing this object.
|
|
8
7
|
*/
|
|
9
8
|
aiDataContract: any;
|
|
9
|
+
/**
|
|
10
|
+
* 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.
|
|
11
|
+
*/
|
|
12
|
+
ver: number;
|
|
13
|
+
/**
|
|
14
|
+
* Type name of telemetry data item.
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* 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.
|
|
19
|
+
*/
|
|
20
|
+
time: string;
|
|
21
|
+
/**
|
|
22
|
+
* Sampling rate used in application. This telemetry item represents 1 / sampleRate actual telemetry items.
|
|
23
|
+
*/
|
|
24
|
+
sampleRate: number;
|
|
25
|
+
/**
|
|
26
|
+
* Sequence field used to track absolute order of uploaded events.
|
|
27
|
+
*/
|
|
28
|
+
seq: string;
|
|
29
|
+
/**
|
|
30
|
+
* 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.
|
|
31
|
+
*/
|
|
32
|
+
iKey: string;
|
|
33
|
+
/**
|
|
34
|
+
* Key/value collection of context properties. See ContextTagKeys for information on available properties.
|
|
35
|
+
*/
|
|
36
|
+
tags: any;
|
|
37
|
+
/**
|
|
38
|
+
* Telemetry data item.
|
|
39
|
+
*/
|
|
40
|
+
data: IBase;
|
|
10
41
|
/**
|
|
11
42
|
* Constructs a new instance of telemetry data.
|
|
12
43
|
*/
|
|
13
|
-
constructor(logger: IDiagnosticLogger, data:
|
|
44
|
+
constructor(logger: IDiagnosticLogger, data: IBase, name: string);
|
|
14
45
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EventData } from "../Interfaces/Contracts/Generated/EventData";
|
|
1
|
+
import { IEventData } from "../Interfaces/Contracts/IEventData";
|
|
3
2
|
import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
|
|
4
3
|
import { FieldType } from "../Enums";
|
|
5
|
-
|
|
4
|
+
import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
|
|
5
|
+
export declare class Event implements IEventData, ISerializable {
|
|
6
6
|
static envelopeType: string;
|
|
7
7
|
static dataType: string;
|
|
8
8
|
aiDataContract: {
|
|
@@ -11,6 +11,22 @@ export declare class Event extends EventData implements ISerializable {
|
|
|
11
11
|
properties: FieldType;
|
|
12
12
|
measurements: FieldType;
|
|
13
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* Schema version
|
|
16
|
+
*/
|
|
17
|
+
ver: number;
|
|
18
|
+
/**
|
|
19
|
+
* Event name. Keep it low cardinality to allow proper grouping and useful metrics.
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Collection of custom properties.
|
|
24
|
+
*/
|
|
25
|
+
properties: any;
|
|
26
|
+
/**
|
|
27
|
+
* Collection of custom measurements.
|
|
28
|
+
*/
|
|
29
|
+
measurements: any;
|
|
14
30
|
/**
|
|
15
31
|
* Constructs a new instance of the EventTelemetry object
|
|
16
32
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { IStackFrame } from "../Interfaces/Contracts/IStackFrame";
|
|
2
|
+
import { IExceptionData } from "../Interfaces/Contracts/IExceptionData";
|
|
3
|
+
import { IExceptionDetails } from "../Interfaces/Contracts/IExceptionDetails";
|
|
4
4
|
import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
|
|
5
5
|
import { FieldType } from "../Enums";
|
|
6
|
-
import { SeverityLevel } from "../Interfaces/Contracts/
|
|
6
|
+
import { SeverityLevel } from "../Interfaces/Contracts/SeverityLevel";
|
|
7
7
|
import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
|
|
8
8
|
import { IExceptionInternal, IExceptionDetailsInternal, IExceptionStackFrameInternal, IAutoExceptionTelemetry } from "../Interfaces/IExceptionTelemetry";
|
|
9
9
|
/**
|
|
@@ -11,7 +11,7 @@ import { IExceptionInternal, IExceptionDetailsInternal, IExceptionStackFrameInte
|
|
|
11
11
|
* @param errorObj The supplied errorObj
|
|
12
12
|
*/
|
|
13
13
|
export declare function _formatErrorCode(errorObj: any): any;
|
|
14
|
-
export declare class Exception
|
|
14
|
+
export declare class Exception implements IExceptionData, ISerializable {
|
|
15
15
|
static envelopeType: string;
|
|
16
16
|
static dataType: string;
|
|
17
17
|
id?: string;
|
|
@@ -24,6 +24,26 @@ export declare class Exception extends ExceptionData implements ISerializable {
|
|
|
24
24
|
properties: FieldType;
|
|
25
25
|
measurements: FieldType;
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* Schema version
|
|
29
|
+
*/
|
|
30
|
+
ver: number;
|
|
31
|
+
/**
|
|
32
|
+
* Exception chain - list of inner exceptions.
|
|
33
|
+
*/
|
|
34
|
+
exceptions: IExceptionDetails[];
|
|
35
|
+
/**
|
|
36
|
+
* Severity level. Mostly used to indicate exception severity level when it is reported by logging library.
|
|
37
|
+
*/
|
|
38
|
+
severityLevel: SeverityLevel;
|
|
39
|
+
/**
|
|
40
|
+
* Collection of custom properties.
|
|
41
|
+
*/
|
|
42
|
+
properties: any;
|
|
43
|
+
/**
|
|
44
|
+
* Collection of custom measurements.
|
|
45
|
+
*/
|
|
46
|
+
measurements: any;
|
|
27
47
|
/**
|
|
28
48
|
* Constructs a new instance of the ExceptionTelemetry object
|
|
29
49
|
*/
|
|
@@ -43,7 +63,7 @@ export declare class Exception extends ExceptionData implements ISerializable {
|
|
|
43
63
|
static CreateSimpleException(message: string, typeName: string, assembly: string, fileName: string, details: string, line: number): Exception;
|
|
44
64
|
static formatError: typeof _formatErrorCode;
|
|
45
65
|
}
|
|
46
|
-
export declare class _ExceptionDetails
|
|
66
|
+
export declare class _ExceptionDetails implements IExceptionDetails, ISerializable {
|
|
47
67
|
aiDataContract: {
|
|
48
68
|
id: FieldType;
|
|
49
69
|
outerId: FieldType;
|
|
@@ -53,13 +73,41 @@ export declare class _ExceptionDetails extends ExceptionDetails implements ISeri
|
|
|
53
73
|
stack: FieldType;
|
|
54
74
|
parsedStack: FieldType;
|
|
55
75
|
};
|
|
76
|
+
/**
|
|
77
|
+
* In case exception is nested (outer exception contains inner one), the id and outerId properties are used to represent the nesting.
|
|
78
|
+
*/
|
|
79
|
+
id: number;
|
|
80
|
+
/**
|
|
81
|
+
* The value of outerId is a reference to an element in ExceptionDetails that represents the outer exception
|
|
82
|
+
*/
|
|
83
|
+
outerId: number;
|
|
84
|
+
/**
|
|
85
|
+
* Exception type name.
|
|
86
|
+
*/
|
|
87
|
+
typeName: string;
|
|
88
|
+
/**
|
|
89
|
+
* Exception message.
|
|
90
|
+
*/
|
|
91
|
+
message: string;
|
|
92
|
+
/**
|
|
93
|
+
* Indicates if full exception stack is provided in the exception. The stack may be trimmed, such as in the case of a StackOverflow exception.
|
|
94
|
+
*/
|
|
95
|
+
hasFullStack: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Text describing the stack. Either stack or parsedStack should have a value.
|
|
98
|
+
*/
|
|
99
|
+
stack: string;
|
|
100
|
+
/**
|
|
101
|
+
* List of stack frames. Either stack or parsedStack should have a value.
|
|
102
|
+
*/
|
|
103
|
+
parsedStack: IStackFrame[];
|
|
56
104
|
constructor(logger: IDiagnosticLogger, exception: Error | IExceptionDetailsInternal | IAutoExceptionTelemetry, properties?: {
|
|
57
105
|
[key: string]: any;
|
|
58
106
|
});
|
|
59
107
|
toInterface(): IExceptionDetailsInternal;
|
|
60
108
|
static CreateFromInterface(logger: IDiagnosticLogger, exception: IExceptionDetailsInternal): _ExceptionDetails;
|
|
61
109
|
}
|
|
62
|
-
export declare class _StackFrame
|
|
110
|
+
export declare class _StackFrame implements IStackFrame, ISerializable {
|
|
63
111
|
static regex: RegExp;
|
|
64
112
|
static baseSize: number;
|
|
65
113
|
sizeInBytes: number;
|
|
@@ -70,6 +118,26 @@ export declare class _StackFrame extends StackFrame implements ISerializable {
|
|
|
70
118
|
fileName: FieldType;
|
|
71
119
|
line: FieldType;
|
|
72
120
|
};
|
|
121
|
+
/**
|
|
122
|
+
* Level in the call stack. For the long stacks SDK may not report every function in a call stack.
|
|
123
|
+
*/
|
|
124
|
+
level: number;
|
|
125
|
+
/**
|
|
126
|
+
* Method name.
|
|
127
|
+
*/
|
|
128
|
+
method: string;
|
|
129
|
+
/**
|
|
130
|
+
* Name of the assembly (dll, jar, etc.) containing this function.
|
|
131
|
+
*/
|
|
132
|
+
assembly: string;
|
|
133
|
+
/**
|
|
134
|
+
* File name or URL of the method implementation.
|
|
135
|
+
*/
|
|
136
|
+
fileName: string;
|
|
137
|
+
/**
|
|
138
|
+
* Line number of the code implementation.
|
|
139
|
+
*/
|
|
140
|
+
line: number;
|
|
73
141
|
constructor(sourceFrame: string | IExceptionStackFrameInternal, level: number);
|
|
74
142
|
static CreateFromInterface(frame: IExceptionStackFrameInternal): _StackFrame;
|
|
75
143
|
toInterface(): {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IMetricData } from "../Interfaces/Contracts/IMetricData";
|
|
2
2
|
import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
|
|
3
3
|
import { FieldType } from "../Enums";
|
|
4
|
+
import { DataPoint } from "./Common/DataPoint";
|
|
4
5
|
import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
|
|
5
|
-
export declare class Metric
|
|
6
|
+
export declare class Metric implements IMetricData, ISerializable {
|
|
6
7
|
static envelopeType: string;
|
|
7
8
|
static dataType: string;
|
|
8
9
|
aiDataContract: {
|
|
@@ -10,6 +11,22 @@ export declare class Metric extends MetricData implements ISerializable {
|
|
|
10
11
|
metrics: FieldType;
|
|
11
12
|
properties: FieldType;
|
|
12
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* Schema version
|
|
16
|
+
*/
|
|
17
|
+
ver: number;
|
|
18
|
+
/**
|
|
19
|
+
* 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.
|
|
20
|
+
*/
|
|
21
|
+
metrics: DataPoint[];
|
|
22
|
+
/**
|
|
23
|
+
* Collection of custom properties.
|
|
24
|
+
*/
|
|
25
|
+
properties: any;
|
|
26
|
+
/**
|
|
27
|
+
* Collection of custom measurements.
|
|
28
|
+
*/
|
|
29
|
+
measurements: any;
|
|
13
30
|
/**
|
|
14
31
|
* Constructs a new instance of the MetricTelemetry object
|
|
15
32
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IPageViewData } from "../Interfaces/Contracts/IPageViewData";
|
|
2
2
|
import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
|
|
3
3
|
import { FieldType } from "../Enums";
|
|
4
4
|
import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
|
|
5
|
-
export declare class PageView
|
|
5
|
+
export declare class PageView implements IPageViewData, ISerializable {
|
|
6
6
|
static envelopeType: string;
|
|
7
7
|
static dataType: string;
|
|
8
8
|
aiDataContract: {
|
|
@@ -14,6 +14,34 @@ export declare class PageView extends PageViewData implements ISerializable {
|
|
|
14
14
|
measurements: FieldType;
|
|
15
15
|
id: FieldType;
|
|
16
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* Schema version
|
|
19
|
+
*/
|
|
20
|
+
ver: number;
|
|
21
|
+
/**
|
|
22
|
+
* Event name. Keep it low cardinality to allow proper grouping and useful metrics.
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* Collection of custom properties.
|
|
27
|
+
*/
|
|
28
|
+
properties: any;
|
|
29
|
+
/**
|
|
30
|
+
* Collection of custom measurements.
|
|
31
|
+
*/
|
|
32
|
+
measurements: any;
|
|
33
|
+
/**
|
|
34
|
+
* Request URL with all query string parameters
|
|
35
|
+
*/
|
|
36
|
+
url: string;
|
|
37
|
+
/**
|
|
38
|
+
* 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.
|
|
39
|
+
*/
|
|
40
|
+
duration: string;
|
|
41
|
+
/**
|
|
42
|
+
* Identifier of a page view instance. Used for correlation between page view and other telemetry items.
|
|
43
|
+
*/
|
|
44
|
+
id: string;
|
|
17
45
|
/**
|
|
18
46
|
* Constructs a new instance of the PageEventTelemetry object
|
|
19
47
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IPageViewPerfData } from "../Interfaces/Contracts/IPageViewPerfData";
|
|
2
2
|
import { FieldType } from "../Enums";
|
|
3
3
|
import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
|
|
4
4
|
import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
|
|
5
5
|
import { IPageViewPerformanceTelemetry } from "../Interfaces/IPageViewPerformanceTelemetry";
|
|
6
|
-
export declare class PageViewPerformance
|
|
6
|
+
export declare class PageViewPerformance implements IPageViewPerfData, ISerializable {
|
|
7
7
|
static envelopeType: string;
|
|
8
8
|
static dataType: string;
|
|
9
9
|
aiDataContract: {
|
|
@@ -19,6 +19,54 @@ export declare class PageViewPerformance extends PageViewPerfData implements ISe
|
|
|
19
19
|
properties: FieldType;
|
|
20
20
|
measurements: FieldType;
|
|
21
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* Schema version
|
|
24
|
+
*/
|
|
25
|
+
ver: number;
|
|
26
|
+
/**
|
|
27
|
+
* Event name. Keep it low cardinality to allow proper grouping and useful metrics.
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Collection of custom properties.
|
|
32
|
+
*/
|
|
33
|
+
properties: any;
|
|
34
|
+
/**
|
|
35
|
+
* Collection of custom measurements.
|
|
36
|
+
*/
|
|
37
|
+
measurements: any;
|
|
38
|
+
/**
|
|
39
|
+
* Request URL with all query string parameters
|
|
40
|
+
*/
|
|
41
|
+
url: string;
|
|
42
|
+
/**
|
|
43
|
+
* 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.
|
|
44
|
+
*/
|
|
45
|
+
duration: string;
|
|
46
|
+
/**
|
|
47
|
+
* Identifier of a page view instance. Used for correlation between page view and other telemetry items.
|
|
48
|
+
*/
|
|
49
|
+
id: string;
|
|
50
|
+
/**
|
|
51
|
+
* Performance total in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
52
|
+
*/
|
|
53
|
+
perfTotal: string;
|
|
54
|
+
/**
|
|
55
|
+
* Network connection time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
56
|
+
*/
|
|
57
|
+
networkConnect: string;
|
|
58
|
+
/**
|
|
59
|
+
* Sent request time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
60
|
+
*/
|
|
61
|
+
sentRequest: string;
|
|
62
|
+
/**
|
|
63
|
+
* Received response time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
64
|
+
*/
|
|
65
|
+
receivedResponse: string;
|
|
66
|
+
/**
|
|
67
|
+
* DOM processing time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
68
|
+
*/
|
|
69
|
+
domProcessing: string;
|
|
22
70
|
/**
|
|
23
71
|
* Constructs a new instance of the PageEventTelemetry object
|
|
24
72
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FieldType } from "../Enums";
|
|
2
2
|
import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
|
|
3
|
-
import {
|
|
3
|
+
import { IRemoteDependencyData } from "../Interfaces/Contracts/IRemoteDependencyData";
|
|
4
4
|
import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
|
|
5
|
-
export declare class RemoteDependencyData
|
|
5
|
+
export declare class RemoteDependencyData implements IRemoteDependencyData, ISerializable {
|
|
6
6
|
static envelopeType: string;
|
|
7
7
|
static dataType: string;
|
|
8
8
|
aiDataContract: {
|
|
@@ -28,6 +28,50 @@ export declare class RemoteDependencyData extends GeneratedRemoteDependencyData
|
|
|
28
28
|
commandName: FieldType;
|
|
29
29
|
dependencyTypeName: FieldType;
|
|
30
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* Schema version
|
|
33
|
+
*/
|
|
34
|
+
ver: number;
|
|
35
|
+
/**
|
|
36
|
+
* Name of the command initiated with this dependency call. Low cardinality value. Examples are stored procedure name and URL path template.
|
|
37
|
+
*/
|
|
38
|
+
name: string;
|
|
39
|
+
/**
|
|
40
|
+
* Identifier of a dependency call instance. Used for correlation with the request telemetry item corresponding to this dependency call.
|
|
41
|
+
*/
|
|
42
|
+
id: string;
|
|
43
|
+
/**
|
|
44
|
+
* Result code of a dependency call. Examples are SQL error code and HTTP status code.
|
|
45
|
+
*/
|
|
46
|
+
resultCode: string;
|
|
47
|
+
/**
|
|
48
|
+
* Request duration in format: DD.HH:MM:SS.MMMMMM. Must be less than 1000 days.
|
|
49
|
+
*/
|
|
50
|
+
duration: string;
|
|
51
|
+
/**
|
|
52
|
+
* Indication of successful or unsuccessful call.
|
|
53
|
+
*/
|
|
54
|
+
success: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Command initiated by this dependency call. Examples are SQL statement and HTTP URL's with all query parameters.
|
|
57
|
+
*/
|
|
58
|
+
data: string;
|
|
59
|
+
/**
|
|
60
|
+
* Target site of a dependency call. Examples are server name, host address.
|
|
61
|
+
*/
|
|
62
|
+
target: string;
|
|
63
|
+
/**
|
|
64
|
+
* 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.
|
|
65
|
+
*/
|
|
66
|
+
type: string;
|
|
67
|
+
/**
|
|
68
|
+
* Collection of custom properties.
|
|
69
|
+
*/
|
|
70
|
+
properties: any;
|
|
71
|
+
/**
|
|
72
|
+
* Collection of custom measurements.
|
|
73
|
+
*/
|
|
74
|
+
measurements: any;
|
|
31
75
|
/**
|
|
32
76
|
* Constructs a new instance of the RemoteDependencyData object
|
|
33
77
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IMessageData } from "../Interfaces/Contracts/IMessageData";
|
|
2
2
|
import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
|
|
3
3
|
import { FieldType } from "../Enums";
|
|
4
|
-
import { SeverityLevel } from "../Interfaces/Contracts/
|
|
4
|
+
import { SeverityLevel } from "../Interfaces/Contracts/SeverityLevel";
|
|
5
5
|
import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
|
|
6
|
-
export declare class Trace
|
|
6
|
+
export declare class Trace implements IMessageData, ISerializable {
|
|
7
7
|
static envelopeType: string;
|
|
8
8
|
static dataType: string;
|
|
9
9
|
aiDataContract: {
|
|
@@ -12,6 +12,26 @@ export declare class Trace extends MessageData implements ISerializable {
|
|
|
12
12
|
severityLevel: FieldType;
|
|
13
13
|
properties: FieldType;
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* Schema version
|
|
17
|
+
*/
|
|
18
|
+
ver: number;
|
|
19
|
+
/**
|
|
20
|
+
* Trace message
|
|
21
|
+
*/
|
|
22
|
+
message: string;
|
|
23
|
+
/**
|
|
24
|
+
* Trace severity level.
|
|
25
|
+
*/
|
|
26
|
+
severityLevel: SeverityLevel;
|
|
27
|
+
/**
|
|
28
|
+
* Collection of custom properties.
|
|
29
|
+
*/
|
|
30
|
+
properties: any;
|
|
31
|
+
/**
|
|
32
|
+
* Collection of custom measurements.
|
|
33
|
+
*/
|
|
34
|
+
measurements: any;
|
|
15
35
|
/**
|
|
16
36
|
* Constructs a new instance of the TraceTelemetry object
|
|
17
37
|
*/
|
|
@@ -3,8 +3,8 @@ export { parseConnectionString, ConnectionStringParser } from "./ConnectionStrin
|
|
|
3
3
|
export { FieldType } from "./Enums";
|
|
4
4
|
export { IRequestHeaders, RequestHeaders } from "./RequestResponseHeaders";
|
|
5
5
|
export { DisabledPropertyName, ProcessLegacy, SampleRate, HttpMethod, DEFAULT_BREEZE_ENDPOINT, strNotSpecified } from "./Constants";
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
6
|
+
export { IData as AIData } from "./Interfaces/Contracts/IData";
|
|
7
|
+
export { IBase as AIBase } from "./Interfaces/Contracts/IBase";
|
|
8
8
|
export { ISerializable } from "./Interfaces/Telemetry/ISerializable";
|
|
9
9
|
export { IEnvelope } from "./Interfaces/Telemetry/IEnvelope";
|
|
10
10
|
export { Envelope } from "./Telemetry/Common/Envelope";
|
|
@@ -12,7 +12,7 @@ export { Event } from "./Telemetry/Event";
|
|
|
12
12
|
export { Exception } from "./Telemetry/Exception";
|
|
13
13
|
export { Metric } from "./Telemetry/Metric";
|
|
14
14
|
export { PageView } from "./Telemetry/PageView";
|
|
15
|
-
export {
|
|
15
|
+
export { IPageViewData } from "./Interfaces/Contracts/IPageViewData";
|
|
16
16
|
export { RemoteDependencyData } from "./Telemetry/RemoteDependencyData";
|
|
17
17
|
export { IEventTelemetry } from "./Interfaces/IEventTelemetry";
|
|
18
18
|
export { ITraceTelemetry } from "./Interfaces/ITraceTelemetry";
|
|
@@ -24,10 +24,10 @@ export { IPageViewPerformanceTelemetry, IPageViewPerformanceTelemetryInternal }
|
|
|
24
24
|
export { Trace } from "./Telemetry/Trace";
|
|
25
25
|
export { PageViewPerformance } from "./Telemetry/PageViewPerformance";
|
|
26
26
|
export { Data } from "./Telemetry/Common/Data";
|
|
27
|
-
export { SeverityLevel } from "./Interfaces/Contracts/
|
|
27
|
+
export { SeverityLevel } from "./Interfaces/Contracts/SeverityLevel";
|
|
28
28
|
export { IConfig, ConfigurationManager } from "./Interfaces/IConfig";
|
|
29
29
|
export { IChannelControlsAI } from "./Interfaces/IChannelControlsAI";
|
|
30
|
-
export { IContextTagKeys, ContextTagKeys } from "./Interfaces/Contracts/
|
|
30
|
+
export { IContextTagKeys, ContextTagKeys } from "./Interfaces/Contracts/ContextTagKeys";
|
|
31
31
|
export { DataSanitizerValues, IDataSanitizer, DataSanitizer, dataSanitizeKeyAndAddUniqueness, dataSanitizeKey, dataSanitizeString, dataSanitizeUrl, dataSanitizeMessage, dataSanitizeException, dataSanitizeProperties, dataSanitizeMeasurements, dataSanitizeId, dataSanitizeInput, dsPadNumber } from "./Telemetry/Common/DataSanitizer";
|
|
32
32
|
export { TelemetryItemCreator } from "./TelemetryItemCreator";
|
|
33
33
|
export { ICorrelationConfig } from "./Interfaces/ICorrelationConfig";
|
|
@@ -46,11 +46,11 @@ export { IPropertiesPlugin } from "./Interfaces/IPropertiesPlugin";
|
|
|
46
46
|
export { IUser, IUserContext } from "./Interfaces/Context/IUser";
|
|
47
47
|
export { ITelemetryTrace, ITraceState } from "./Interfaces/Context/ITelemetryTrace";
|
|
48
48
|
export { IRequestContext } from "./Interfaces/IRequestContext";
|
|
49
|
-
export { DistributedTracingModes } from "./Enums";
|
|
49
|
+
export { eDistributedTracingModes, DistributedTracingModes } from "./Enums";
|
|
50
50
|
export { stringToBoolOrDefault, msToTimeSpan, getExtensionByName, isCrossOriginError } from "./HelperFuncs";
|
|
51
51
|
export { isBeaconsSupported as isBeaconApiSupported } from "@microsoft/applicationinsights-core-js";
|
|
52
52
|
export { createDomEvent } from "./DomHelperFuncs";
|
|
53
|
-
export { utlDisableStorage, utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage, utlRemoveStorage, utlCanUseSessionStorage, utlGetSessionStorageKeys, utlGetSessionStorage, utlSetSessionStorage, utlRemoveSessionStorage } from "./StorageHelperFuncs";
|
|
53
|
+
export { utlDisableStorage, utlEnableStorage, utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage, utlRemoveStorage, utlCanUseSessionStorage, utlGetSessionStorageKeys, utlGetSessionStorage, utlSetSessionStorage, utlRemoveSessionStorage } from "./StorageHelperFuncs";
|
|
54
54
|
export { urlParseUrl, urlGetAbsoluteUrl, urlGetPathName, urlGetCompleteUrl, urlParseHost, urlParseFullHost } from "./UrlHelperFuncs";
|
|
55
55
|
export declare const PropertiesPluginIdentifier = "AppInsightsPropertiesPlugin";
|
|
56
56
|
export declare const BreezeChannelIdentifier = "AppInsightsChannelPlugin";
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 2.8.0-nightly.2202-06
|
|
3
|
-
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
"use strict";
|
|
6
|
-
/**
|
|
7
|
-
* Instances of AvailabilityData represent the result of executing an availability test.
|
|
8
|
-
*/
|
|
9
|
-
var AvailabilityData = /** @class */ (function () {
|
|
10
|
-
function AvailabilityData() {
|
|
11
|
-
/**
|
|
12
|
-
* Schema version
|
|
13
|
-
*/
|
|
14
|
-
this.ver = 2;
|
|
15
|
-
/**
|
|
16
|
-
* Collection of custom properties.
|
|
17
|
-
*/
|
|
18
|
-
this.properties = {};
|
|
19
|
-
/**
|
|
20
|
-
* Collection of custom measurements.
|
|
21
|
-
*/
|
|
22
|
-
this.measurements = {};
|
|
23
|
-
}
|
|
24
|
-
return AvailabilityData;
|
|
25
|
-
}());
|
|
26
|
-
export { AvailabilityData };
|
|
27
|
-
//# sourceMappingURL=AvailabilityData.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AvailabilityData.js.map","sources":["AvailabilityData.js"],"sourcesContent":["\"use strict\";\r\n/**\r\n * Instances of AvailabilityData represent the result of executing an availability test.\r\n */\r\nvar AvailabilityData = /** @class */ (function () {\r\n function AvailabilityData() {\r\n /**\r\n * Schema version\r\n */\r\n this.ver = 2;\r\n /**\r\n * Collection of custom properties.\r\n */\r\n this.properties = {};\r\n /**\r\n * Collection of custom measurements.\r\n */\r\n this.measurements = {};\r\n }\r\n return AvailabilityData;\r\n}());\r\nexport { AvailabilityData };\r\n//# sourceMappingURL=AvailabilityData.js.map"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 2.8.0-nightly.2202-06
|
|
3
|
-
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
// THIS FILE WAS AUTOGENERATED
|
|
8
|
-
/**
|
|
9
|
-
* Data struct to contain only C section with custom fields.
|
|
10
|
-
*/
|
|
11
|
-
var Base = /** @class */ (function () {
|
|
12
|
-
function Base() {
|
|
13
|
-
}
|
|
14
|
-
return Base;
|
|
15
|
-
}());
|
|
16
|
-
export { Base };
|
|
17
|
-
//# sourceMappingURL=Base.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Base.js.map","sources":["Base.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// THIS FILE WAS AUTOGENERATED\r\n/**\r\n * Data struct to contain only C section with custom fields.\r\n */\r\nvar Base = /** @class */ (function () {\r\n function Base() {\r\n }\r\n return Base;\r\n}());\r\nexport { Base };\r\n//# sourceMappingURL=Base.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|