* Do not set `asyncPropagate` on scope since it will be closed anyway. * Close span once done with it in `TagSettingAsyncListener`. * No point in explicit finishing span in 'finishOnClose' scope. * Do not reattach listener in `TagSettingAsyncListener#onStartAsync`. Listener is attached each time by `Servlet3Advice#stopSpan` and reattaching listener in `TagSettingAsyncListener#onStartAsync` causes multiple listeners to be attached and race conditions to happen. * Do not close span in `AsyncContextInstrumentation`. This leads to span being written prematurely. This span will be closed in `TagSettingAsyncListener` anyway, along with adding proper status code. |
||
---|---|---|
.. | ||
src | ||
servlet-3.gradle |