@microsoft/applicationinsights-common 2.8.0-beta.2203-16 → 2.8.0-nightly.2204-05
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 +521 -743
- 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 +2816 -1246
- package/dist/applicationinsights-common.api.md +87 -43
- package/dist/applicationinsights-common.d.ts +503 -290
- package/dist/applicationinsights-common.js +521 -743
- 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 +503 -290
- 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 +8 -8
- 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 +9 -9
- 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 +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/StorageHelperFuncs.ts +7 -7
- package/src/Telemetry/Common/Data.ts +12 -4
- package/src/Telemetry/Common/DataPoint.ts +38 -2
- package/src/Telemetry/Common/DataSanitizer.ts +10 -10
- 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 +76 -14
- package/src/Telemetry/RemoteDependencyData.ts +70 -15
- package/src/Telemetry/Trace.ts +34 -8
- package/src/applicationinsights-common.ts +5 -5
- package/types/Enums.d.ts +4 -4
- 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/DataSanitizer.d.ts +3 -3
- 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,50 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
// THIS FILE WAS AUTOGENERATED
|
|
5
|
-
import { EventData } from "./EventData";
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* An instance of PageView represents a generic action on a page like a button click. It is also the base type for PageView.
|
|
9
|
-
*/
|
|
10
|
-
export class PageViewData extends EventData {
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Schema version
|
|
14
|
-
*/
|
|
15
|
-
public ver: number = 2;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Request URL with all query string parameters
|
|
19
|
-
*/
|
|
20
|
-
public url: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Event name. Keep it low cardinality to allow proper grouping and useful metrics.
|
|
24
|
-
*/
|
|
25
|
-
public name: string;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* 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.
|
|
29
|
-
*/
|
|
30
|
-
public duration: string;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Identifier of a page view instance. Used for correlation between page view and other telemetry items.
|
|
34
|
-
*/
|
|
35
|
-
public id: string;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Collection of custom properties.
|
|
39
|
-
*/
|
|
40
|
-
public properties: any = {};
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Collection of custom measurements.
|
|
44
|
-
*/
|
|
45
|
-
public measurements: any = {};
|
|
46
|
-
|
|
47
|
-
constructor() {
|
|
48
|
-
super();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
// THIS FILE WAS AUTOGENERATED
|
|
5
|
-
import { PageViewData } from "./PageViewData";
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* An instance of PageViewPerf represents: a page view with no performance data, a page view with performance data, or just the performance data of an earlier page request.
|
|
9
|
-
*/
|
|
10
|
-
export class PageViewPerfData extends PageViewData {
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Schema version
|
|
14
|
-
*/
|
|
15
|
-
public ver: number = 2;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Request URL with all query string parameters
|
|
19
|
-
*/
|
|
20
|
-
public url: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Performance total in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
24
|
-
*/
|
|
25
|
-
public perfTotal: string;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Event name. Keep it low cardinality to allow proper grouping and useful metrics.
|
|
29
|
-
*/
|
|
30
|
-
public name: string;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* 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.
|
|
34
|
-
*/
|
|
35
|
-
public duration: string;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Network connection time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
39
|
-
*/
|
|
40
|
-
public networkConnect: string;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Sent request time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
44
|
-
*/
|
|
45
|
-
public sentRequest: string;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Received response time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
49
|
-
*/
|
|
50
|
-
public receivedResponse: string;
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* DOM processing time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
|
|
54
|
-
*/
|
|
55
|
-
public domProcessing: string;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Collection of custom properties.
|
|
59
|
-
*/
|
|
60
|
-
public properties: any = {};
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Collection of custom measurements.
|
|
64
|
-
*/
|
|
65
|
-
public measurements: any = {};
|
|
66
|
-
|
|
67
|
-
constructor() {
|
|
68
|
-
super();
|
|
69
|
-
}
|
|
70
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { Domain } from "./Domain";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* An instance of Remote Dependency represents an interaction of the monitored component with a remote component/service like SQL or an HTTP endpoint.
|
|
8
|
-
*/
|
|
9
|
-
export class RemoteDependencyData implements Domain {
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Schema version
|
|
13
|
-
*/
|
|
14
|
-
public ver: number = 2;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Name of the command initiated with this dependency call. Low cardinality value. Examples are stored procedure name and URL path template.
|
|
18
|
-
*/
|
|
19
|
-
public name: string;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Identifier of a dependency call instance. Used for correlation with the request telemetry item corresponding to this dependency call.
|
|
23
|
-
*/
|
|
24
|
-
public id: string;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Result code of a dependency call. Examples are SQL error code and HTTP status code.
|
|
28
|
-
*/
|
|
29
|
-
public resultCode: string;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Request duration in format: DD.HH:MM:SS.MMMMMM. Must be less than 1000 days.
|
|
33
|
-
*/
|
|
34
|
-
public duration: string;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Indication of successful or unsuccessful call.
|
|
38
|
-
*/
|
|
39
|
-
public success: boolean = true;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Command initiated by this dependency call. Examples are SQL statement and HTTP URL's with all query parameters.
|
|
43
|
-
*/
|
|
44
|
-
public data: string;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Target site of a dependency call. Examples are server name, host address.
|
|
48
|
-
*/
|
|
49
|
-
public target: string;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Dependency type name. Very low cardinality value for logical grouping of dependencies and interpretation of other fields like commandName and resultCode. Examples are SQL, Azure table, and HTTP.
|
|
53
|
-
*/
|
|
54
|
-
public type: string;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Collection of custom properties.
|
|
58
|
-
*/
|
|
59
|
-
public properties: any = {};
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Collection of custom measurements.
|
|
63
|
-
*/
|
|
64
|
-
public measurements: any = {};
|
|
65
|
-
|
|
66
|
-
constructor() {
|
|
67
|
-
}
|
|
68
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { Domain } from "./Domain";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* An instance of Request represents completion of an external request to the application to do work and contains a summary of that request execution and the results.
|
|
8
|
-
*/
|
|
9
|
-
export class RequestData implements Domain {
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Schema version
|
|
13
|
-
*/
|
|
14
|
-
public ver: number = 2;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Identifier of a request call instance. Used for correlation between request and other telemetry items.
|
|
18
|
-
*/
|
|
19
|
-
public id: string;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Source of the request. Examples are the instrumentation key of the caller or the ip address of the caller.
|
|
23
|
-
*/
|
|
24
|
-
public source: string;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Name of the request. Represents code path taken to process request. Low cardinality value to allow better grouping of requests. For HTTP requests it represents the HTTP method and URL path template like 'GET /values/{id}'.
|
|
28
|
-
*/
|
|
29
|
-
public name: string;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Indication of successful or unsuccessful call.
|
|
33
|
-
*/
|
|
34
|
-
public success: boolean;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Request URL with all query string parameters.
|
|
38
|
-
*/
|
|
39
|
-
public url: string;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Collection of custom properties.
|
|
43
|
-
*/
|
|
44
|
-
public properties: any = {};
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Collection of custom measurements.
|
|
48
|
-
*/
|
|
49
|
-
public measurements: any = {};
|
|
50
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
// THIS FILE WAS AUTOGENERATED
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Defines the level of severity for the event.
|
|
8
|
-
*/
|
|
9
|
-
export enum SeverityLevel {
|
|
10
|
-
Verbose = 0,
|
|
11
|
-
Information = 1,
|
|
12
|
-
Warning = 2,
|
|
13
|
-
Error = 3,
|
|
14
|
-
Critical = 4,
|
|
15
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
// THIS FILE WAS AUTOGENERATED
|
|
5
|
-
/**
|
|
6
|
-
* Stack frame information.
|
|
7
|
-
*/
|
|
8
|
-
export class StackFrame {
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Level in the call stack. For the long stacks SDK may not report every function in a call stack.
|
|
12
|
-
*/
|
|
13
|
-
public level: number;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Method name.
|
|
17
|
-
*/
|
|
18
|
-
public method: string;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Name of the assembly (dll, jar, etc.) containing this function.
|
|
22
|
-
*/
|
|
23
|
-
public assembly: string;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* File name or URL of the method implementation.
|
|
27
|
-
*/
|
|
28
|
-
public fileName: string;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Line number of the code implementation.
|
|
32
|
-
*/
|
|
33
|
-
public line: number;
|
|
34
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { ISerializable } from "../../Interfaces/Telemetry/ISerializable";
|
|
5
|
-
import { Base as AIBase } from "../../Interfaces/Contracts/Generated/Base"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export class Base extends AIBase implements ISerializable {
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* The data contract for serializing this object.
|
|
12
|
-
*/
|
|
13
|
-
public aiDataContract = {};
|
|
14
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Domain } from "./Domain";
|
|
2
|
-
/**
|
|
3
|
-
* Instances of AvailabilityData represent the result of executing an availability test.
|
|
4
|
-
*/
|
|
5
|
-
export declare class AvailabilityData implements Domain {
|
|
6
|
-
/**
|
|
7
|
-
* Schema version
|
|
8
|
-
*/
|
|
9
|
-
ver: number;
|
|
10
|
-
/**
|
|
11
|
-
* Identifier of a test run. Use it to correlate steps of test run and telemetry generated by the service.
|
|
12
|
-
*/
|
|
13
|
-
id: string;
|
|
14
|
-
/**
|
|
15
|
-
* Name of the test that these availability results represent.
|
|
16
|
-
*/
|
|
17
|
-
name: string;
|
|
18
|
-
/**
|
|
19
|
-
* Duration in format: DD.HH:MM:SS.MMMMMM. Must be less than 1000 days.
|
|
20
|
-
*/
|
|
21
|
-
duration: string;
|
|
22
|
-
/**
|
|
23
|
-
* Success flag.
|
|
24
|
-
*/
|
|
25
|
-
success: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Name of the location where the test was run from.
|
|
28
|
-
*/
|
|
29
|
-
runLocation: string;
|
|
30
|
-
/**
|
|
31
|
-
* Diagnostic message for the result.
|
|
32
|
-
*/
|
|
33
|
-
message: string;
|
|
34
|
-
/**
|
|
35
|
-
* Collection of custom properties.
|
|
36
|
-
*/
|
|
37
|
-
properties: any;
|
|
38
|
-
/**
|
|
39
|
-
* Collection of custom measurements.
|
|
40
|
-
*/
|
|
41
|
-
measurements: any;
|
|
42
|
-
}
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
export interface IContextTagKeys {
|
|
2
|
-
/**
|
|
3
|
-
* Application version. Information in the application context fields is always about the application that is sending the telemetry.
|
|
4
|
-
*/
|
|
5
|
-
readonly applicationVersion: string;
|
|
6
|
-
/**
|
|
7
|
-
* Application build.
|
|
8
|
-
*/
|
|
9
|
-
readonly applicationBuild: string;
|
|
10
|
-
/**
|
|
11
|
-
* Application type id.
|
|
12
|
-
*/
|
|
13
|
-
readonly applicationTypeId: string;
|
|
14
|
-
/**
|
|
15
|
-
* Application id.
|
|
16
|
-
*/
|
|
17
|
-
readonly applicationId: string;
|
|
18
|
-
/**
|
|
19
|
-
* Application layer.
|
|
20
|
-
*/
|
|
21
|
-
readonly applicationLayer: string;
|
|
22
|
-
/**
|
|
23
|
-
* Unique client device id. Computer name in most cases.
|
|
24
|
-
*/
|
|
25
|
-
readonly deviceId: string;
|
|
26
|
-
readonly deviceIp: string;
|
|
27
|
-
readonly deviceLanguage: string;
|
|
28
|
-
/**
|
|
29
|
-
* Device locale using <language>-<REGION> pattern, following RFC 5646. Example 'en-US'.
|
|
30
|
-
*/
|
|
31
|
-
readonly deviceLocale: string;
|
|
32
|
-
/**
|
|
33
|
-
* Model of the device the end user of the application is using. Used for client scenarios. If this field is empty then it is derived from the user agent.
|
|
34
|
-
*/
|
|
35
|
-
readonly deviceModel: string;
|
|
36
|
-
readonly deviceFriendlyName: string;
|
|
37
|
-
readonly deviceNetwork: string;
|
|
38
|
-
readonly deviceNetworkName: string;
|
|
39
|
-
/**
|
|
40
|
-
* Client device OEM name taken from the browser.
|
|
41
|
-
*/
|
|
42
|
-
readonly deviceOEMName: string;
|
|
43
|
-
readonly deviceOS: string;
|
|
44
|
-
/**
|
|
45
|
-
* Operating system name and version of the device the end user of the application is using. If this field is empty then it is derived from the user agent. Example 'Windows 10 Pro 10.0.10586.0'
|
|
46
|
-
*/
|
|
47
|
-
readonly deviceOSVersion: string;
|
|
48
|
-
/**
|
|
49
|
-
* Name of the instance where application is running. Computer name for on-premisis, instance name for Azure.
|
|
50
|
-
*/
|
|
51
|
-
readonly deviceRoleInstance: string;
|
|
52
|
-
/**
|
|
53
|
-
* Name of the role application is part of. Maps directly to the role name in azure.
|
|
54
|
-
*/
|
|
55
|
-
readonly deviceRoleName: string;
|
|
56
|
-
readonly deviceScreenResolution: string;
|
|
57
|
-
/**
|
|
58
|
-
* The type of the device the end user of the application is using. Used primarily to distinguish JavaScript telemetry from server side telemetry. Examples: 'PC', 'Phone', 'Browser'. 'PC' is the default value.
|
|
59
|
-
*/
|
|
60
|
-
readonly deviceType: string;
|
|
61
|
-
readonly deviceMachineName: string;
|
|
62
|
-
readonly deviceVMName: string;
|
|
63
|
-
readonly deviceBrowser: string;
|
|
64
|
-
/**
|
|
65
|
-
* The browser name and version as reported by the browser.
|
|
66
|
-
*/
|
|
67
|
-
readonly deviceBrowserVersion: string;
|
|
68
|
-
/**
|
|
69
|
-
* The IP address of the client device. IPv4 and IPv6 are supported. Information in the location context fields is always about the end user. When telemetry is sent from a service, the location context is about the user that initiated the operation in the service.
|
|
70
|
-
*/
|
|
71
|
-
readonly locationIp: string;
|
|
72
|
-
/**
|
|
73
|
-
* The country of the client device. If any of Country, Province, or City is specified, those values will be preferred over geolocation of the IP address field. Information in the location context fields is always about the end user. When telemetry is sent from a service, the location context is about the user that initiated the operation in the service.
|
|
74
|
-
*/
|
|
75
|
-
readonly locationCountry: string;
|
|
76
|
-
/**
|
|
77
|
-
* The province/state of the client device. If any of Country, Province, or City is specified, those values will be preferred over geolocation of the IP address field. Information in the location context fields is always about the end user. When telemetry is sent from a service, the location context is about the user that initiated the operation in the service.
|
|
78
|
-
*/
|
|
79
|
-
readonly locationProvince: string;
|
|
80
|
-
/**
|
|
81
|
-
* The city of the client device. If any of Country, Province, or City is specified, those values will be preferred over geolocation of the IP address field. Information in the location context fields is always about the end user. When telemetry is sent from a service, the location context is about the user that initiated the operation in the service.
|
|
82
|
-
*/
|
|
83
|
-
readonly locationCity: string;
|
|
84
|
-
/**
|
|
85
|
-
* A unique identifier for the operation instance. The operation.id is created by either a request or a page view. All other telemetry sets this to the value for the containing request or page view. Operation.id is used for finding all the telemetry items for a specific operation instance.
|
|
86
|
-
*/
|
|
87
|
-
readonly operationId: string;
|
|
88
|
-
/**
|
|
89
|
-
* The name (group) of the operation. The operation.name is created by either a request or a page view. All other telemetry items set this to the value for the containing request or page view. Operation.name is used for finding all the telemetry items for a group of operations (i.e. 'GET Home/Index').
|
|
90
|
-
*/
|
|
91
|
-
readonly operationName: string;
|
|
92
|
-
/**
|
|
93
|
-
* The unique identifier of the telemetry item's immediate parent.
|
|
94
|
-
*/
|
|
95
|
-
readonly operationParentId: string;
|
|
96
|
-
readonly operationRootId: string;
|
|
97
|
-
/**
|
|
98
|
-
* Name of synthetic source. Some telemetry from the application may represent a synthetic traffic. It may be web crawler indexing the web site, site availability tests or traces from diagnostic libraries like Application Insights SDK itself.
|
|
99
|
-
*/
|
|
100
|
-
readonly operationSyntheticSource: string;
|
|
101
|
-
/**
|
|
102
|
-
* The correlation vector is a light weight vector clock which can be used to identify and order related events across clients and services.
|
|
103
|
-
*/
|
|
104
|
-
readonly operationCorrelationVector: string;
|
|
105
|
-
/**
|
|
106
|
-
* Session ID - the instance of the user's interaction with the app. Information in the session context fields is always about the end user. When telemetry is sent from a service, the session context is about the user that initiated the operation in the service.
|
|
107
|
-
*/
|
|
108
|
-
readonly sessionId: string;
|
|
109
|
-
/**
|
|
110
|
-
* Boolean value indicating whether the session identified by ai.session.id is first for the user or not.
|
|
111
|
-
*/
|
|
112
|
-
readonly sessionIsFirst: string;
|
|
113
|
-
readonly sessionIsNew: string;
|
|
114
|
-
readonly userAccountAcquisitionDate: string;
|
|
115
|
-
/**
|
|
116
|
-
* In multi-tenant applications this is the account ID or name which the user is acting with. Examples may be subscription ID for Azure portal or blog name blogging platform.
|
|
117
|
-
*/
|
|
118
|
-
readonly userAccountId: string;
|
|
119
|
-
/**
|
|
120
|
-
* The browser's user agent string as reported by the browser. This property will be used to extract informaiton regarding the customer's browser but will not be stored. Use custom properties to store the original user agent.
|
|
121
|
-
*/
|
|
122
|
-
readonly userAgent: string;
|
|
123
|
-
/**
|
|
124
|
-
* Anonymous user id. Represents the end user of the application. When telemetry is sent from a service, the user context is about the user that initiated the operation in the service.
|
|
125
|
-
*/
|
|
126
|
-
readonly userId: string;
|
|
127
|
-
/**
|
|
128
|
-
* Store region for UWP applications.
|
|
129
|
-
*/
|
|
130
|
-
readonly userStoreRegion: string;
|
|
131
|
-
/**
|
|
132
|
-
* Authenticated user id. The opposite of ai.user.id, this represents the user with a friendly name. Since it's PII information it is not collected by default by most SDKs.
|
|
133
|
-
*/
|
|
134
|
-
readonly userAuthUserId: string;
|
|
135
|
-
readonly userAnonymousUserAcquisitionDate: string;
|
|
136
|
-
readonly userAuthenticatedUserAcquisitionDate: string;
|
|
137
|
-
readonly cloudName: string;
|
|
138
|
-
/**
|
|
139
|
-
* Name of the role the application is a part of. Maps directly to the role name in azure.
|
|
140
|
-
*/
|
|
141
|
-
readonly cloudRole: string;
|
|
142
|
-
readonly cloudRoleVer: string;
|
|
143
|
-
/**
|
|
144
|
-
* Name of the instance where the application is running. Computer name for on-premisis, instance name for Azure.
|
|
145
|
-
*/
|
|
146
|
-
readonly cloudRoleInstance: string;
|
|
147
|
-
readonly cloudEnvironment: string;
|
|
148
|
-
readonly cloudLocation: string;
|
|
149
|
-
readonly cloudDeploymentUnit: string;
|
|
150
|
-
/**
|
|
151
|
-
* SDK version. See https://github.com/microsoft/ApplicationInsights-Home/blob/master/SDK-AUTHORING.md#sdk-version-specification for information.
|
|
152
|
-
*/
|
|
153
|
-
readonly internalSdkVersion: string;
|
|
154
|
-
/**
|
|
155
|
-
* Agent version. Used to indicate the version of StatusMonitor installed on the computer if it is used for data collection.
|
|
156
|
-
*/
|
|
157
|
-
readonly internalAgentVersion: string;
|
|
158
|
-
/**
|
|
159
|
-
* This is the node name used for billing purposes. Use it to override the standard detection of nodes.
|
|
160
|
-
*/
|
|
161
|
-
readonly internalNodeName: string;
|
|
162
|
-
/**
|
|
163
|
-
* This identifies the version of the snippet that was used to initialize the SDK
|
|
164
|
-
*/
|
|
165
|
-
readonly internalSnippet: string;
|
|
166
|
-
/**
|
|
167
|
-
* This identifies the source of the Sdk script (used to identify whether the SDK was loaded via the CDN)
|
|
168
|
-
*/
|
|
169
|
-
readonly internalSdkSrc: string;
|
|
170
|
-
}
|
|
171
|
-
declare const ContextTagKeys_base: new () => IContextTagKeys;
|
|
172
|
-
export declare class ContextTagKeys extends ContextTagKeys_base {
|
|
173
|
-
constructor();
|
|
174
|
-
}
|
|
175
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Base } from "./Base";
|
|
2
|
-
/**
|
|
3
|
-
* Data struct to contain both B and C sections.
|
|
4
|
-
*/
|
|
5
|
-
export declare class Data<TDomain> extends Base {
|
|
6
|
-
/**
|
|
7
|
-
* Name of item (B section) if any. If telemetry data is derived straight from this, this should be null.
|
|
8
|
-
*/
|
|
9
|
-
baseType: string;
|
|
10
|
-
/**
|
|
11
|
-
* Container for data item (B section).
|
|
12
|
-
*/
|
|
13
|
-
baseData: TDomain;
|
|
14
|
-
constructor();
|
|
15
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { DataPointType } from "./DataPointType";
|
|
2
|
-
/**
|
|
3
|
-
* Metric data single measurement.
|
|
4
|
-
*/
|
|
5
|
-
export declare class DataPoint {
|
|
6
|
-
/**
|
|
7
|
-
* Name of the metric.
|
|
8
|
-
*/
|
|
9
|
-
name: string;
|
|
10
|
-
/**
|
|
11
|
-
* Metric type. Single measurement or the aggregated value.
|
|
12
|
-
*/
|
|
13
|
-
kind: DataPointType;
|
|
14
|
-
/**
|
|
15
|
-
* Single value for measurement. Sum of individual measurements for the aggregation.
|
|
16
|
-
*/
|
|
17
|
-
value: number;
|
|
18
|
-
/**
|
|
19
|
-
* Metric weight of the aggregated metric. Should not be set for a measurement.
|
|
20
|
-
*/
|
|
21
|
-
count: number;
|
|
22
|
-
/**
|
|
23
|
-
* Minimum value of the aggregated metric. Should not be set for a measurement.
|
|
24
|
-
*/
|
|
25
|
-
min: number;
|
|
26
|
-
/**
|
|
27
|
-
* Maximum value of the aggregated metric. Should not be set for a measurement.
|
|
28
|
-
*/
|
|
29
|
-
max: number;
|
|
30
|
-
/**
|
|
31
|
-
* Standard deviation of the aggregated metric. Should not be set for a measurement.
|
|
32
|
-
*/
|
|
33
|
-
stdDev: number;
|
|
34
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Base } from "./Base";
|
|
2
|
-
/**
|
|
3
|
-
* System variables for a telemetry item.
|
|
4
|
-
*/
|
|
5
|
-
export declare class Envelope {
|
|
6
|
-
/**
|
|
7
|
-
* 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.
|
|
8
|
-
*/
|
|
9
|
-
ver: number;
|
|
10
|
-
/**
|
|
11
|
-
* Type name of telemetry data item.
|
|
12
|
-
*/
|
|
13
|
-
name: string;
|
|
14
|
-
/**
|
|
15
|
-
* 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.
|
|
16
|
-
*/
|
|
17
|
-
time: string;
|
|
18
|
-
/**
|
|
19
|
-
* Sampling rate used in application. This telemetry item represents 1 / sampleRate actual telemetry items.
|
|
20
|
-
*/
|
|
21
|
-
sampleRate: number;
|
|
22
|
-
/**
|
|
23
|
-
* Sequence field used to track absolute order of uploaded events.
|
|
24
|
-
*/
|
|
25
|
-
seq: string;
|
|
26
|
-
/**
|
|
27
|
-
* 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.
|
|
28
|
-
*/
|
|
29
|
-
iKey: string;
|
|
30
|
-
/**
|
|
31
|
-
* Key/value collection of context properties. See ContextTagKeys for information on available properties.
|
|
32
|
-
*/
|
|
33
|
-
tags: any;
|
|
34
|
-
/**
|
|
35
|
-
* Telemetry data item.
|
|
36
|
-
*/
|
|
37
|
-
data: Base;
|
|
38
|
-
}
|