mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
feat(telemetry): add diff stats to tool call metrics (#10819)
This commit is contained in:
@@ -70,6 +70,11 @@ const COUNTER_DEFINITIONS = {
|
||||
success: boolean;
|
||||
decision?: 'accept' | 'reject' | 'modify' | 'auto_accept';
|
||||
tool_type?: 'native' | 'mcp';
|
||||
// Optional diff statistics for file-modifying tools
|
||||
model_added_lines?: number;
|
||||
model_removed_lines?: number;
|
||||
user_added_lines?: number;
|
||||
user_removed_lines?: number;
|
||||
},
|
||||
},
|
||||
[API_REQUEST_COUNT]: {
|
||||
|
||||
Reference in New Issue
Block a user