From 71f706cf29cf70a888ee65117b21ad31042207f8 Mon Sep 17 00:00:00 2001 From: Richie Foreman Date: Mon, 18 Aug 2025 15:59:13 -0400 Subject: feat(client/compression): Log telemetry when compressing chat context. (#6195) --- docs/telemetry.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/telemetry.md b/docs/telemetry.md index 6767e349..ed094ce6 100644 --- a/docs/telemetry.md +++ b/docs/telemetry.md @@ -271,3 +271,8 @@ Metrics are numerical measurements of behavior over time. The following metrics - `ai_removed_lines` (Int, if applicable): Number of lines removed/changed by AI. - `user_added_lines` (Int, if applicable): Number of lines added/changed by user in AI proposed changes. - `user_removed_lines` (Int, if applicable): Number of lines removed/changed by user in AI proposed changes. + +- `gemini_cli.chat_compression` (Counter, Int): Counts chat compression operations + - **Attributes**: + - `tokens_before`: (Int): Number of tokens in context prior to compression + - `tokens_after`: (Int): Number of tokens in context after compression -- cgit v1.2.3