opentelemetry-java-instrume.../instrumentation/tomcat
Ago Allikmaa fd132d463d
Change Async Servlet span end logic to fix race condition on Undertow (#2992)
* Attach servlet async listener with asyncStart instrumentation

* Exclude Spring packages containing servlet request classes from global ignores

* Exclude Tapestry HSR proxy with global ignore

* Improve comments.

* Fix for Liberty - request response when adding async listener

* Removed unused methods

* Explicit response to async listeners on all servlet engines

* Attach response to request on Jetty

* Fix broken build due to rebase, improved a comment

* Address PR comments

* Added a comment.

* Addressed PR comments
2021-05-25 20:46:37 -07:00
..
tomcat-7.0/javaagent Change Async Servlet span end logic to fix race condition on Undertow (#2992) 2021-05-25 20:46:37 -07:00
tomcat-10.0/javaagent Change Async Servlet span end logic to fix race condition on Undertow (#2992) 2021-05-25 20:46:37 -07:00
tomcat-common/javaagent Change Async Servlet span end logic to fix race condition on Undertow (#2992) 2021-05-25 20:46:37 -07:00
README.md

README.md

Instrumentation for Tomcat request handlers

Tomcat support is divided into the following sub-modules:

  • tomcat-common:javaagent contains common type instrumentation, advice helper classes and abstract tracer used by the javaagent modules of all supported Tomcat versions
  • tomcat-7.0:javaagent applies Tomcat request handler instrumentation for versions [7, 10)
  • tomcat-10.0:javaagent applies Tomcat request handler instrumentation for versions [10,)

Instrumentations in tomcat-7.0 and tomcat-10.0 are mutually exclusive, this is guaranteed by tomcat-10.0 instrumentation checking that its Request class uses jakarta.servlet classes, and the tomcat-7.0 module doing the opposite check.