opentelemetry-java-instrume.../instrumentation/tomcat
Lauri Tulmin 8d513f9099
Make tests provide expected exception instance instead of class (#5540)
* Make tests provide expected exception instance instead of class

* exception is optional
2022-03-11 14:24:03 +02:00
..
tomcat-7.0/javaagent Make tests provide expected exception instance instead of class (#5540) 2022-03-11 14:24:03 +02:00
tomcat-10.0/javaagent Make tests provide expected exception instance instead of class (#5540) 2022-03-11 14:24:03 +02:00
tomcat-common/javaagent Remove server span peer name (#5404) 2022-02-27 11:06:20 -08: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.