From 5ab184fcaf40d4e7dec9ba6a0526cac39b602ee2 Mon Sep 17 00:00:00 2001 From: agarwalravikant Date: Fri, 8 Aug 2025 10:08:07 +0530 Subject: Fix for git issue 5657 to add lines of code added/removed telemetry (#5823) Co-authored-by: Ravikant Agarwal --- docs/telemetry.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/telemetry.md b/docs/telemetry.md index 16bff27b..68c3aed2 100644 --- a/docs/telemetry.md +++ b/docs/telemetry.md @@ -183,9 +183,10 @@ Logs are timestamped records of specific events. The following events are logged - `function_args` - `duration_ms` - `success` (boolean) - - `decision` (string: "accept", "reject", or "modify", if applicable) + - `decision` (string: "accept", "reject", "auto_accept", or "modify", if applicable) - `error` (if applicable) - `error_type` (if applicable) + - `metadata` (if applicable, dictionary of string -> any) - `gemini_cli.api_request`: This event occurs when making a request to Gemini API. - **Attributes**: @@ -262,3 +263,7 @@ Metrics are numerical measurements of behavior over time. The following metrics - `lines` (Int, if applicable): Number of lines in the file. - `mimetype` (string, if applicable): Mimetype of the file. - `extension` (string, if applicable): File extension of the file. + - `ai_added_lines` (Int, if applicable): Number of lines added/changed by AI. + - `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. -- cgit v1.2.3