From cc710e7a60d6940b8d9a92ead4c299c7c23dfee9 Mon Sep 17 00:00:00 2001 From: adk-bot Date: Fri, 8 May 2026 21:40:04 +0000 Subject: [PATCH] Update BigQuery Agent Analytics plugin event types --- docs/integrations/bigquery-agent-analytics.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/integrations/bigquery-agent-analytics.md b/docs/integrations/bigquery-agent-analytics.md index ebd807289a..627908f584 100644 --- a/docs/integrations/bigquery-agent-analytics.md +++ b/docs/integrations/bigquery-agent-analytics.md @@ -71,6 +71,7 @@ shows the BigQuery view optionally created when | `INVOCATION_COMPLETED` | An invocation ends | *(common columns only)* | `v_invocation_completed` | | `AGENT_STARTING` | Agent execution begins | instruction summary | `v_agent_starting` | | `AGENT_COMPLETED` | Agent execution ends | latency | `v_agent_completed` | +| `AGENT_RESPONSE` | Final response text emitted by the agent | response text, source event ID | `v_agent_response` | | `LLM_REQUEST` | A model request is sent | model, prompt, config, tools | `v_llm_request` | | `LLM_RESPONSE` | A model response is received | response, usage tokens, cache metadata, latency, TTFT | `v_llm_response` | | `LLM_ERROR` | A model call fails | error message, latency | `v_llm_error` | @@ -468,7 +469,7 @@ Every view includes these **common columns**: `timestamp`, `event_type`, `agent`, `session_id`, `invocation_id`, `user_id`, `trace_id`, `span_id`, `parent_span_id`, `status`, `error_message`, `is_truncated`. -The following table lists all 16 auto-created views and their event-specific +The following table lists all 17 auto-created views and their event-specific columns: | View Name | Event-Specific Columns | @@ -482,6 +483,7 @@ columns: | **`v_tool_error`** | `tool_name` (STRING), `tool_args` (JSON), `tool_origin` (STRING), `total_ms` (INT64) | | **`v_agent_starting`** | `agent_instruction` (STRING) | | **`v_agent_completed`** | `total_ms` (INT64) | +| **`v_agent_response`** | `response_text` (STRING), `source_event_id` (STRING) | | **`v_invocation_starting`** | *(common columns only)* | | **`v_invocation_completed`** | *(common columns only)* | | **`v_state_delta`** | `state_delta` (JSON) | @@ -697,6 +699,7 @@ updated by tools). | `INVOCATION_COMPLETED` | `{}` | | `AGENT_STARTING` | `"You are a helpful agent..."` | | `AGENT_COMPLETED` | `{}` | +| `AGENT_RESPONSE` | `{"response": "Final text output from the agent"}` | | `USER_MESSAGE_RECEIVED` | `{"text_summary": "Help me book a flight."}` | ### Human-in-the-Loop (HITL) Events {#hitl-events} @@ -1464,6 +1467,7 @@ For Gunicorn deployments specifically: The fork-safety mechanism resets runtime state only. It does **not** replay events that were queued but not yet flushed in the parent process at the + time of fork. Call `await plugin.flush()` before forking if you need to guarantee delivery.