Skip to content

Commit 16a3b97

Browse files
authored
Add isSignedIn to config reload telemetry (#8185)
1 parent 64b7061 commit 16a3b97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/config/ConfigHandler.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ export class ConfigHandler {
537537
// Track config loading telemetry
538538
const endTime = performance.now();
539539
const duration = endTime - startTime;
540+
const isSignedIn = await this.controlPlaneClient.isSignedIn();
540541

541542
const profileDescription = this.currentProfile.profileDescription;
542543
const telemetryData: Record<string, any> = {
@@ -547,6 +548,7 @@ export class ConfigHandler {
547548
profileType: profileDescription.profileType,
548549
isPersonalOrg: this.currentOrg?.id === this.PERSONAL_ORG_DESC.id,
549550
errorCount: errors.length,
551+
isSignedIn,
550552
};
551553

552554
void Telemetry.capture("config_reload", telemetryData);

0 commit comments

Comments
 (0)