opentelemetry-java-instrumentation icon indicating copy to clipboard operation
opentelemetry-java-instrumentation copied to clipboard

Use context instead of request attributes for servlet async instrumentation

Open laurit opened this issue 8 months ago • 2 comments

Hopefully resolves https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/13455 Keep async request handling state in context instead of using request attributes to avoid user application getting confused by these attributes.

laurit avatar Mar 11 '25 13:03 laurit

@123liuziming could you verify whether this helps in your case

laurit avatar Mar 18 '25 13:03 laurit

@123liuziming could you verify whether this helps in your case

It works, thanks!

123liuziming avatar Mar 19 '25 01:03 123liuziming