Skip to content

Update ADK doc according to issue #1256 - 5 - Cloud Trace Captured Attributes#1264

Open
adk-bot wants to merge 1 commit intomainfrom
agent-changes-20260206-191103
Open

Update ADK doc according to issue #1256 - 5 - Cloud Trace Captured Attributes#1264
adk-bot wants to merge 1 commit intomainfrom
agent-changes-20260206-191103

Conversation

@adk-bot
Copy link
Collaborator

@adk-bot adk-bot commented Feb 6, 2026

5. Summary of the change

Doc file: docs/integrations/cloud-trace.md

Current state:

If you click on one of the traces, you will see the waterfall view of the detailed process, similar to what we see in the web development UI with adk web command.

cloud-trace

Resources

Proposed Change:

If you click on one of the traces, you will see the waterfall view of the detailed process, similar to what we see in the web development UI with adk web command.

cloud-trace

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

Reasoning:
New telemetry attributes (gen_ai.agent.name, user.id, etc.) have been added to tracing spans. Documenting them helps users understand what data is available for filtering and debugging.

Reference: src/google/adk/telemetry/tracing.py

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

@joefernandez joefernandez changed the title Update ADK doc according to issue #1256 - 5 Update ADK doc according to issue #1256 - 5 - Cloud Trace Captured Attributes Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants