opentelemetry-java-instrume.../instrumentation/tomcat
Mateusz Rzeszutek a65e9633ba
Refactor `ServerSpanNaming` (in preparation for `http.route`) (#4852)
* Refactor ServerSpanNaming (in preparation for http.route)

* fix tests

* Add ServerSpanNaming to all HTTP server instrumentations

* fix tests
2021-12-14 10:11:20 +01:00
..
tomcat-7.0/javaagent Move `AppServerBridge` and `MappingResolver` to `servlet-common:bootstrap` (#4817) 2021-12-07 10:20:33 +01:00
tomcat-10.0/javaagent Move `AppServerBridge` and `MappingResolver` to `servlet-common:bootstrap` (#4817) 2021-12-07 10:20:33 +01:00
tomcat-common/javaagent Refactor `ServerSpanNaming` (in preparation for `http.route`) (#4852) 2021-12-14 10:11:20 +01:00
README.md Request handlers and test images for Tomcat 10 and Jetty 11 (Servlet API 5) (#2703) 2021-04-05 09:45:02 -07:00

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.