Skip to content

Conversation

@laurit
Copy link
Contributor

@laurit laurit commented Nov 28, 2025

No description provided.

@laurit laurit requested a review from a team as a code owner November 28, 2025 12:53
private static final boolean ADD_TRACE_ID_REQUEST_ATTRIBUTE =
AgentInstrumentationConfig.get()
.getBoolean(
"otel.instrumentation.servlet.experimental.add-trace-id-request-attribute", true);
Copy link
Member

Choose a reason for hiding this comment

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

do you think config is needed (given that we've had this enabled in a lot of cases for a long time)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was thinking that maybe we want to disable it by default in the next major release. Could also remove the config option if you think it is better that way.

Copy link
Member

Choose a reason for hiding this comment

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

that makes sense, I like the idea of disabling by default in next major release

@laurit laurit merged commit 0005119 into open-telemetry:main Dec 3, 2025
85 checks passed
@laurit laurit deleted the servlet-trace-id-request-attribute branch December 3, 2025 06:10
123liuziming pushed a commit to 123liuziming/opentelemetry-java-instrumentation that referenced this pull request Dec 3, 2025
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.

3 participants