Add isSignedIn to config reload telemetry (#8185)
This commit is contained in:
parent
64b7061618
commit
16a3b978e7
1 changed files with 2 additions and 0 deletions
|
|
@ -537,6 +537,7 @@ export class ConfigHandler {
|
|||
// Track config loading telemetry
|
||||
const endTime = performance.now();
|
||||
const duration = endTime - startTime;
|
||||
const isSignedIn = await this.controlPlaneClient.isSignedIn();
|
||||
|
||||
const profileDescription = this.currentProfile.profileDescription;
|
||||
const telemetryData: Record<string, any> = {
|
||||
|
|
@ -547,6 +548,7 @@ export class ConfigHandler {
|
|||
profileType: profileDescription.profileType,
|
||||
isPersonalOrg: this.currentOrg?.id === this.PERSONAL_ORG_DESC.id,
|
||||
errorCount: errors.length,
|
||||
isSignedIn,
|
||||
};
|
||||
|
||||
void Telemetry.capture("config_reload", telemetryData);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue