Also verified: google-adk 2.10.0 with instrumentor 1.0.0. The extra no longer installs that older instrumentor. See supported frameworks for how verification works.
In code
Calltracing.init(), attach the framework instrumentor to the provider it returns, and wrap the work in tracing.turn() and tracing.agent().
This sample calls the model through ADK’s LiteLLM wrapper, so any OpenAI-compatible endpoint works.
custom_llm_provider="openai" keeps the plain model name on the LLM span.1
Install
terminal
2
Add the code
app.py
3
Run
terminal
BOTGAUGE_API_KEY, OPENAI_MODEL, OPENAI_BASE_URL, OPENAI_API_KEY.Zero-code
Leave your app unchanged and start it withbotgauge instrument. The sample still wraps the work in tracing.turn() and tracing.agent() so spans carry session and agent ids.
This sample calls the model through ADK’s LiteLLM wrapper, so any OpenAI-compatible endpoint works.
custom_llm_provider="openai" keeps the plain model name on the LLM span.1
Install
terminal
2
Add the code
app.py
3
Run
terminal
BOTGAUGE_API_KEY, OPENAI_MODEL, OPENAI_BASE_URL, OPENAI_API_KEY.View Google ADK spans live
Watch your Google ADK agent runs through LiteLLM appear in BotGauge.
.png?fit=max&auto=format&n=rExdh2xAS2_ywWU5&q=85&s=2336659947d2543be68f95bf2d539b85)