From 93284281de4a1593de802f3823707b9c1a43171e Mon Sep 17 00:00:00 2001 From: uttamkanodia14 Date: Fri, 11 Jul 2025 22:17:46 +0530 Subject: Logs the auth type in the user prompts, api responses and errors (#3795) --- docs/telemetry.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/telemetry.md b/docs/telemetry.md index 9153e4d7..b308217f 100644 --- a/docs/telemetry.md +++ b/docs/telemetry.md @@ -154,6 +154,7 @@ Logs are timestamped records of specific events. The following events are logged - **Attributes**: - `prompt_length` - `prompt` (this attribute is excluded if `log_prompts_enabled` is configured to be `false`) + - `auth_type` - `gemini_cli.tool_call`: This event occurs for each function call. - **Attributes**: @@ -177,6 +178,7 @@ Logs are timestamped records of specific events. The following events are logged - `error_type` - `status_code` - `duration_ms` + - `auth_type` - `gemini_cli.api_response`: This event occurs upon receiving a response from Gemini API. - **Attributes**: @@ -190,6 +192,7 @@ Logs are timestamped records of specific events. The following events are logged - `thoughts_token_count` - `tool_token_count` - `response_text` (if applicable) + - `auth_type` ### Metrics -- cgit v1.2.3