QuestionQ46

VerifiedEvaluating and deploying agentic workflows

You manage an agent built with Agent Development Kit (ADK) that has six tools. You discover that the agent’s 95th percentile response time has doubled over the last 7 days. Dashboards show the increased time but not its source. One of the six tools calls an internal pricing service maintained by another team in your organization. The service reports its own internal timings to the same observability backend, preserving the caller’s request context.

You need to identify the step responsible for the added time, including any work performed inside the pricing service.

What should you do?

Explanation

A Cloud Trace span waterfall shows the timing and hierarchy of operations across a distributed request. Because the pricing service preserves the caller’s request context, its reported spans can be linked to the agent’s trace, making it possible to inspect work inside the service as well as the tool call. Tool-duration metrics alone do not provide that internal breakdown. (docs.cloud.google.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!