opentelemetry-java-instrume.../instrumentation/jaxrs
Ago Allikmaa e466dc439a
Add HttpServerResponseCustomizer support for Servlet and Jetty (#8095)
Add `HttpServerResponseCustomizer` support for Servlet 2.2/3.0/5.0 and
Jetty 8/11 instrumentations. Enabled testing for it in JaxRs tests as
well since those should now all be covered due to servlet
instrumentations. Fixed Jetty 11 test source set directory name.

Known limitation - response headers do not work on Jetty 8 for internal
exception pages caused by throwing an exception that is handled outside
of instrumentation scope, working around this would require an
additional instrumentation and/or keeping an expired `Context` instance
referenced by the response object. This does not appear to be an issue
on Jetty 11. Additionally, calling `ServletResponse#reset` can wipe
headers as well, for which there is no workaround (yet?) in this PR.
2023-03-23 12:01:07 +01:00
..
jaxrs-1.0/javaagent Update HTTP span name extractors (#7730) 2023-02-14 07:40:05 -08:00
jaxrs-2.0 Upgrade to gradle 8.0.2 (#7978) 2023-03-07 10:29:26 +02:00
jaxrs-3.0 Fix jaxrs annotation instrumentation on openliberty (#7890) 2023-02-24 13:00:11 +02:00
jaxrs-common Add HttpServerResponseCustomizer support for Servlet and Jetty (#8095) 2023-03-23 12:01:07 +01:00
README.md More spotless (#7126) 2022-11-11 05:01:21 +00:00

README.md

Settings for the Jaxrs instrumentation

System property Type Default Description
otel.instrumentation.jaxrs.experimental-span-attributes Boolean false Enable the capture of experimental span attributes.