opentelemetry-java-instrume.../instrumentation/tomcat
Mateusz Rzeszutek cfdbe758f2
Net attributes getters changes (in preparation for HTTP spec impl) (#6503)
* Net attributes getters changes: instrumentation-api-semconv changes

* Net attributes getters changes: getter implementations

* Net attributes getters changes: test fixes

* Remove net.sock.host.name

* code review comments

* default getter methods & getPeerSocketAddress() method name

* set authority in grpc earlier
2022-09-12 09:20:27 -07:00
..
tomcat-7.0/javaagent Update gradle to 7.5.1 (#6359) 2022-08-12 12:03:43 +02:00
tomcat-10.0/javaagent Enable PrivateConstructorForUtilityClass errorprone check (#6427) 2022-08-10 11:30:22 +03:00
tomcat-common/javaagent Net attributes getters changes (in preparation for HTTP spec impl) (#6503) 2022-09-12 09:20:27 -07:00
tomcat-jdbc Use metrics batch API in connection pool instrumentations (#6231) 2022-07-05 13:47:15 +02: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.