Uh oh!
There was an error while loading. Please reload this page.
Add servlet 2.2 instrumentation - #376
Conversation
shashank11p
left a comment
There was a problem hiding this comment.
@kaushal02 there are some TODOs and FIXMEs pending
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| .and(isPublic()), | ||
| ServletOutputStreamInstrumentation.class.getName() + "$OutputStream_writeByteArrOffset"); | ||
| // close() is not instrumented due to some issue with Tomcat |
There was a problem hiding this comment.
Should we instrument this method in 2.0? We should check this method in servlet-2.0 code
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
shashank11p
commented
Mar 23, 2023
@kaushal02 we should add tests as well |
Uh oh!
There was an error while loading. Please reload this page.
| VirtualField.find(HttpServletRequest.class, StringMapSpanPair.class); | ||
| // capture response body | ||
| // TODO: capture response headers |
There was a problem hiding this comment.
Are we able to capture response headers?
There was a problem hiding this comment.
we are capturing content-type header but other response headers are not getting captured, at least in case of Boomi
Uh oh!
There was an error while loading. Please reload this page.
Description
Adding instrumentation for old servlet versions (2.2-3.0). This is used in boomi. The implementation is almost similar to servlet-3.0.
Testing
Tested with rest API in boomi which uses servlet-2.5 and able to instrument everything there except response headers.
Checklist:
Documentation
Make sure that you have documented corresponding changes in this repository or hypertrace docs repo if required.