You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: telemetry/definitions/commonDefinitions.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@
130
130
{
131
131
"name": "awsAccount",
132
132
"type": "string",
133
-
"description": "AWS account ID associated with a metric. \"n/a\" if credentials are not available. \"not-set\" if credentials are not selected. \"invalid\" if account ID cannot be obtained."
133
+
"description": "AWS account ID associated with a metric.\n-\"n/a\" if credentials are not available.\n-\"not-set\" if credentials are not selected.\n-\"invalid\" if account ID cannot be obtained."
134
134
},
135
135
{
136
136
"name": "awsFiletype",
@@ -155,7 +155,7 @@
155
155
{
156
156
"name": "awsRegion",
157
157
"type": "string",
158
-
"description": "AWS Region associated with a metric"
158
+
"description": "AWS Region associated with a metric\n- \"n/a\" if not associated with a region.\n- \"not-set\" if metric is associated with a region, but region is unknown."
159
159
},
160
160
{
161
161
"name": "causedBy",
@@ -1133,7 +1133,7 @@
1133
1133
{
1134
1134
"name": "httpStatusCode",
1135
1135
"type": "string",
1136
-
"description": "Describes the HTTP status code for request made. The semantics are contextual based off of other fields (e.g. `requestId`)"
1136
+
"description": "HTTP status code for the request (if any) associated with a metric."
1137
1137
},
1138
1138
{
1139
1139
"name": "iamResourceType",
@@ -1303,7 +1303,7 @@
1303
1303
{
1304
1304
"name": "requestId",
1305
1305
"type": "string",
1306
-
"description": "A generic request ID field. The semantics are contextual based off of other fields (e.g. `requestServiceType`). For example, an event with `requestServiceType: s3` means that the request ID is associated with an S3 API call. Events that cover mutliple API calls should use the request ID of the most recent call."
1306
+
"description": "Request ID (if any) associated with a metric. For example, an event with `requestServiceType: s3` means that the request ID is associated with an S3 API call. Events that cover multiple API calls should use the request ID of the most recent call."
Copy file name to clipboardExpand all lines: telemetry/vscode/test/resources/generatorOutput.ts
+23-6Lines changed: 23 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -3,16 +3,33 @@
3
3
* SPDX-License-Identifier: Apache-2.0
4
4
*/
5
5
exportinterfaceMetricBase{
6
-
/** The result of the operation */
7
-
readonlyresult?: Result
6
+
/**
7
+
* AWS account ID associated with a metric.
8
+
* - "n/a" if credentials are not available.
9
+
* - "not-set" if credentials are not selected.
10
+
* - "invalid" if account ID cannot be obtained.
11
+
*/
12
+
readonlyawsAccount?: string
13
+
/**
14
+
* AWS Region associated with a metric
15
+
* - "n/a" if not associated with a region.
16
+
* - "not-set" if metric is associated with a region, but region is unknown.
17
+
*/
18
+
readonlyawsRegion?: string
19
+
/** The duration of the operation in milliseconds */
20
+
readonlyduration?: number
21
+
/** HTTP status code for the request (if any) associated with a metric. */
22
+
readonlyhttpStatusCode?: string
8
23
/** Reason code or name for an event (when result=Succeeded) or error (when result=Failed). Unlike the `reasonDesc` field, this should be a stable/predictable name for a class of events or errors (typically the exception name, e.g. FileIOException). */
9
24
readonlyreason?: string
10
25
/** Error message detail. May contain arbitrary message details (unlike the `reason` field), but should be truncated (recommendation: 200 chars). */
11
26
readonlyreasonDesc?: string
12
-
/** The duration of the operation in milliseconds */
13
-
readonlyduration?: number
14
-
/** AWS Region associated with a metric */
15
-
readonlyawsRegion?: string
27
+
/** Request ID (if any) associated with a metric. For example, an event with `requestServiceType: s3` means that the request ID is associated with an S3 API call. Events that cover multiple API calls should use the request ID of the most recent call. */
28
+
readonlyrequestId?: string
29
+
/** Per-request service identifier. Unlike `serviceType` (which describes the originator of the request), this describes the request itself. */
30
+
readonlyrequestServiceType?: string
31
+
/** The result of the operation */
32
+
readonlyresult?: Result
16
33
/** A flag indicating that the metric was not caused by the user. */
17
34
readonlypassive?: boolean
18
35
/** @deprecated Arbitrary "value" of the metric. */
Copy file name to clipboardExpand all lines: telemetry/vscode/test/resources/generatorOverrideOutput.ts
+23-6Lines changed: 23 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -3,16 +3,33 @@
3
3
* SPDX-License-Identifier: Apache-2.0
4
4
*/
5
5
exportinterfaceMetricBase{
6
-
/** The result of the operation */
7
-
readonlyresult?: Result
6
+
/**
7
+
* AWS account ID associated with a metric.
8
+
* - "n/a" if credentials are not available.
9
+
* - "not-set" if credentials are not selected.
10
+
* - "invalid" if account ID cannot be obtained.
11
+
*/
12
+
readonlyawsAccount?: string
13
+
/**
14
+
* AWS Region associated with a metric
15
+
* - "n/a" if not associated with a region.
16
+
* - "not-set" if metric is associated with a region, but region is unknown.
17
+
*/
18
+
readonlyawsRegion?: string
19
+
/** The duration of the operation in milliseconds */
20
+
readonlyduration?: number
21
+
/** HTTP status code for the request (if any) associated with a metric. */
22
+
readonlyhttpStatusCode?: string
8
23
/** Reason code or name for an event (when result=Succeeded) or error (when result=Failed). Unlike the `reasonDesc` field, this should be a stable/predictable name for a class of events or errors (typically the exception name, e.g. FileIOException). */
9
24
readonlyreason?: string
10
25
/** Error message detail. May contain arbitrary message details (unlike the `reason` field), but should be truncated (recommendation: 200 chars). */
11
26
readonlyreasonDesc?: string
12
-
/** The duration of the operation in milliseconds */
13
-
readonlyduration?: number
14
-
/** AWS Region associated with a metric */
15
-
readonlyawsRegion?: string
27
+
/** Request ID (if any) associated with a metric. For example, an event with `requestServiceType: s3` means that the request ID is associated with an S3 API call. Events that cover multiple API calls should use the request ID of the most recent call. */
28
+
readonlyrequestId?: string
29
+
/** Per-request service identifier. Unlike `serviceType` (which describes the originator of the request), this describes the request itself. */
30
+
readonlyrequestServiceType?: string
31
+
/** The result of the operation */
32
+
readonlyresult?: Result
16
33
/** A flag indicating that the metric was not caused by the user. */
17
34
readonlypassive?: boolean
18
35
/** @deprecated Arbitrary "value" of the metric. */
0 commit comments