File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed
packages/core/src/login/webview/vue Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -233,8 +233,10 @@ export class AmazonQLoginWebview extends CommonAuthWebview {
233233 const result = await runAuth ( )
234234 this . storeMetricMetadata ( {
235235 credentialSourceId : 'sharedCredentials' ,
236- authEnabledFeatures : 'codewhisperer' ,
236+ featureId : 'codewhisperer' ,
237237 credentialType : credentialsType ,
238+ isReAuth : false ,
239+ isAggregated : false ,
238240 ...this . getResultForMetrics ( result ) ,
239241 } )
240242 this . emitAuthMetric ( )
Original file line number Diff line number Diff line change @@ -231,12 +231,6 @@ export abstract class CommonAuthWebview extends VueWebview {
231231 } as AuthAddConnection )
232232 }
233233
234- emitIamClick ( ) {
235- telemetry . ui_click . emit ( {
236- elementId : 'Use with IAM Credentials' ,
237- } )
238- }
239-
240234 /**
241235 * Incrementally store auth metric data during vue, backend sign in logic,
242236 * and cancellation flows.
Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ export default defineComponent({
513513 }
514514 } else if (this .selectedLoginOption === LoginOption .IAM_CREDENTIAL ) {
515515 // Emit telemetry when IAM Credentials option is selected and Continue is clicked
516- void client .emitIamClick ( )
516+ void client .emitUiClick ( ' auth_credentialsOption ' )
517517
518518 this .stage = ' AWS_PROFILE'
519519 this .$nextTick (() => document .getElementById (' profileName' )! .focus ())
You can’t perform that action at this time.
0 commit comments