* ServletContextPath.prepend doesn't work when server span is created from app server integration
* move ServletContextPath context creation to servlet-common, make servlet2&3 depend on servlet-common so that it would be used in tests that depend on servlet3
* fix failing test
* add servlet-common dependency to modules that depend on servlet3
* add servlet-common dependency to mojarra and myfaces
* run context path instrumentation after servlet instrumentation
* add servlet-common dependency to wicket
* move servlet context path handling
* enable jetty instrumentation for all handlers
* run springmvc tests with tomcat integration, fix peer port and peer ip reporting on tomcat
* jetty integration is now enabled for all handlers
* update expected span name
* Revert "jetty integration is now enabled for all handlers"
This reverts commit 82cbb663f5.
* Revert "update expected span name"
This reverts commit c034496fc5.
* Revert "enable jetty instrumentation for all handlers"
This reverts commit 8a3d077600.
* Trigger Build
* Refactor InMemoryExporter and move some of its methods to spock base class & junit extension
* codenarc
* spotless
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* fix armeria library tests
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* testing-common refactoring: replace direct AgentTestRunner usage with spock spec
* Updated instrumentation docs
* Fix reactor-core library tests
ReactorCoreTest was getting a tracer from GlobalOpenTelemetry before LibraryTestTrait had a change to initialize the SDK
* Add component installer SPI
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Move more code to agent installer
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Remove outdated doc
* Remove unnecessary dependencies
* Formatting
* Rename TRACER to tracer
* Move WrappedFuture to top-level class
* Add missing shadow config
* Use simpler type
* Use simpler base class
* Move java files to java source folder
* Move groovy files to groovy source folder
* Too much
* Move another one back
* Codenarc
* Move test resource to where test is
* Spotless
* Struts PoC
* Instrument ActionInvocation to get correct timings. Refactor to use latest o11y SDK and API.
* Fix license header.
* Revert accidental Gradle configuration change.
* First passing test for struts instrumentation.
* Cleanup
* Convert Struts test to HttpServerTest.
* Fix Spotless formatting issues.
* Manage scope properly in Struts advice. Use existing handlerSpan method to assert struts handler span detection. Make Struts controller behave similarly with other HttpServerTest implementations.
* Rename method.
* Update server span name when path params are used.
* Struts PoC
* Instrument ActionInvocation to get correct timings. Refactor to use latest o11y SDK and API.
* Fix license header.
* Revert accidental Gradle configuration change.
* First passing test for struts instrumentation.
* Cleanup
* Convert Struts test to HttpServerTest.
* Fix Spotless formatting issues.
* Manage scope properly in Struts advice. Use existing handlerSpan method to assert struts handler span detection. Make Struts controller behave similarly with other HttpServerTest implementations.
* Rename method.
* Update server span name when path params are used.
* Account for GStrings in asserted values.
* Use Groovy friendly Assert.
* Giving up on getting to work user-friendly assertion messages. Moving controller to a package, as ognl inside struts can't handle classes with no packagaes.
* Make codeNarc happy.
* Make spotless happy.
* Rename struts-2 to struts-2.3. Move autoinstrumentation to javaagent sub-folder to accommodate for library.
* Use tracer() instead of TRACER and other minor tweaks.
* Nicer way for asserting values returned from a method call.
* Fix formatting.