Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions docs/integrations/cloud-trace.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def get_weather(city: str) -> dict:
# Create an agent with tools
root_agent = Agent(
name="weather_agent",
model="gemini-2.5-flash",
model="gemini-1.5-flash",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert: do not use old version

description="Agent to answer questions using weather tools.",
instruction="You must use the available tools to find an answer.",
tools=[get_weather],
Expand Down Expand Up @@ -266,6 +266,15 @@ If you click on one of the traces, you will see the waterfall view of the detail

![cloud-trace](../assets/cloud-trace3.png)

### Captured Attributes

ADK automatically enriches traces with the following attributes to help you filter and analyze your agent's behavior:
- `gen_ai.agent.name`: The name of the agent being executed.
- `user.id`: The ID of the user interacting with the agent.
- `gcp.vertex.agent.invocation_id`: The unique ID of the invocation.
- `gcp.vertex.agent.event_id`: The ID of the specific event.
- `gen_ai.conversation.id`: The session ID.

## Resources

- [Google Cloud Trace Documentation](https://cloud.google.com/trace)
- [Google Cloud Trace Documentation](https://cloud.google.com/trace)
Loading