Skip to content

Set CAPTURE_MESSAGE_CONTENT_IN_SPANS default to false#1144

Open
r4inee wants to merge 1 commit intogoogle:mainfrom
r4inee:feature/default-message-content-in-tracing-to-false
Open

Set CAPTURE_MESSAGE_CONTENT_IN_SPANS default to false#1144
r4inee wants to merge 1 commit intogoogle:mainfrom
r4inee:feature/default-message-content-in-tracing-to-false

Conversation

@r4inee
Copy link
Copy Markdown
Contributor

@r4inee r4inee commented Apr 15, 2026

Link to Issue or Description of Change

Problem:
LLM request/response content and tool arguments/responses will no longer be captured in OpenTelemetry spans unless explicitly opted in.

ADK should provide a privacy-first default to avoid UGC being accidently extracted, aligning with OTEL conventions.

Solution:
Tracing.java — The default value of the ADK_CAPTURE_MESSAGE_CONTENT_IN_SPANS environment variable should default from true → false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Telemetry: Default message content capture to false

1 participant