diff options
Diffstat (limited to 'packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts')
| -rw-r--r-- | packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts b/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts index f06ddb94..dec38f34 100644 --- a/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts +++ b/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts @@ -17,7 +17,8 @@ import { } from '../types.js'; import { EventMetadataKey } from './event-metadata-key.js'; import { Config } from '../../config/config.js'; -import { getPersistentUserId } from '../../utils/user_id.js'; +import { getInstallationId } from '../../utils/user_id.js'; +import { getObfuscatedGoogleAccountId } from '../../utils/user_id.js'; const start_session_event_name = 'start_session'; const new_prompt_event_name = 'new_prompt'; @@ -69,7 +70,8 @@ export class ClearcutLogger { console_type: 'GEMINI_CLI', application: 102, event_name: name, - client_install_id: getPersistentUserId(), + obfuscated_google_account_id: getObfuscatedGoogleAccountId(), + client_install_id: getInstallationId(), event_metadata: [data] as object[], }; } |
