Commit Graph

22 Commits

Author SHA1 Message Date
Lauri Tulmin f036673279
Allow reading otel context from reactor ContextView (#11235)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-05-08 10:03:39 +03:00
Lauri Tulmin 9259ce828a
Add context propagation for rector schedulers (#10311) 2024-01-24 09:11:47 +02:00
Lauri Tulmin 952ecd0a34
Reduce reactor stack trace depth (#9923) 2023-11-27 14:02:53 -08:00
Mateusz Rzeszutek 262d77164f
Filter out scalar Mono/Flux instances (#8571) 2023-05-26 12:13:11 +03:00
Lauri Tulmin 24b65ab1a7
Clear context before flux retry (#8456) 2023-05-10 07:59:59 -07:00
Mateusz Rzeszutek 4fd52c5a7c
Encode version in library instrumentations' package names (#7764)
Another part of #932

In this PR I changed all the library instrumentation packages -- these
are breaking changes, so I figured the earlier we do this the less
painful it'll be to the users. I know that at least some of them are
actively used, so we'll need to spell this out in the release notes.

---------

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-02-14 23:25:59 +00:00
Trask Stalnaker b157f14666
Remove unnecessary suppression (#7648)
I accidentally added in #7538
2023-01-25 08:49:14 +01:00
Trask Stalnaker 09b63d2294
Use new reactor contextWrite when available (from reactor 3.4.0) (#7538)
Related to #7107 and #7202

Support WebFlux 6. 

Supporting reactor 3.5 seems pretty straightforward, the
`subscriberContext()` was deprecated in 3.4 in favor of
`contextWrite()`. In 3.5, `subscriberContext()` was removed.

This PR doesn't bump `latestDepTestLibrary` to 3.5 yet because there are
a couple of tests that succeed in 3.4 using `contextWrite()` but fail in
3.5 using `contextWrite()`.

My proposal is to review/merge this PR, and then I can ping our resident
reactor experts to see if they have thoughts on the failing tests in
3.5.
2023-01-11 20:26:12 -08:00
Mateusz Rzeszutek c1eea368ac
Disable reactor 3.5 latest dep tests (#7119)
Continuation of
https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7106
2022-11-09 13:49:42 +01:00
Trask Stalnaker 429ecfc713
Update error prone (#6646)
(note that change from BDDMockito is due to
https://github.com/google/error-prone/issues/3396)
2022-09-23 11:24:40 -07:00
Liudmila Molkova 97bc4a4fda
Reactor instrumentation: do not make root context current (#6593)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-09-14 11:23:18 -07:00
Trask Stalnaker 9fe3761731
Document upper version limits (#6436) 2022-08-08 10:08:40 -07:00
Trask Stalnaker 177f0aec7c
Rename instrumentation-api-annotation-support (#6288) 2022-07-08 17:07:41 -07:00
Trask Stalnaker 8fac01e736
Enable error prone's UnusedVariable check (#6217)
* Enable error prone's UnusedVariable check

* Spotless
2022-06-27 10:55:27 +02:00
Anuraag Agrawal 7666d3ad2c
Use private lock for synchronization (#5762)
* Use private lock for synchronization

* Update instrumentation/reactor/reactor-3.1/library/src/main/java/io/opentelemetry/instrumentation/reactor/ContextPropagationOperator.java

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-04-07 15:47:26 +09:00
Anuraag Agrawal 225971e1c5
Allow scanning instrumented reactor publishers and only allow registe… (#5755)
* Allow scanning instrumented reactor publishers and only allow registering once.

* Avoid atomicboolean

* Clean

* Bug
2022-04-07 13:56:59 +09:00
Anuraag Agrawal db7830d16c
Migrate remaining reactor tests to Java. (#5688)
* Migrate remaining reactor tests to Java.

* Move javaagent tests pakage
2022-03-26 11:27:27 +09:00
Anuraag Agrawal 5ec0937ea7
Migrate reactor testing to Java (#5679) 2022-03-25 11:00:39 +09:00
Lauri Tulmin 45bd419ec0
Run tests with jdk17 (#5598) 2022-03-17 13:25:16 -07:00
Trask Stalnaker 23b33adb0a
Auto-format groovy files in Intellij (#5260)
* Auto-format groovy files in Intellij

* A bit of clean up
2022-01-28 09:29:46 -08:00
Anuraag Agrawal b7a95857c7
Fix some java lint warnings (#5120)
* Convert InstrumentationTestRunner from interface to abstract class

* Foo

* Commit

* Revert unintended
2022-01-17 10:26:03 -08:00
Trask Stalnaker 6884d66c09
Reduce top level instrumentation directories (#4965)
* akka

* dropwizard

* kafka

* reactor

* vertx
2021-12-22 10:16:13 -08:00