* 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
* Directly port the java-runtime-metrics module over from otel-java.
* java 8 cleanups
* Make consistent with oshi module
* Bump mockito and assertj versions
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Report only known collection names in MongoClientTracer (#1625)
* Use allow-list of commands that are known to use collection name as the value of the command
* Special-case getMore command, which uses a different field for the collection name
* Add create, drop, and createIndexes to list of commands with collection name as their values
* Improve command scrubber in MongoClientTracer (#1587)
* Don't scrub the command field value at all if it's a string
* Use JsonWriter to improve efficiency of the scrubber
* If available, user JsonWriter.Builder.maxLength to limit size of the query string
* revert support for b3_single and b3 (multi) propagator
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* add b3multi, default for b3 is single
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* 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.
It leads to a lot of warnings on any developer machine without AWS credentials configured. And CI, where AWS credentials actually matter, uses explicit env variables anyway.
* Update to Gradle 6.7 and use new toolchains feature for testing on Java versions.
* Update docs
* Add back sum
* Use GitHub test JDK for toolchain.
* Use maxJavaVersionForTests for default test version when set.
* Fix RMI
* Fix configs
* Go back to rule
* Extract variable for default Java version.
* Prepare a single test bootstrap jar at top level.
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Add comment
* Use buildDir instead of build
* Testing SDK also in bootstrap
* Remove sdk from testing bootstrap loader
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>