Mateusz Rzeszutek
ce047325b2
Put RocketMQ's consumer span in current context ( #3537 )
...
* Put RocketMQ's consumer span in current context
* codenarc
* code review comments
2021-07-12 11:07:30 +09:00
HaloFour
3e8d3e88bf
Update OpenTelemetry to version 1.4.0 ( #3541 )
...
* Update to OpenTelemetry 1.4.0
* Fix breaking changes with opentelemetry-api-metrics
2021-07-10 15:53:02 +09:00
Anuraag Agrawal
f601863d12
Merge Java TraceUtils into extension and switch to Instrumenter API. ( #3532 )
...
* Merge Java TraceUtils into extension and switch to Instrumenter API.
* Woah
2021-07-10 13:21:12 +09:00
Anuraag Agrawal
9be9e40556
Use async requests for high concurrency test. ( #3534 )
2021-07-10 13:20:53 +09:00
Mateusz Rzeszutek
7969bdf18e
Add a small test utility that mimics Spock's 'cleanup:' block ( #3533 )
...
* Add a small test utility that mimics Spock's 'cleanup:' block
* Update testing-common/src/main/java/io/opentelemetry/instrumentation/testing/junit/AutoCleanupExtension.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Move to internal
* fix broken import
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-07-09 18:35:43 +03:00
Anuraag Agrawal
9ed19062c3
Parse disableErrorProne as boolean ( #3530 )
2021-07-09 17:14:13 +09:00
Mateusz Rzeszutek
9b56fc9051
Clean up AgentElementMatchers ( #3527 )
...
* Clean up AgentElementMatchers
* remove a TODO
* moved method
2021-07-09 10:02:21 +03:00
Anuraag Agrawal
d8fbecb26f
Migrate RMI test to Java. ( #3525 )
...
* RMI Java
* Migrate RMI test to Java.
* Small clean
2021-07-09 15:02:51 +09:00
Anuraag Agrawal
c05dcf38b1
Allow RMI test to run on Java 16 ( #3524 )
...
* Allow RMI test to run on Java 16
* testJavaVersion
2021-07-09 11:26:00 +09:00
Trask Stalnaker
da75a7a6c6
Style guide section for Nullable annotation usage ( #3499 )
...
* Style guide section for Nullable annotation usage
* Set default to non-null
* More doc
* Review feedback
2021-07-08 08:54:26 -07:00
Trask Stalnaker
093ff6ac43
Checkstyle for logger ( #3520 )
...
* Add checkstyle validation for logger name
* Missed one
2021-07-08 09:54:38 +03:00
Lauri Tulmin
b9bea71627
Remove repo.gradle.org dependency ( #3522 )
2021-07-07 16:42:50 -07:00
Trask Stalnaker
9e4da754c2
Use consistent logger field name ( #3515 )
2021-07-07 10:47:46 -07:00
Trask Stalnaker
b304cc2912
Deprecate CallDepth.reset() and get() ( #3511 )
...
* Deprecate CallDepth.reset() and get()
* Don't pass CallDepth around
2021-07-07 09:24:50 -07:00
Trask Stalnaker
238427ba6a
Use new CallDepth pattern for hibernate spans ( #3510 )
2021-07-07 14:55:59 +09:00
Trask Stalnaker
dddb39b1e2
Make coreJdk property internal ( #3512 )
2021-07-07 08:23:15 +03:00
Trask Stalnaker
19a7970f08
Sync .editorconfig with SDK repo ( #3509 )
2021-07-06 18:51:26 -07:00
Trask Stalnaker
be8a00de1d
Add temporary warning about memory leak to readme ( #3501 )
2021-07-06 13:50:16 -07:00
Mateusz Rzeszutek
c5ba5c3a71
Use local variable for passing CallDepth between advice enter/exit me… ( #3504 )
...
* Use local variable for passing CallDepth between advice enter/exit methods
* fix broken call depth tracking
* checkstyle
* fix javadocs
2021-07-06 12:05:14 -07:00
Alexey Zhokhov
9979bef877
JDBC instrumentation: switch to use api instead of implementation for instrumentation-api. ( #3494 )
...
* Switch to use api instead of implementation for instrumentation-api.
* Removed duplicated dependency.
2021-07-06 09:20:41 -07:00
Mateusz Rzeszutek
f78d414975
Publish armeria-shaded-for-testing without -all classifier ( #3475 )
...
* Publish armeria-shaded-for-testing without -all classifier
* Update testing-common/build.gradle.kts
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* compileOnly
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-07-06 12:15:06 +02:00
Mateusz Rzeszutek
b9fcb6b498
Reduce CallDepth classes' API surface ( #3497 )
2021-07-06 09:24:19 +02:00
Trask Stalnaker
0299428017
Fix maven packaging for instrumentation-api-caching ( #3471 )
...
* Fix maven packaging for instrumentation-api-caching
* Use new shadow pattern
2021-07-05 23:14:48 -07:00
Nikita Salnikov-Tarnovski
94cf1ef914
Remove usages of agent runtime specific code from reusable classes ( #3492 )
...
* Remove usages of agent runtime specific code from reusable classes
* Oops :)
* spotless
* Maybe a bit more clarity
* Doc over requireNonNull
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-07-06 07:46:40 +03:00
Nikita Salnikov-Tarnovski
901bae57b4
Make HelperInjector's dependency on Instrumentation instance more visible ( #3491 )
...
* Make HelperInjector's dependency on Instrumentation instance more visible
* Polish
* Polish
* Fix docs
2021-07-06 07:44:26 +03:00
Anuraag Agrawal
3fc5d71771
Don't publish testing -all jar. ( #3493 )
2021-07-05 14:12:04 -07:00
Trask Stalnaker
f5d6b39b72
Update Apache HttpAsyncClient to Instrumenter API ( #3490 )
2021-07-05 14:08:38 -07:00
Trask Stalnaker
b030b1ca10
Simpler Apache HttpClient request wrapper ( #3489 )
2021-07-05 12:53:32 -07:00
Trask Stalnaker
f28ccf5c11
Sync GHA matrix property names with sdk repo ( #3487 )
2021-07-05 10:50:29 -07:00
Mateusz Rzeszutek
56ba64adf8
Convert Pair class to AutoValue ( #3496 )
2021-07-05 10:23:26 -07:00
HaloFour
4500dd984b
Port AsyncSpanEndStrategy implementations to AsyncOperationEndStrategy ( #3454 )
...
* Port RxJava 2 async strategy to new interface
* Port RxJava 3 async strategy to new interface
* Port Guava async strategy to new interface
* Port Reactor async strategy to new interface
* Kick CI
2021-07-05 10:45:49 +02:00
Trask Stalnaker
0d27368866
Run smoke tests with Java 16 ( #3457 )
...
* Run smoke tests with Java 16
* Add Wildfly + JDK 16 test
* Bump extra tag
2021-07-05 11:39:47 +03:00
Anuraag Agrawal
8eb24f9886
Split up build logic to plugins that can eventually be published and … ( #3474 )
...
* Split up build logic to plugins that can eventually be published and this-repo-specific stuff.
* Muzzle
* compileOnly
* Typo
2021-07-05 16:18:45 +09:00
Trask Stalnaker
ac54f9d446
Sync windows and linux wildfly smoke test images ( #3486 )
2021-07-04 09:24:55 -07:00
Mateusz Rzeszutek
02ef588f68
Remove dependency on javaagent-bootstrap from javaagent-extension-api ( #3477 )
2021-07-03 11:18:53 -07:00
Trask Stalnaker
614d5dc905
Revert tomcat smoke test image changes ( #3483 )
2021-07-03 08:49:59 -07:00
Trask Stalnaker
642f213c12
Remove hardcoded version ( #3470 )
...
* Remove hardcoded version
* Codenarc
2021-07-01 23:00:15 -07:00
Trask Stalnaker
103fba247b
Fix Tomcat windows smoke test images ( #3469 )
2021-07-01 19:19:59 -07:00
Alexey Zhokhov
ed02aff7b5
OpenTelemetry JDBC instrumentation library ( #3367 )
...
* Added jdbc library with ported version of OpenTracing JDBC Instrumentation.
* Gradle 7.1.
* Revert "Gradle 7.1."
This reverts commit e3df35b0
* Code style fixes.
* Code style fixes.
* Moved some JDBC utilities classes to the library module.
* javax.annotation.Nullable -> org.checkerframework.checker.nullness.qual.Nullable
* Build fix.
* Spotless fixes.
* Cache prepared statements.
* Cache connection info.
* Tracing for JDBC statement and prepared statement.
* Added some API dependencies.
* Fixed ending the span.
* Removed proxy usage.
* Cleanup.
* Implemented datasource with tracing support.
* Renamed Tracing prefix with OpenTelemetry.
* Renamed Tracing prefix with OpenTelemetry.
* Moved utilities classes to io.opentelemetry.instrumentation.jdbc.internal subpackage.
* Build fix.
* Build fix.
* Cleanup.
* Moved some shared classes to instrumentation-api module.
* Code review fixes.
* Make OpenTelemetryDriver final.
* Spotless fixes.
* Moved test classes from javaagent-unit-tests module to library module.
* Removed javaagent-unit-tests module.
* Covered OpenTelemetryDriver with tests.
* Cleanup.
* Covered OpenTelemetryDataSource with tests.
* Covered OpenTelemetryConnection with tests.
* Revert TestPreparedStatement.
* Added README.
* Build fix.
* Checkstyle fixes.
* Spotless fixes.
* Rename to build.gradle
* Fix build.gradle format.
* INSTANCE package scope.
* Documented OpenTelemetryDataSource usage.
* Renamed CheckedCallable to ThrowingSupplier.
* Update instrumentation/jdbc/library/README.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/OpenTelemetryDriver.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/OpenTelemetryDriver.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/OpenTelemetryDriver.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jdbc/library/README.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jdbc/library/README.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jdbc/library/README.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Removed javaagent-api module usage.
* Removed useless checking.
* Moved javaagent test classes to testing module.
* Move common JDBC test classes to testing module.
* Spotless fixes.
* Code format.
* Moved PeerServiceAttributesExtractor back to javaagent-api module.
* Rename JavaAgentJdbcSingletons to JdbcSingletons.
* Fixed JdbcSingletons import.
* Cleanup.
* Codenarc fixes.
* Update instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/OpenTelemetryDriver.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/OpenTelemetryDriver.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Parse InstrumentationVersion.VERSION.
* Store major and minor version in private static fields.
* Make the datasource way a preferred way.
* Removed interceptor mode.
* Rename build.gradle -> build.gradle.kts.
* Switch to Gradle Kotlin DSL.
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-07-01 10:35:07 -07:00
Anuraag Agrawal
44f2354d41
Allow disabling thread details and disable for most tests. ( #3464 )
2021-07-01 08:31:27 -07:00
Mateusz Rzeszutek
f5f2de9511
Refactor/rename BootstrapPackagesProvider and PropertySource ( #3435 )
...
* Refactor/rename BootstrapPackagesConfigurer and PropertySource
* Update comment
2021-07-01 08:26:51 -07:00
Nikita Salnikov-Tarnovski
47819633e4
Read correct manifest ( #3439 )
...
* Read correct manifest
* Unused field removed
2021-07-01 08:25:01 -07:00
Trask Stalnaker
e2aae6fc87
Fix Tomcat Java 16 images ( #3463 )
2021-07-01 17:17:38 +03:00
Anuraag Agrawal
fc78cd0af3
Migrate build / settings to kotlin ( #3468 )
2021-07-01 16:23:27 +03:00
Anuraag Agrawal
c0467567f0
Migrate smoke-tests build to kotlin ( #3461 )
2021-07-01 18:53:40 +09:00
Anuraag Agrawal
a788b1e915
Remove benchmark-integration ( #3460 )
2021-07-01 18:53:23 +09:00
Anuraag Agrawal
3cfa086ffd
Migrate nullaway config to plugin ( #3462 )
2021-07-01 18:13:16 +09:00
Trask Stalnaker
c40bcc52fd
More Java 16 smoke test images ( #3458 )
2021-06-30 22:40:05 -07:00
Trask Stalnaker
367335fa28
Remove unnecessary and complex logic ( #3395 )
2021-06-30 21:36:48 -07:00
Anuraag Agrawal
96104cc3e7
Add prepare-release-branch to release needs since output is used. ( #3456 )
2021-07-01 13:22:15 +09:00