File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -417,6 +417,7 @@ export class Auth implements AuthService, ConnectionManager {
417417 await setContext ( 'aws.isInternalUser' , false )
418418 }
419419
420+ @withTelemetryContext ( { name : 'getConnection' , class : authClassName } )
420421 public async getConnection ( connection : Pick < Connection , 'id' > ) : Promise < Connection | undefined > {
421422 const connections = await this . listConnections ( )
422423
@@ -524,6 +525,7 @@ export class Auth implements AuthService, ConnectionManager {
524525 await this . thrownOnConn ( id , 'exists' )
525526 }
526527
528+ @withTelemetryContext ( { name : 'thrownOnConn' , class : authClassName } )
527529 private async thrownOnConn ( id : CredentialsId , throwOn : 'exists' | 'not-exists' ) {
528530 const idAsString = asString ( id )
529531 const conns = await this . listConnections ( ) // triggers loading of profile in to store
You can’t perform that action at this time.
0 commit comments