Skip to content

[Bug - Agent Analytics] Time to First Token vs Total Time #4199

@putrasyafiq

Description

@putrasyafiq

Describe the bug
I've noticed that in the BigQuery Agent Analytics Plugin, the time to first token vs the total time taken under the latency metrics is always exactly the same. This causes some discrepancies when implementing observability.

To Reproduce

  1. Install the BigQuery Agent Analytics Plugin.
  2. Run an LLM prompt.

Expected behavior
Expected the time to first token (ms) to be lesser than total time taken.

Screenshots
Image

Environment

  • OS: Linux
  • Python version(python -V): 3.13.7
  • ADK version(pip show google-adk): 1.22.1

Metadata

Metadata

Assignees

Labels

answered[Status] This issue has been answered by the maintainerbq[Component] This issue is related to Big Query integration

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions