* 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. |
||
---|---|---|
.circleci | ||
buildSrc | ||
dd-java-agent | ||
dd-java-agent-ittests | ||
dd-trace-api | ||
dd-trace-ot | ||
gradle | ||
.editorconfig | ||
.gitignore | ||
CONTRIBUTING.md | ||
LICENSE | ||
LICENSE-3rdparty.csv | ||
NOTICE | ||
README.md | ||
dd-trace-java.gradle | ||
gradlew | ||
gradlew.bat | ||
settings.gradle |
README.md
Datadog Java APM
To use and configure Datadog Java APM, see https://docs.datadoghq.com/tracing/languages/java