Commit Graph

6513 Commits

Author SHA1 Message Date
Lauri Tulmin 7a705d861e
Move SpringRestTemplateTest (#3870) 2021-08-19 12:58:24 +03:00
Anuraag Agrawal 3f6727d6b7
Don't clobber user decorators in Armeria client instrumentation (#3873)
* Don't clobber user decorators in Armeria client instrumentation

* Spot
2021-08-19 18:55:58 +09:00
jason plumb 73b1560283
fix action after dir was renamed (#3871) 2021-08-19 09:23:37 +09:00
YuDong Tang 60424e0d38
record exception in dubbo inst (#3851)
* record exception in dubbo inst

* record exception in dubbo inst

* remove unused imports

* remove unused imports
2021-08-18 16:31:00 +02:00
Lauri Tulmin 667b87bac7
Support looking up a ContextStore from outside of Advice (#3827)
* Support looking up a ContextStore from outside of Advice

* Add exception message

* Move setting ContextStoreSupplier

* Improve comment
2021-08-18 10:36:04 +03:00
John Watson 6dbb64ec7a
Implement a Call.Factory for okhttp 3.x+ library instrumentation (#3812)
* Add a README for the okhttp library instrumentation.

* Create new instrumentation for okhttp3 4.x+

This exposes a `Call.Factory` which will properly handle internal context propagation when used with async callbacks.

* update the "4.x" instrumentation to support 3.x

* Get rid of the 4.x instrumentation, and just update the 3.x instrumentation to work

* updates from PR review

* replace old reflection with method handle usage

* Apply suggestions from code review

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-08-18 12:16:24 +09:00
Anuraag Agrawal d8eae4997d
Update to SDK 1.5.0 (#3847) 2021-08-17 08:43:11 -07:00
Lauri Tulmin 706bfa2376
Instrument ForkJoinTask.fork (#3849)
* Instrument ForkJoinTask.fork

* spotless
2021-08-17 10:02:57 +03:00
Lauri Tulmin 8c175d4fce
Propagate context to lettuce callbacks (#3839) 2021-08-17 10:02:23 +03:00
Lauri Tulmin c54d192a1a
Vertx: avoid doulbe wrapping exception handler (#3848) 2021-08-17 10:00:45 +03:00
Lauri Tulmin 430f1cb561
Add junit test timeotut (#3850) 2021-08-16 10:11:09 -07:00
Lauri Tulmin 722fbc1d57
Convert jax-ws to instrumenter api (#3842) 2021-08-16 10:06:36 -07:00
Lauri Tulmin 912ce91b60
Convert jsf to instrumenter api (#3838)
* Convert jsf to instrumenter api

* Review comments

* Use span name not null
2021-08-16 10:06:04 -07:00
Lauri Tulmin 1a9896543a
Convert tapestry-5.4 to instrumenter api (#3837)
* Convert tapestry-5.4 to instrumenter api

* Review comments
2021-08-16 10:05:54 -07:00
Lauri Tulmin 299a051ea8
Convert struts-2.3 to instrumenter api (#3835)
* Convert struts-2.3 to instrumenter api

* Apply suggestions from code review

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-08-16 10:05:43 -07:00
Liudmila Molkova 080c85df85
Client span keys: suppressing same instrumentation (#3691) 2021-08-14 13:44:46 -07:00
Lauri Tulmin c74853274d
Remove Nullable from methods that return non-null value (#3843) 2021-08-14 09:29:23 -07:00
Mateusz Rzeszutek 88be2940eb
Extract common consumer-related kafka-clients parts to a new module (#3817) 2021-08-13 20:28:25 -07:00
Steve Dodge 6c8d2e1fc3
chore: apply the same wrapper fix as in open-telemetry#3831, but this time for request listners (#3833) 2021-08-13 16:45:18 -07:00
Lauri Tulmin 6ad277c659
Check scope for null before closing it (#3836) 2021-08-13 16:39:28 -07:00
Lauri Tulmin 8dc02c6c2b
Remove jaxws todo (#3840) 2021-08-13 16:38:45 -07:00
Trask Stalnaker 84e9d188af
Update webflux to Instrumenter API (and improvements/simplifications) (#3798)
* Update Webflux to Instrumenter API

* Change webflux handler to match other handlers

* Further simplification

* Fix Mono failure tests

* Use extractors!

* Renames

* Fix comment

* Update instrumentation/spring/spring-webflux-5.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/spring/webflux/server/AdviceUtils.java

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-08-13 09:03:50 -07:00
jason plumb 44b71b77e1
Overhead benchmarks: Perform a warmup phase. (#3815)
* perform a warmup phase.

* simplify approach to starting JFR recording.

* remove JMX

* use liberica jvm
2021-08-13 14:23:33 +03:00
Lauri Tulmin 392fc5a6c1
Improve wrapping jetty response listener (#3831) 2021-08-13 11:31:23 +09:00
Nikita Salnikov-Tarnovski 539f104869
Smoke tests were accidentally enabled if testJavaVersion was provided (#3830) 2021-08-12 19:32:14 +03:00
Lauri Tulmin 8c89420753
Skip bad spring-rabbit version (#3829) 2021-08-12 08:57:28 -07:00
Trask Stalnaker da55d98a87
Simplify webflux mono handling (#3816) 2021-08-12 08:54:26 -07:00
Nikita Salnikov-Tarnovski d73710b4dc
Run tests on j9 JVM during CI (#3764)
* During PR runs tests on j9 JVM as well

* Run test matrix on J9 as well
2021-08-12 11:13:42 +03:00
Nikita Salnikov-Tarnovski 33f54cbc88
Introduce stable property for external extensions (#3823)
* Introduce stable property for external extensions

* Examples should still use old property

* Spotless
2021-08-12 08:47:34 +03:00
Mateusz Rzeszutek d13d1cf226
Bump muzzle plugins version (#3824) 2021-08-11 23:27:17 +03:00
Mateusz Rzeszutek 3ea22bb3ed
Cache couchbase operation attribute values per method (#3819)
* Cache couchbase operation attribute values per method

* avoid using reflection

* spotless
2021-08-11 07:54:11 -07:00
Lauri Tulmin d9080a745b
Test latest version of kafka client and streams (#3803) 2021-08-11 17:12:44 +03:00
Mateusz Rzeszutek 421fec4cfe
Bump gradle-plugins to 0.4 (and fix one more thing in ReferencesPrinter) (#3818)
* Bump gradle-plugins to 0.4 (and fix one more thing in ReferencesPrinter)

* Use context class loader

* func -> action
2021-08-11 16:06:54 +02:00
Lauri Tulmin f4e6baf22d
Make spring webflux tests pass with strict context check (#3811)
* Make spring webflux tests pass with strict context check

* Add comment
2021-08-11 06:51:31 -07:00
Mateusz Rzeszutek 4619d86c68
Remove reflection usage (getting Method) from geode (#3821) 2021-08-11 06:47:52 -07:00
Lauri Tulmin 08d3766069
Fix building jmh benchmarks (#3820) 2021-08-11 06:46:26 -07:00
Mateusz Rzeszutek 92a69c3309
Simplify shouldStart() check for SERVER & CONSUMER spans (#3771) 2021-08-10 21:00:34 -07:00
Trask Stalnaker 1889c1adfb
Limit netty exception capture to netty spans (#3809)
* Limit Netty exception capture to Netty span

* Rename constant

* Fix var name

* Apply to netty-4.0 also
2021-08-10 20:58:37 -07:00
Mateusz Rzeszutek b2609d0f40
Refactor couchbase and hystrix to Instrumenter API (#3802) 2021-08-10 12:16:41 -07:00
Lauri Tulmin accf603920
Remove unused field (#3810) 2021-08-10 12:10:57 -07:00
Mateusz Rzeszutek bebb877017
Fix printMuzzleReferences gradle task (#3808)
* Fix printMuzzleReferences gradle task

* suppress SystemOut warnings

* bump gradle-plugins version
2021-08-10 12:10:29 -07:00
Mateusz Rzeszutek beab394960
Add a few missing @Nullables in instrumentation-api (#3806) 2021-08-10 16:46:35 +02:00
Mateusz Rzeszutek 5c4d2945e3
Add otlp-logging exporter (#3807)
* Add otlp-logging exporter

* logging-otlp
2021-08-10 19:29:57 +09:00
Trask Stalnaker 7e007e8f32
Update jaxrs-common to Instrumenter API (#3796) 2021-08-09 21:59:48 -07:00
Trask Stalnaker 19711ca76b
Update jaxrs-1.0 to Instrumenter API (#3797) 2021-08-09 21:59:39 -07:00
jack-berg f5be16bc7c
Convert java-http-client to use Instrumenter API (#3790) 2021-08-09 21:58:57 -07:00
Lauri Tulmin 6dcf1bbb87
Remove metro latest dep version restriction (#3776) 2021-08-09 16:13:52 -07:00
Lauri Tulmin 3257e18e02
Convert spring-ws-2.0 to instrumenter api (#3801) 2021-08-09 12:23:14 -07:00
Lauri Tulmin a251ed3836
Fix axis2 latest dep tests (#3805) 2021-08-09 09:29:49 -07:00
Trask Stalnaker ec344b3184
Small simplification of servlet/tomcat tests (#3710)
* Small simplification of servlet/tomcat tests

* Spotless
2021-08-09 09:24:21 -07:00