Commit 27b9daf
committed
Remove CommandSchedulerInstrumentation and fix null connectOptions check
CommandSchedulerInstrumentation interfered with Vert.x async context
propagation, breaking traces for all pool-based queries (spans ended up
in separate traces instead of sharing the parent trace).
The 'if (connectOptions == null) return' check in QueryAdvice skipped
span creation for ALL pooled connections, not just JDBC-backed ones.
Pool is an interface with static pool() methods -- the PoolAdvice type
matcher (implementsInterface) matches implementing classes which don't
have those static methods, so PoolAdvice never fires and connectOptions
are always null for the pool path.
Also removes VertxJdbcClientTest since the JDBC suppression mechanism
(null connectOptions check) was fundamentally broken.1 parent e63e091 commit 27b9daf
8 files changed
Lines changed: 0 additions & 388 deletions
File tree
- instrumentation/vertx/vertx-sql-client
- vertx-sql-client-4.0/javaagent/src
- main/java/io/opentelemetry/javaagent/instrumentation/vertx/v4_0/sql
- test/java/io/opentelemetry/javaagent/instrumentation/vertx/v4_0/sql
- vertx-sql-client-5.0/javaagent/src
- main/java/io/opentelemetry/javaagent/instrumentation/vertx/v5_0/sql
- test/java/io/opentelemetry/javaagent/instrumentation/vertx/v5_0/sql
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | 107 | | |
114 | 108 | | |
115 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
Lines changed: 0 additions & 106 deletions
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 106 | | |
113 | 107 | | |
114 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
0 commit comments