summaryrefslogtreecommitdiff
path: root/packages/core/src/telemetry/clearcut-logger
AgeCommit message (Collapse)Author
2025-08-21fix(metrics): Do not convert numerical metrics to strings (#6701)Shardul Natu
Co-authored-by: Shnatu <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Bryan Morgan <[email protected]> Co-authored-by: Arya Gummadi <[email protected]>
2025-08-20test(logging): Add tests for default log fields (#6583)Lee James
2025-08-20Changes to add MCP tool count, and MCP tool name as dimension (#6631)agarwalravikant
Co-authored-by: Ravikant Agarwal <[email protected]> Co-authored-by: Bryan Morgan <[email protected]>
2025-08-20Refac: Centralize storage file management (#4078)Yuki Okita
Co-authored-by: Taylor Mullen <[email protected]>
2025-08-19Log all session metadata (#6423)owenofbrien
2025-08-19Changes to add tool_type as dimension (#6538)agarwalravikant
Co-authored-by: Ravikant Agarwal <[email protected]>
2025-08-18feat(client/compression): Log telemetry when compressing chat context. (#6195)Richie Foreman
2025-08-17chore(compiler): Enable strict property access TS compiler flag. (#6255)Richie Foreman
Co-authored-by: Jacob Richman <[email protected]>
2025-08-15Add session id to session summary and /bug template (#6313)owenofbrien
Co-authored-by: Bryan Morgan <[email protected]>
2025-08-14Log CLI version and git commit hash (v2) (#6176)owenofbrien
2025-08-13chore(telemetry): Add various surface detection to `determineSurface` for ↵Richie Foreman
logging. (#6074) Co-authored-by: christine betts <[email protected]> Co-authored-by: Jacob Richman <[email protected]> Co-authored-by: matt korwel <[email protected]>
2025-08-13chore(cli/slashcommands): Add status enum to SlashCommandEvent telemetry (#6166)Richie Foreman
2025-08-13Revert "chore(cli/slashcommands): Add status enum to SlashCommandEvent ↵Jacob Richman
telemetry" (#6161)
2025-08-13Add terminal setup command for Shift+Enter and Ctrl+Enter support (#3289)Deepankar Sharma
Co-authored-by: jacob314 <[email protected]>
2025-08-13chore(cli/slashcommands): Add status enum to SlashCommandEvent telemetry (#6023)Richie Foreman
2025-08-12chore(usage telemetry): Freshen up Clearcut logging (#6013)Richie Foreman
Co-authored-by: christine betts <[email protected]> Co-authored-by: Jacob Richman <[email protected]> Co-authored-by: matt korwel <[email protected]>
2025-08-11feat: add "surface" to all logs (#5862)Lee James
2025-08-08Fix for git issue 5657 to add lines of code added/removed telemetry (#5823)agarwalravikant
Co-authored-by: Ravikant Agarwal <[email protected]>
2025-08-08feat(telemetry): Prevent memory leak in ClearcutLogger (#5734)Gal Zahavi
2025-08-07chore(telemetry): Log `FIREBASE_STUDIO` when using Gemini CLI within ↵Richie Foreman
Firebase Studio (#5790)
2025-08-05Refactor IDE client state management, improve user-facing error messages, ↵Shreya Keshive
and add logging of connection events (#5591) Co-authored-by: matt korwel <[email protected]>
2025-08-04Cloud Shell surface logging fix (#5364)owenofbrien
2025-08-01fix(core): Remove json output schema form the next speaker check prompt (#5325)Sandy Tao
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-31Replace FlashDecidedToContinueEvent with NextSpeakerCheckEvent (#5257)Sandy Tao
2025-07-29Adds centralized support to log slash commands + sub commands (#5128)Shreya Keshive
2025-07-27refactor(telemetry): enhance flushToClearcut method with retry logic and ↵Hyeladi Bassi
early return for empty events (#1601) Co-authored-by: Scott Densmore <[email protected]>
2025-07-24Log prompt id when a loop is detected (#4765)Sandy Tao
Co-authored-by: N. Taylor Mullen <[email protected]>
2025-07-23Log when flash model decided to continue (#4698)Sandy Tao
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-17feat(cli): add explicit proxy option in cli (#2526)warjiang
Co-authored-by: Dcatfly <[email protected]>
2025-07-17Logging surface field in the start_session_event. Also logging sessio… (#4362)uttamkanodia14
2025-07-15Log the 2 types of loop detection (#4193)Sandy Tao
2025-07-14Fix circular reference JSON serialization in telemetry logging (#4150)Bryan Morgan
2025-07-11Adds Flash Fallback logging and clearcut logging (#3843)uttamkanodia14
2025-07-11fix: clearcut logging (retry #3744) (#3751)Gaurav
2025-07-11Logs the auth type in the user prompts, api responses and errors (#3795)uttamkanodia14
2025-07-11Remove extra logging in debug mode (#3864)anj-s
2025-07-09Revert "fix: Use Email for Clearcut Logging and Refactor User Info Fetching" ↵matt korwel
(#3744)
2025-07-10fix: Use Email for Clearcut Logging and Refactor User Info Fetching (#3620)Gaurav
2025-07-09Adding TurnId to Tool call and API responses and error logs. (#3039)uttamkanodia14
Co-authored-by: Scott Densmore <[email protected]>
2025-07-03Fixed Google User Id pass to Clearcut (#3147)Bryan Morgan
2025-06-29Fix clearcut-logger.ts to event name GEMINI_CLI_API_RESPONSE_TOOL_TOK… (#1875)uttamkanodia14
2025-06-29Added obfuscated google account ID to clearcut log messages (#2593)Bryan Morgan
2025-06-29Remove debug logs that are not actionable but numerous (#2030)anj-s
2025-06-25fix(telemetry): handle all promise rejections in ClearcutLogger (#1557)zhiyue
Co-authored-by: Scott Densmore <[email protected]>
2025-06-24 Add the link to the privacy policy to the Usage Statistics section and ↵anj-s
remove debug logs (#1393)
2025-06-23Fix Clearcut logging wire format (#1359)owenofbrien
Fix for Clearcut logging wire format based on validation thread with Clearcut / Concord eng
2025-06-24Fix duplicate startSession logs and duplicate logging events over the wire ↵anj-s
(#1357)
2025-06-23Ensure telemetry events are flushed immediately (#1344)Jerop Kipruto
The previous implementation used `flushIfNeeded` to batch most telemetry events, but it was not reliably sending them, leading to data loss. Notably, the `startSession` event, which already used `flushToClearcut`, was working correctly, indicating an issue with the batching logic itself. This change replaces all calls to `flushIfNeeded` with `flushToClearcut` to align all event logging with the working `startSession` implementation and ensure that events are sent immediately. This prioritizes the reliability of data collection over network efficiency. This is a temporary solution to prevent further data loss. The underlying issue with the batching mechanism in `flushIfNeeded` should be investigated and fixed in the future, at which point this change can be reverted.
2025-06-23refactor: rename `disableDataCollection` to `dataCollectionEnabled` (#1319)Jerop Kipruto
Renames the `disableDataCollection` flag to the more intuitive and positive `dataCollectionEnabled`. This change improves code clarity by avoiding double negatives and making the purpose of the flag more direct. The logic has been inverted wherever the flag is used to accommodate the new naming convention. Using a suffix like `"Enabled"` follows a common convention that improves readability. - A condition like `if (dataCollectionEnabled)` reads like a natural language sentence ("if data collection is enabled"), which reduces cognitive load. - Distinguishes the boolean flag (representing a state) from potential functions that would perform an action (e.g., `enableDataCollection()` or `disableDataCollection()`), avoiding ambiguity between checking a value and calling a function. #750
2025-06-23Fix batch flush to Clearcut (#1337)Jerop Kipruto
Co-authored-by: Scott Densmore <[email protected]>