diff options
| author | agarwalravikant <[email protected]> | 2025-08-20 19:52:22 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-20 14:22:22 +0000 |
| commit | 6b843ca3a81fa6cc98f3080d1686a367cd7679c0 (patch) | |
| tree | 48a359e85d563d252e5a509a36d73847dc585a98 /packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts | |
| parent | a773d0887cf05c6b01bd3340bf8d424feddaa0e8 (diff) | |
Changes to add MCP tool count, and MCP tool name as dimension (#6631)
Co-authored-by: Ravikant Agarwal <[email protected]>
Co-authored-by: Bryan Morgan <[email protected]>
Diffstat (limited to 'packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts')
| -rw-r--r-- | packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts b/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts index 5663273d..32dcf926 100644 --- a/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts +++ b/packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts @@ -382,6 +382,20 @@ export class ClearcutLogger { EventMetadataKey.GEMINI_CLI_START_SESSION_TELEMETRY_LOG_USER_PROMPTS_ENABLED, value: event.telemetry_log_user_prompts_enabled.toString(), }, + { + gemini_cli_key: + EventMetadataKey.GEMINI_CLI_START_SESSION_MCP_SERVERS_COUNT, + value: event.mcp_servers_count ? event.mcp_servers_count : '', + }, + { + gemini_cli_key: + EventMetadataKey.GEMINI_CLI_START_SESSION_MCP_TOOLS_COUNT, + value: event.mcp_tools_count ? event.mcp_tools_count : '', + }, + { + gemini_cli_key: EventMetadataKey.GEMINI_CLI_START_SESSION_MCP_TOOLS, + value: event.mcp_tools ? event.mcp_tools : '', + }, ]; this.sessionData = data; |
