* Instrumenter
* Spotless
* More instrumenter
* More
* Instrumenter API
* New Instrumenter API - InstrumenterBuilder (#20)
* New Instrumenter API - InstrumenterBuilder
* New Instrumenter API - InstrumenterBuilder - code review comments
* Start doccing
* Docs
* Most tests
* Last test
* Stick with current hostName lookup for now
* Update testing-common/src/main/groovy/io/opentelemetry/instrumentation/test/base/HttpClientTest.groovy
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* New Instrumenter API - code review comments (#21)
* Doc
* Checkstyle
* Cleanups
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Fix webflux client filter subscribe
* Add test
* Fix test
* Fix test, take 2
* Fix another test
* Suppress test for another module
* Suppress another library instrumentation
* Another
* Add nested client suppression in Armeria
* Add comments
* Revert extra line
* Enable strict context check and fix some context issues.
* Drift
* Drift and cache
* Exclude grizzly include akka
* Grizzly, scala
* ForkJoin worker
* webflux comment, grizzly typo
* Give up on akka for now
* threadpool
* Fallback on grizzly, wait for completion in executor cancellation tests
* Hystrix
* ratpack
* Cleanups
* Remove tracer name configuration from spring-boot-autoconfigure
* Use OpenTelemetry wherever it makes sense
* Refactor @WithSpan advice since it made no sense before
* Rename @EnableOpenTelemetryTracing to @EnableOpenTelemetry (it won't be just tracing in the future)
* And add a getOpenTelemetry() method to InstrumentationExtension & InstrumentationSpecification
* Update instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/aspects/WithSpanAspectTracer.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Code review comments
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* 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.
* Add application root to span name
* Reduce duplicate context lookups
* Use servlet path as route
* Test against jetty instrumentation
* Add JAX-RS context path test
* Fix JAX-RS 1.0 span names
* Refactor all tests that use Config so that they don't fail locally
* Use ConfigUtils in tests for all config-related things
* Fix spotless and codenarc
* Fix spotless
* PR comments: remove unnecessary config
* Update to latest otel-java snapshot
* Upgrade to working otel-java snapshot
* Update to latest otel-java snapshot
* Update to latest otel-java snapshot
* Add missing RESTEasy (and Jersey) unit tests
* Standard HTTP server test (extending HttpServerTest)
* AsyncResponse tests
* Error handling in JAX-RS HTTP client
* HTTP client JDK proxies (this one is RESTEasy only)
* Run tests with JUnit platform
* Matcher
* Restore
* Don't mix JUnit4 with JUunit5 in spring tests
* Separate out tests that need custom class loader.
* Separate out test for a couple classes that need it, try to remove SpockRunner, but Grizzly?
* Remove SpockRunner
* Fix grizzly
* Remove assumeTrue workaround.
* Comments
* Generate bootstrap jar with gradle instead of when running tests.
* kill all semicolons
* docs
* docs
* ByteCodeTest
* Use latestDepTest classpath for its bootstrap jar
* Rename package
* Reformat comment
* Bootstrap jar absolute path
* Save bootstrap jar to reports dir.
* Debug
* Debug
* Use project.getBuildDir
* Restore
* Revert
* testFieldInjection is instrumentation test too.
* Split out bytecode tests for testing-common
* Apply jacoco configuration to all tests.
* Add note that jacoco may be causing frustration.
* YOLO alert - Hope my guess at the reason is correct
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Add instrumentation for Armeria (server)
* Spotless
* Use end timestamp too and fix auto test by not using ClassRule
* Reduce number of less useful lambdas and add reference to useful lambda.
* Cleanup
* README
* Move package to v1_0
* No storage
* Change name on SERVER spans
* Change name on SERVER spans
* Fixes
* Fixes
* Update instrumentation/spring-webmvc-3.1/src/main/java/io/opentelemetry/auto/instrumentation/springwebmvc/DispatcherServletInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>