Commit 3f45f75
Spring Webflux Library Instrumentation (#7899)
Resolves
#7436
* Created new Module `spring-webflux-5.3` which contains only
server-side library instrumentation
* Minimum supported version is 5.3 because there are various problems in
older versions of reactor and webflux that prevent a few of the tests
from passing.
* Moved existing `spring-webflux-5.0` (webclient instrumentation) into a
common `spring-webflux` folder next to the 5.3 (server) instrumentation.
Moved the README to the parent folder so the docs are cohesive between
client/server instrumentation.
* Implemented `WebFilter` which instruments the server-side
* Depends on the `reactor-3.1` instrumentation to pass the context
around. Registers the react hook when it creates the `WebFilter`
* Tests using the standard HTTP server test suite
---------
Co-authored-by: Trask Stalnaker <[email protected]>
Co-authored-by: Mateusz Rzeszutek <[email protected]>1 parent d6c3fdb commit 3f45f75
File tree
67 files changed
+895
-206
lines changed- docs
- instrumentation/spring
- spring-boot-autoconfigure
- src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/httpclients/webclient
- spring-webflux-5.0
- javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/spring/webflux/v5_0/client
- library
- spring-webflux
- spring-webflux-5.0/javaagent
- src
- main/java/io/opentelemetry/javaagent/instrumentation/spring/webflux/v5_0
- client
- server
- test
- groovy
- server/base
- java
- io/opentelemetry/javaagent/instrumentation/spring/webflux/v5_0
- client
- server
- server
- base
- resources
- spring-webflux-5.3
- library
- src
- main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3
- internal
- test/java/io/opentelemetry/instrumentation/spring/webflux/v5_3
- testing
- src/main/java/io/opentelemetry/instrumentation/spring/webflux/client
- testing-common/src/main/java/io/opentelemetry/instrumentation/testing/junit/http
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
67 files changed
+895
-206
lines changedLines changed: 12 additions & 2 deletions
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 0 additions & 97 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
0 commit comments