diff options
| author | agarwalravikant <[email protected]> | 2025-08-08 10:08:07 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-08 04:38:07 +0000 |
| commit | 5ab184fcaf40d4e7dec9ba6a0526cac39b602ee2 (patch) | |
| tree | 9534a46370f1197d4c582c652bbc91e201c0d638 /docs | |
| parent | 86eaa03f8a0c52bbcab2cb8b6554918e30918f66 (diff) | |
Fix for git issue 5657 to add lines of code added/removed telemetry (#5823)
Co-authored-by: Ravikant Agarwal <[email protected]>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/telemetry.md | 7 |
1 files changed, 6 insertions, 1 deletions
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. |
