Google ADK (tracing)
Google ADK (tracing)
Google Agent Development Kit (ADK) is a framework for building agents with tools and multi-agent workflows. Respan captures ADK runner, agent, LLM, and tool spans, then exports them through the Respan tracing pipeline.
This tracing setup uses your Google model credentials directly through ADK. To route model calls through Respan instead, use the Google ADK gateway setup.
Set up Respan
Create an account at platform.respan.ai and grab an API key.
Run npx @respan/cli setup to set up with your coding agent.
Use Respan Gateway
See Google ADK gateway setup to route model calls through the Respan gateway.
Example projects
Setup
Configuration
Attributes
In Respan()
Set defaults at initialization. These apply to all spans from the instrumented ADK run.
With propagate_attributes
Override per-request attributes using a context scope.
Captured spans
- ADK runner invocations as workflow spans
- Agent invocations as agent spans
- Model calls as chat spans with prompts, completions, tool definitions, and token fields
- Tool executions as tool spans with normalized input and output