@microsoft/applicationinsights-common 2.8.0-beta.2203-15 → 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 +157 -295
- 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 +2805 -1244
- package/dist/applicationinsights-common.api.md +78 -35
- package/dist/applicationinsights-common.d.ts +494 -282
- package/dist/applicationinsights-common.js +157 -295
- 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 +494 -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 +1 -1
- package/dist-esm/HelperFuncs.js +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 +1 -1
- package/dist-esm/Interfaces/Contracts/ContextTagKeys.js +1 -1
- package/dist-esm/Interfaces/Contracts/DataPointType.js +1 -1
- package/dist-esm/Interfaces/Contracts/DependencyKind.js +1 -1
- package/dist-esm/Interfaces/Contracts/DependencySourceType.js +1 -1
- package/dist-esm/Interfaces/Contracts/IBase.js +1 -1
- package/dist-esm/Interfaces/Contracts/IData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IDataPoint.js +1 -1
- package/dist-esm/Interfaces/Contracts/IDomain.js +1 -1
- package/dist-esm/Interfaces/Contracts/IEnvelope.js +1 -1
- package/dist-esm/Interfaces/Contracts/IEventData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IExceptionData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IExceptionDetails.js +1 -1
- package/dist-esm/Interfaces/Contracts/IMessageData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IMetricData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IPageViewData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IStackFrame.js +1 -1
- package/dist-esm/Interfaces/Contracts/RequestData.js +1 -1
- package/dist-esm/Interfaces/Contracts/SeverityLevel.js +1 -1
- 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 +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 +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 +3 -6
- package/dist-esm/applicationinsights-common.js.map +1 -1
- package/package.json +3 -3
- 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/Telemetry/Common/Data.ts +12 -4
- package/src/Telemetry/Common/DataPoint.ts +38 -2
- package/src/Telemetry/Common/Envelope.ts +51 -10
- package/src/Telemetry/Event.ts +30 -12
- package/src/Telemetry/Exception.ts +158 -71
- 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/applicationinsights-common.ts +5 -5
- 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/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 +5 -5
- 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/ContextTagKeys.js +0 -89
- package/dist-esm/Interfaces/Contracts/Generated/ContextTagKeys.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 +0 -8
- 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/SeverityLevel.js +0 -19
- package/dist-esm/Interfaces/Contracts/Generated/SeverityLevel.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/Base.ts +0 -18
- package/src/Interfaces/Contracts/Generated/ContextTagKeys.ts +0 -299
- package/src/Interfaces/Contracts/Generated/Data.ts +0 -26
- package/src/Interfaces/Contracts/Generated/DataPoint.ts +0 -44
- package/src/Interfaces/Contracts/Generated/DataPointType.ts +0 -11
- package/src/Interfaces/Contracts/Generated/DependencyKind.ts +0 -12
- package/src/Interfaces/Contracts/Generated/DependencySourceType.ts +0 -12
- package/src/Interfaces/Contracts/Generated/Domain.ts +0 -10
- package/src/Interfaces/Contracts/Generated/Envelope.ts +0 -50
- package/src/Interfaces/Contracts/Generated/EventData.ts +0 -33
- package/src/Interfaces/Contracts/Generated/ExceptionData.ts +0 -40
- package/src/Interfaces/Contracts/Generated/ExceptionDetails.ts +0 -46
- package/src/Interfaces/Contracts/Generated/MessageData.ts +0 -39
- package/src/Interfaces/Contracts/Generated/MetricData.ts +0 -34
- package/src/Interfaces/Contracts/Generated/PageViewData.ts +0 -50
- package/src/Interfaces/Contracts/Generated/PageViewPerfData.ts +0 -70
- package/src/Interfaces/Contracts/Generated/RemoteDependencyData.ts +0 -68
- package/src/Interfaces/Contracts/Generated/RequestData.ts +0 -50
- package/src/Interfaces/Contracts/Generated/SeverityLevel.ts +0 -15
- package/src/Interfaces/Contracts/Generated/StackFrame.ts +0 -34
- package/src/Telemetry/Common/Base.ts +0 -14
- package/types/Interfaces/Contracts/Generated/AvailabilityData.d.ts +0 -42
- package/types/Interfaces/Contracts/Generated/Base.d.ts +0 -10
- package/types/Interfaces/Contracts/Generated/ContextTagKeys.d.ts +0 -175
- package/types/Interfaces/Contracts/Generated/Data.d.ts +0 -15
- package/types/Interfaces/Contracts/Generated/DataPoint.d.ts +0 -34
- package/types/Interfaces/Contracts/Generated/DataPointType.d.ts +0 -7
- package/types/Interfaces/Contracts/Generated/DependencyKind.d.ts +0 -8
- package/types/Interfaces/Contracts/Generated/DependencySourceType.d.ts +0 -8
- package/types/Interfaces/Contracts/Generated/Domain.d.ts +0 -5
- package/types/Interfaces/Contracts/Generated/Envelope.d.ts +0 -38
- package/types/Interfaces/Contracts/Generated/EventData.d.ts +0 -23
- package/types/Interfaces/Contracts/Generated/ExceptionData.d.ts +0 -29
- package/types/Interfaces/Contracts/Generated/ExceptionDetails.d.ts +0 -34
- package/types/Interfaces/Contracts/Generated/MessageData.d.ts +0 -28
- package/types/Interfaces/Contracts/Generated/MetricData.d.ts +0 -24
- package/types/Interfaces/Contracts/Generated/PageViewData.d.ts +0 -35
- package/types/Interfaces/Contracts/Generated/PageViewPerfData.d.ts +0 -51
- package/types/Interfaces/Contracts/Generated/RemoteDependencyData.d.ts +0 -51
- package/types/Interfaces/Contracts/Generated/RequestData.d.ts +0 -38
- package/types/Interfaces/Contracts/Generated/SeverityLevel.d.ts +0 -10
- package/types/Interfaces/Contracts/Generated/StackFrame.d.ts +0 -25
- package/types/Telemetry/Common/Base.d.ts +0 -8
|
@@ -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";
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 2.8.0-beta.2203-15
|
|
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-beta.2203-15
|
|
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"}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 2.8.0-beta.2203-15
|
|
3
|
-
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { __extendsFn as __extends } from "@microsoft/applicationinsights-shims";
|
|
8
|
-
import { createClassFromInterface } from "@microsoft/applicationinsights-core-js";
|
|
9
|
-
function _aiNameFunc(baseName) {
|
|
10
|
-
var aiName = "ai." + baseName + ".";
|
|
11
|
-
return function (name) {
|
|
12
|
-
return aiName + name;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
var _aiApplication = _aiNameFunc("application");
|
|
16
|
-
var _aiDevice = _aiNameFunc("device");
|
|
17
|
-
var _aiLocation = _aiNameFunc("location");
|
|
18
|
-
var _aiOperation = _aiNameFunc("operation");
|
|
19
|
-
var _aiSession = _aiNameFunc("session");
|
|
20
|
-
var _aiUser = _aiNameFunc("user");
|
|
21
|
-
var _aiCloud = _aiNameFunc("cloud");
|
|
22
|
-
var _aiInternal = _aiNameFunc("internal");
|
|
23
|
-
var ContextTagKeys = /** @class */ (function (_super) {
|
|
24
|
-
__extends(ContextTagKeys, _super);
|
|
25
|
-
function ContextTagKeys() {
|
|
26
|
-
return _super.call(this) || this;
|
|
27
|
-
}
|
|
28
|
-
return ContextTagKeys;
|
|
29
|
-
}(createClassFromInterface({
|
|
30
|
-
applicationVersion: _aiApplication("ver"),
|
|
31
|
-
applicationBuild: _aiApplication("build"),
|
|
32
|
-
applicationTypeId: _aiApplication("typeId"),
|
|
33
|
-
applicationId: _aiApplication("applicationId"),
|
|
34
|
-
applicationLayer: _aiApplication("layer"),
|
|
35
|
-
deviceId: _aiDevice("id"),
|
|
36
|
-
deviceIp: _aiDevice("ip"),
|
|
37
|
-
deviceLanguage: _aiDevice("language"),
|
|
38
|
-
deviceLocale: _aiDevice("locale"),
|
|
39
|
-
deviceModel: _aiDevice("model"),
|
|
40
|
-
deviceFriendlyName: _aiDevice("friendlyName"),
|
|
41
|
-
deviceNetwork: _aiDevice("network"),
|
|
42
|
-
deviceNetworkName: _aiDevice("networkName"),
|
|
43
|
-
deviceOEMName: _aiDevice("oemName"),
|
|
44
|
-
deviceOS: _aiDevice("os"),
|
|
45
|
-
deviceOSVersion: _aiDevice("osVersion"),
|
|
46
|
-
deviceRoleInstance: _aiDevice("roleInstance"),
|
|
47
|
-
deviceRoleName: _aiDevice("roleName"),
|
|
48
|
-
deviceScreenResolution: _aiDevice("screenResolution"),
|
|
49
|
-
deviceType: _aiDevice("type"),
|
|
50
|
-
deviceMachineName: _aiDevice("machineName"),
|
|
51
|
-
deviceVMName: _aiDevice("vmName"),
|
|
52
|
-
deviceBrowser: _aiDevice("browser"),
|
|
53
|
-
deviceBrowserVersion: _aiDevice("browserVersion"),
|
|
54
|
-
locationIp: _aiLocation("ip"),
|
|
55
|
-
locationCountry: _aiLocation("country"),
|
|
56
|
-
locationProvince: _aiLocation("province"),
|
|
57
|
-
locationCity: _aiLocation("city"),
|
|
58
|
-
operationId: _aiOperation("id"),
|
|
59
|
-
operationName: _aiOperation("name"),
|
|
60
|
-
operationParentId: _aiOperation("parentId"),
|
|
61
|
-
operationRootId: _aiOperation("rootId"),
|
|
62
|
-
operationSyntheticSource: _aiOperation("syntheticSource"),
|
|
63
|
-
operationCorrelationVector: _aiOperation("correlationVector"),
|
|
64
|
-
sessionId: _aiSession("id"),
|
|
65
|
-
sessionIsFirst: _aiSession("isFirst"),
|
|
66
|
-
sessionIsNew: _aiSession("isNew"),
|
|
67
|
-
userAccountAcquisitionDate: _aiUser("accountAcquisitionDate"),
|
|
68
|
-
userAccountId: _aiUser("accountId"),
|
|
69
|
-
userAgent: _aiUser("userAgent"),
|
|
70
|
-
userId: _aiUser("id"),
|
|
71
|
-
userStoreRegion: _aiUser("storeRegion"),
|
|
72
|
-
userAuthUserId: _aiUser("authUserId"),
|
|
73
|
-
userAnonymousUserAcquisitionDate: _aiUser("anonUserAcquisitionDate"),
|
|
74
|
-
userAuthenticatedUserAcquisitionDate: _aiUser("authUserAcquisitionDate"),
|
|
75
|
-
cloudName: _aiCloud("name"),
|
|
76
|
-
cloudRole: _aiCloud("role"),
|
|
77
|
-
cloudRoleVer: _aiCloud("roleVer"),
|
|
78
|
-
cloudRoleInstance: _aiCloud("roleInstance"),
|
|
79
|
-
cloudEnvironment: _aiCloud("environment"),
|
|
80
|
-
cloudLocation: _aiCloud("location"),
|
|
81
|
-
cloudDeploymentUnit: _aiCloud("deploymentUnit"),
|
|
82
|
-
internalNodeName: _aiInternal("nodeName"),
|
|
83
|
-
internalSdkVersion: _aiInternal("sdkVersion"),
|
|
84
|
-
internalAgentVersion: _aiInternal("agentVersion"),
|
|
85
|
-
internalSnippet: _aiInternal("snippet"),
|
|
86
|
-
internalSdkSrc: _aiInternal("sdkSrc")
|
|
87
|
-
})));
|
|
88
|
-
export { ContextTagKeys };
|
|
89
|
-
//# sourceMappingURL=ContextTagKeys.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextTagKeys.js.map","sources":["ContextTagKeys.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { __extends } from \"tslib\";\r\nimport { createClassFromInterface } from \"@microsoft/applicationinsights-core-js\";\r\nfunction _aiNameFunc(baseName) {\r\n var aiName = \"ai.\" + baseName + \".\";\r\n return function (name) {\r\n return aiName + name;\r\n };\r\n}\r\nvar _aiApplication = _aiNameFunc(\"application\");\r\nvar _aiDevice = _aiNameFunc(\"device\");\r\nvar _aiLocation = _aiNameFunc(\"location\");\r\nvar _aiOperation = _aiNameFunc(\"operation\");\r\nvar _aiSession = _aiNameFunc(\"session\");\r\nvar _aiUser = _aiNameFunc(\"user\");\r\nvar _aiCloud = _aiNameFunc(\"cloud\");\r\nvar _aiInternal = _aiNameFunc(\"internal\");\r\nvar ContextTagKeys = /** @class */ (function (_super) {\r\n __extends(ContextTagKeys, _super);\r\n function ContextTagKeys() {\r\n return _super.call(this) || this;\r\n }\r\n return ContextTagKeys;\r\n}(createClassFromInterface({\r\n applicationVersion: _aiApplication(\"ver\"),\r\n applicationBuild: _aiApplication(\"build\"),\r\n applicationTypeId: _aiApplication(\"typeId\"),\r\n applicationId: _aiApplication(\"applicationId\"),\r\n applicationLayer: _aiApplication(\"layer\"),\r\n deviceId: _aiDevice(\"id\"),\r\n deviceIp: _aiDevice(\"ip\"),\r\n deviceLanguage: _aiDevice(\"language\"),\r\n deviceLocale: _aiDevice(\"locale\"),\r\n deviceModel: _aiDevice(\"model\"),\r\n deviceFriendlyName: _aiDevice(\"friendlyName\"),\r\n deviceNetwork: _aiDevice(\"network\"),\r\n deviceNetworkName: _aiDevice(\"networkName\"),\r\n deviceOEMName: _aiDevice(\"oemName\"),\r\n deviceOS: _aiDevice(\"os\"),\r\n deviceOSVersion: _aiDevice(\"osVersion\"),\r\n deviceRoleInstance: _aiDevice(\"roleInstance\"),\r\n deviceRoleName: _aiDevice(\"roleName\"),\r\n deviceScreenResolution: _aiDevice(\"screenResolution\"),\r\n deviceType: _aiDevice(\"type\"),\r\n deviceMachineName: _aiDevice(\"machineName\"),\r\n deviceVMName: _aiDevice(\"vmName\"),\r\n deviceBrowser: _aiDevice(\"browser\"),\r\n deviceBrowserVersion: _aiDevice(\"browserVersion\"),\r\n locationIp: _aiLocation(\"ip\"),\r\n locationCountry: _aiLocation(\"country\"),\r\n locationProvince: _aiLocation(\"province\"),\r\n locationCity: _aiLocation(\"city\"),\r\n operationId: _aiOperation(\"id\"),\r\n operationName: _aiOperation(\"name\"),\r\n operationParentId: _aiOperation(\"parentId\"),\r\n operationRootId: _aiOperation(\"rootId\"),\r\n operationSyntheticSource: _aiOperation(\"syntheticSource\"),\r\n operationCorrelationVector: _aiOperation(\"correlationVector\"),\r\n sessionId: _aiSession(\"id\"),\r\n sessionIsFirst: _aiSession(\"isFirst\"),\r\n sessionIsNew: _aiSession(\"isNew\"),\r\n userAccountAcquisitionDate: _aiUser(\"accountAcquisitionDate\"),\r\n userAccountId: _aiUser(\"accountId\"),\r\n userAgent: _aiUser(\"userAgent\"),\r\n userId: _aiUser(\"id\"),\r\n userStoreRegion: _aiUser(\"storeRegion\"),\r\n userAuthUserId: _aiUser(\"authUserId\"),\r\n userAnonymousUserAcquisitionDate: _aiUser(\"anonUserAcquisitionDate\"),\r\n userAuthenticatedUserAcquisitionDate: _aiUser(\"authUserAcquisitionDate\"),\r\n cloudName: _aiCloud(\"name\"),\r\n cloudRole: _aiCloud(\"role\"),\r\n cloudRoleVer: _aiCloud(\"roleVer\"),\r\n cloudRoleInstance: _aiCloud(\"roleInstance\"),\r\n cloudEnvironment: _aiCloud(\"environment\"),\r\n cloudLocation: _aiCloud(\"location\"),\r\n cloudDeploymentUnit: _aiCloud(\"deploymentUnit\"),\r\n internalNodeName: _aiInternal(\"nodeName\"),\r\n internalSdkVersion: _aiInternal(\"sdkVersion\"),\r\n internalAgentVersion: _aiInternal(\"agentVersion\"),\r\n internalSnippet: _aiInternal(\"snippet\"),\r\n internalSdkSrc: _aiInternal(\"sdkSrc\")\r\n})));\r\nexport { ContextTagKeys };\r\n//# sourceMappingURL=ContextTagKeys.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC,gFAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 2.8.0-beta.2203-15
|
|
3
|
-
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { __extendsFn as __extends } from "@microsoft/applicationinsights-shims";
|
|
8
|
-
// THIS FILE WAS AUTOGENERATED
|
|
9
|
-
import { Base } from "./Base";
|
|
10
|
-
/**
|
|
11
|
-
* Data struct to contain both B and C sections.
|
|
12
|
-
*/
|
|
13
|
-
var Data = /** @class */ (function (_super) {
|
|
14
|
-
__extends(Data, _super);
|
|
15
|
-
function Data() {
|
|
16
|
-
return _super.call(this) || this;
|
|
17
|
-
}
|
|
18
|
-
return Data;
|
|
19
|
-
}(Base));
|
|
20
|
-
export { Data };
|
|
21
|
-
//# sourceMappingURL=Data.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Data.js.map","sources":["Data.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { __extends } from \"tslib\";\r\n// THIS FILE WAS AUTOGENERATED\r\nimport { Base } from \"./Base\";\r\n/**\r\n * Data struct to contain both B and C sections.\r\n */\r\nvar Data = /** @class */ (function (_super) {\r\n __extends(Data, _super);\r\n function Data() {\r\n return _super.call(this) || this;\r\n }\r\n return Data;\r\n}(Base));\r\nexport { Data };\r\n//# sourceMappingURL=Data.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC,gFAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 2.8.0-beta.2203-15
|
|
3
|
-
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { DataPointType } from "./DataPointType";
|
|
8
|
-
/**
|
|
9
|
-
* Metric data single measurement.
|
|
10
|
-
*/
|
|
11
|
-
var DataPoint = /** @class */ (function () {
|
|
12
|
-
function DataPoint() {
|
|
13
|
-
/**
|
|
14
|
-
* Metric type. Single measurement or the aggregated value.
|
|
15
|
-
*/
|
|
16
|
-
this.kind = DataPointType.Measurement;
|
|
17
|
-
}
|
|
18
|
-
return DataPoint;
|
|
19
|
-
}());
|
|
20
|
-
export { DataPoint };
|
|
21
|
-
//# sourceMappingURL=DataPoint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataPoint.js.map","sources":["DataPoint.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { DataPointType } from \"./DataPointType\";\r\n/**\r\n * Metric data single measurement.\r\n */\r\nvar DataPoint = /** @class */ (function () {\r\n function DataPoint() {\r\n /**\r\n * Metric type. Single measurement or the aggregated value.\r\n */\r\n this.kind = DataPointType.Measurement;\r\n }\r\n return DataPoint;\r\n}());\r\nexport { DataPoint };\r\n//# sourceMappingURL=DataPoint.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 2.8.0-beta.2203-15
|
|
3
|
-
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
// THIS FILE WAS AUTOGENERATED
|
|
8
|
-
/**
|
|
9
|
-
* Type of the metric data measurement.
|
|
10
|
-
*/
|
|
11
|
-
export var DataPointType;
|
|
12
|
-
(function (DataPointType) {
|
|
13
|
-
DataPointType[DataPointType["Measurement"] = 0] = "Measurement";
|
|
14
|
-
DataPointType[DataPointType["Aggregation"] = 1] = "Aggregation";
|
|
15
|
-
})(DataPointType || (DataPointType = {}));
|
|
16
|
-
//# sourceMappingURL=DataPointType.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataPointType.js.map","sources":["DataPointType.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 * Type of the metric data measurement.\r\n */\r\nexport var DataPointType;\r\n(function (DataPointType) {\r\n DataPointType[DataPointType[\"Measurement\"] = 0] = \"Measurement\";\r\n DataPointType[DataPointType[\"Aggregation\"] = 1] = \"Aggregation\";\r\n})(DataPointType || (DataPointType = {}));\r\n//# sourceMappingURL=DataPointType.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|