-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathvs-telemetry-definitions.json
More file actions
243 lines (243 loc) · 9.04 KB
/
vs-telemetry-definitions.json
File metadata and controls
243 lines (243 loc) · 9.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
{
"types": [
{
"name": "amazonQProfileRegion",
"type": "string",
"description": "Region of the Q Profile associated with a metric\n- \"n/a\" if metric is not associated with a profile or region.\n- \"not-set\" if metric is associated with a profile, but profile is unknown."
},
{
"name": "ssoRegion",
"type": "string",
"description": "Region of the current SSO connection. Typically associated with credentialStartUrl\n- \"n/a\" if metric is not associated with a region.\n- \"not-set\" if metric is associated with a region, but region is unknown."
},
{
"name": "profileCount",
"type": "int",
"description": "The number of profiles that were available to choose from"
},
{
"name": "codeartifactPackageType",
"type": "string",
"description": "The CodeArtifact package type"
},
{
"name": "published",
"type": "boolean",
"description": "Whether or not the user published an application"
},
{
"name": "applicationType",
"type": "string",
"description": "The type of application being published"
},
{
"name": "initialPublish",
"type": "boolean",
"description": "Whether this was the initial publish or a republish"
},
{
"name": "defaultConfiguration",
"type": "boolean",
"description": "Whether or not the default configuration values were used. False if at least one value was adjusted"
},
{
"name": "recommendedTarget",
"type": "boolean",
"description": "Whether or not the recommended deployment target was used (initial publish only)"
},
{
"name": "recipeId",
"type": "string",
"description": "The recipe used for the deployment"
},
{
"name": "isGeneratedProject",
"type": "boolean",
"description": "Whether or not the referenced project was generated"
},
{
"name": "publishSettingType",
"type": "string",
"description": "The type of a particular configuration setting/detail"
},
{
"name": "publishInstallCliMode",
"type": "string",
"allowedValues": ["install", "upgrade", "noop"],
"description": "The operation that occurred when an attempt was made to download the CLI"
},
{
"name": "publishSetupStage",
"type": "string",
"allowedValues": ["install", "validate", "initialize", "show", "all"],
"description": "Represents a phase of the publish experience startup sequence"
}
],
"metrics": [
{
"name": "amazonq_didSelectProfile" ,
"description": "Emitted after the user's Q Profile has been set, whether the user was prompted with a dialog, or a profile was automatically assigned after signing in.",
"metadata": [
{ "type": "source" },
{ "type": "amazonQProfileRegion" },
{ "type": "result" },
{ "type": "ssoRegion", "required": false },
{ "type": "credentialStartUrl", "required": false },
{ "type": "profileCount", "required": false }
],
"passive": true
},
{
"name": "amazonq_profileState" ,
"description": "Indicates a change in the user's Q Profile state",
"metadata": [
{ "type": "source" },
{ "type": "amazonQProfileRegion" },
{ "type": "result" },
{ "type": "ssoRegion", "required": false },
{ "type": "credentialStartUrl", "required": false }
],
"passive": true
},
{
"name": "auth_signInToAmazonQDialogOpened",
"description": "Called when the Amazon Q sign in dialog is opened",
"metadata": [
{ "type": "source" }
],
"passive": true
},
{
"name": "auth_signInToAmazonQDialogClosed",
"description": "Called when the Amazon Q sign in dialog is closed",
"metadata": [],
"passive": true
},
{
"name": "amazonq_closeChat",
"description": "When Amazon Q chat panel is closed"
},
{
"name": "amazonq_openChat",
"description": "When users open Amazon Q chat panel",
"metadata": [
{ "type": "result" }
]
},
{
"name": "serverlessapplication_deploy",
"description": "Called when deploying a Serverless Application Project",
"metadata": [
{ "type": "result" },
{ "type": "duration" },
{ "type": "serviceType", "required": false },
{ "type": "source" , "required": false}
]
},
{
"name": "serverlessapplication_publishWizard",
"description": "Called when user completes a Serverless Application publish wizard",
"metadata": [
{ "type": "result" },
{ "type": "duration" },
{ "type": "serviceType", "required": false },
{ "type": "source" , "required": false}
]
},
{
"name": "codeartifact_credentialsRequest",
"description": "Called when Visual Studio requests credentials from the Toolkit in order to communicate with a CodeArtifact package repository",
"passive": true,
"metadata": [
{ "type": "result" },
{ "type": "reason", "required": false }
]
},
{
"name": "codeartifact_getRepoUrl",
"description": "Called when user selects a profile",
"metadata": [
{ "type": "result" },
{ "type": "codeartifactPackageType" }
]
},
{
"name": "codeartifact_setRepoCredentialProfile",
"description": "Called when user get an endpoint url",
"metadata": [
{ "type": "result" },
{ "type": "codeartifactPackageType" }
]
},
{
"name": "publish_start",
"description": "Called when user starts the Publish to AWS workflow",
"metadata": [
{ "type": "result" },
{ "type": "source", "required": false }
]
},
{
"name": "publish_end",
"description": "Called when user exits the Publish to AWS workflow",
"metadata": [
{ "type": "published" },
{ "type": "duration" }
]
},
{
"name": "publish_deploy",
"description": "Called when user publishes the project",
"metadata": [
{ "type": "result" },
{ "type": "framework", "required": false },
{ "type": "duration" },
{ "type": "applicationType", "required": false },
{ "type": "initialPublish" },
{ "type": "defaultConfiguration" },
{ "type": "recommendedTarget", "required": false },
{ "type": "recipeId" },
{ "type": "isGeneratedProject", "required": false },
{ "type": "errorCode", "required": false },
{ "type": "reason", "required": false }
]
},
{
"name": "publish_setup",
"description": "Starting the Publish to AWS experience",
"passive": true,
"unit": "Milliseconds",
"metadata": [
{ "type": "result" },
{ "type": "duration" },
{ "type": "publishSetupStage" },
{ "type": "publishInstallCliMode", "required": false },
{ "type": "errorCode", "required": false }
]
},
{
"name": "publish_unsupportedSetting",
"description": "Called when user exits the publish workflow to record unsupported setting types",
"metadata": [
{ "type": "recipeId" },
{ "type": "publishSettingType" }
]
},
{
"name": "lambda_iamRoleCleanup",
"description": "Called when cleaning up IAM Role trusted policy",
"metadata": [
{ "type": "result" },
{ "type": "reason" }
]
},
{
"name": "lambda_addEvent",
"description": "Called when adding an event to a lambda function",
"metadata": [
{ "type": "result" },
{ "type": "variant" }
]
}
]
}