-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix vertx worker propagation and error handling #8237
Conversation
Hi! 👋 Thanks for your pull request! 🎉 To help us review it, please make sure to:
If you need help, please check our contributing guidelines. |
@manuel-alvarez-alvarez tagging you since also vertx 4.5+ needs tracking of broken ASM tests |
dbf26ed
to
9f36456
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 58 metrics, 5 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.46.0-SNAPSHOT~7fdfb44484, baseline=1.46.0-SNAPSHOT~06fade9467
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.054 s) : 0, 1053644
Total [baseline] (10.43 s) : 0, 10430365
Agent [candidate] (1.061 s) : 0, 1061260
Total [candidate] (10.616 s) : 0, 10615927
section appsec
Agent [baseline] (1.194 s) : 0, 1193962
Total [baseline] (10.732 s) : 0, 10732345
Agent [candidate] (1.193 s) : 0, 1193073
Total [candidate] (10.676 s) : 0, 10676498
section iast
Agent [baseline] (1.182 s) : 0, 1181754
Total [baseline] (10.989 s) : 0, 10989058
Agent [candidate] (1.186 s) : 0, 1185873
Total [candidate] (11.024 s) : 0, 11023941
section profiling
Agent [baseline] (1.259 s) : 0, 1259176
Total [baseline] (10.888 s) : 0, 10887631
Agent [candidate] (1.261 s) : 0, 1260706
Total [candidate] (10.867 s) : 0, 10867195
gantt
title petclinic - break down per module: candidate=1.46.0-SNAPSHOT~7fdfb44484, baseline=1.46.0-SNAPSHOT~06fade9467
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (712.595 ms) : 0, 712595
BytebuddyAgent [candidate] (718.881 ms) : 0, 718881
GlobalTracer [baseline] (255.643 ms) : 0, 255643
GlobalTracer [candidate] (257.313 ms) : 0, 257313
AppSec [baseline] (56.141 ms) : 0, 56141
AppSec [candidate] (57.856 ms) : 0, 57856
Remote Config [baseline] (736.652 µs) : 0, 737
Remote Config [candidate] (748.875 µs) : 0, 749
Telemetry [baseline] (13.534 ms) : 0, 13534
Telemetry [candidate] (11.37 ms) : 0, 11370
section appsec
BytebuddyAgent [baseline] (735.502 ms) : 0, 735502
BytebuddyAgent [candidate] (734.092 ms) : 0, 734092
GlobalTracer [baseline] (253.515 ms) : 0, 253515
GlobalTracer [candidate] (254.209 ms) : 0, 254209
AppSec [baseline] (171.323 ms) : 0, 171323
AppSec [candidate] (171.032 ms) : 0, 171032
IAST [baseline] (19.337 ms) : 0, 19337
IAST [candidate] (19.182 ms) : 0, 19182
Remote Config [baseline] (672.028 µs) : 0, 672
Remote Config [candidate] (658.572 µs) : 0, 659
Telemetry [baseline] (8.221 ms) : 0, 8221
Telemetry [candidate] (8.455 ms) : 0, 8455
section iast
BytebuddyAgent [baseline] (830.985 ms) : 0, 830985
BytebuddyAgent [candidate] (833.807 ms) : 0, 833807
GlobalTracer [baseline] (246.718 ms) : 0, 246718
GlobalTracer [candidate] (247.418 ms) : 0, 247418
AppSec [baseline] (58.222 ms) : 0, 58222
AppSec [candidate] (58.5 ms) : 0, 58500
IAST [baseline] (21.373 ms) : 0, 21373
IAST [candidate] (21.546 ms) : 0, 21546
Remote Config [baseline] (667.79 µs) : 0, 668
Remote Config [candidate] (671.452 µs) : 0, 671
Telemetry [baseline] (8.807 ms) : 0, 8807
Telemetry [candidate] (8.836 ms) : 0, 8836
section profiling
BytebuddyAgent [baseline] (706.005 ms) : 0, 706005
BytebuddyAgent [candidate] (707.597 ms) : 0, 707597
GlobalTracer [baseline] (350.129 ms) : 0, 350129
GlobalTracer [candidate] (351.466 ms) : 0, 351466
AppSec [baseline] (55.247 ms) : 0, 55247
AppSec [candidate] (54.105 ms) : 0, 54105
Remote Config [baseline] (701.14 µs) : 0, 701
Remote Config [candidate] (700.759 µs) : 0, 701
Telemetry [baseline] (8.915 ms) : 0, 8915
Telemetry [candidate] (8.867 ms) : 0, 8867
ProfilingAgent [baseline] (96.026 ms) : 0, 96026
ProfilingAgent [candidate] (95.744 ms) : 0, 95744
Profiling [baseline] (96.05 ms) : 0, 96050
Profiling [candidate] (95.768 ms) : 0, 95768
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.46.0-SNAPSHOT~7fdfb44484, baseline=1.46.0-SNAPSHOT~06fade9467
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.07 s) : 0, 1069658
Total [baseline] (8.662 s) : 0, 8662025
Agent [candidate] (1.062 s) : 0, 1061846
Total [candidate] (8.602 s) : 0, 8602211
section iast
Agent [baseline] (1.18 s) : 0, 1180243
Total [baseline] (9.196 s) : 0, 9195581
Agent [candidate] (1.184 s) : 0, 1184231
Total [candidate] (9.233 s) : 0, 9233083
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.183 s) : 0, 1182723
Total [baseline] (9.166 s) : 0, 9166249
Agent [candidate] (1.182 s) : 0, 1181876
Total [candidate] (9.151 s) : 0, 9150665
section iast_TELEMETRY_OFF
Agent [baseline] (1.186 s) : 0, 1186129
Total [baseline] (9.215 s) : 0, 9214853
Agent [candidate] (1.188 s) : 0, 1188040
Total [candidate] (9.217 s) : 0, 9217267
gantt
title insecure-bank - break down per module: candidate=1.46.0-SNAPSHOT~7fdfb44484, baseline=1.46.0-SNAPSHOT~06fade9467
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (722.431 ms) : 0, 722431
BytebuddyAgent [candidate] (718.061 ms) : 0, 718061
GlobalTracer [baseline] (259.083 ms) : 0, 259083
GlobalTracer [candidate] (256.435 ms) : 0, 256435
AppSec [baseline] (56.194 ms) : 0, 56194
AppSec [candidate] (55.564 ms) : 0, 55564
Remote Config [baseline] (762.818 µs) : 0, 763
Remote Config [candidate] (742.833 µs) : 0, 743
Telemetry [baseline] (15.975 ms) : 0, 15975
Telemetry [candidate] (15.917 ms) : 0, 15917
section iast
BytebuddyAgent [baseline] (830.032 ms) : 0, 830032
BytebuddyAgent [candidate] (833.24 ms) : 0, 833240
GlobalTracer [baseline] (246.213 ms) : 0, 246213
GlobalTracer [candidate] (246.903 ms) : 0, 246903
AppSec [baseline] (58.071 ms) : 0, 58071
AppSec [candidate] (57.909 ms) : 0, 57909
IAST [baseline] (21.543 ms) : 0, 21543
IAST [candidate] (21.635 ms) : 0, 21635
Remote Config [baseline] (677.618 µs) : 0, 678
Remote Config [candidate] (686.119 µs) : 0, 686
Telemetry [baseline] (8.773 ms) : 0, 8773
Telemetry [candidate] (8.832 ms) : 0, 8832
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (831.433 ms) : 0, 831433
BytebuddyAgent [candidate] (830.825 ms) : 0, 830825
GlobalTracer [baseline] (246.947 ms) : 0, 246947
GlobalTracer [candidate] (246.738 ms) : 0, 246738
AppSec [baseline] (58.335 ms) : 0, 58335
AppSec [candidate] (58.148 ms) : 0, 58148
IAST [baseline] (21.507 ms) : 0, 21507
IAST [candidate] (21.558 ms) : 0, 21558
Remote Config [baseline] (671.956 µs) : 0, 672
Remote Config [candidate] (679.098 µs) : 0, 679
Telemetry [baseline] (8.843 ms) : 0, 8843
Telemetry [candidate] (8.836 ms) : 0, 8836
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (833.313 ms) : 0, 833313
BytebuddyAgent [candidate] (835.568 ms) : 0, 835568
GlobalTracer [baseline] (247.942 ms) : 0, 247942
GlobalTracer [candidate] (248.585 ms) : 0, 248585
AppSec [baseline] (58.554 ms) : 0, 58554
AppSec [candidate] (58.269 ms) : 0, 58269
IAST [baseline] (21.69 ms) : 0, 21690
IAST [candidate] (21.053 ms) : 0, 21053
Remote Config [baseline] (695.83 µs) : 0, 696
Remote Config [candidate] (678.007 µs) : 0, 678
Telemetry [baseline] (8.881 ms) : 0, 8881
Telemetry [candidate] (8.768 ms) : 0, 8768
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 17 unstable metrics. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.46.0-SNAPSHOT~7fdfb44484, baseline=1.46.0-SNAPSHOT~06fade9467
dateFormat X
axisFormat %s
section baseline
no_agent (378.902 µs) : 359, 399
. : milestone, 379,
iast (510.035 µs) : 488, 532
. : milestone, 510,
iast_FULL (735.724 µs) : 714, 758
. : milestone, 736,
iast_GLOBAL (556.269 µs) : 534, 578
. : milestone, 556,
iast_HARDCODED_SECRET_DISABLED (505.842 µs) : 484, 528
. : milestone, 506,
iast_INACTIVE (458.155 µs) : 437, 480
. : milestone, 458,
iast_TELEMETRY_OFF (493.342 µs) : 471, 515
. : milestone, 493,
tracing (449.538 µs) : 429, 470
. : milestone, 450,
section candidate
no_agent (372.823 µs) : 353, 393
. : milestone, 373,
iast (502.988 µs) : 481, 525
. : milestone, 503,
iast_FULL (743.794 µs) : 722, 766
. : milestone, 744,
iast_GLOBAL (555.095 µs) : 533, 577
. : milestone, 555,
iast_HARDCODED_SECRET_DISABLED (525.981 µs) : 504, 548
. : milestone, 526,
iast_INACTIVE (460.876 µs) : 439, 482
. : milestone, 461,
iast_TELEMETRY_OFF (490.598 µs) : 469, 512
. : milestone, 491,
tracing (454.519 µs) : 433, 476
. : milestone, 455,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.46.0-SNAPSHOT~7fdfb44484, baseline=1.46.0-SNAPSHOT~06fade9467
dateFormat X
axisFormat %s
section baseline
no_agent (1.341 ms) : 1322, 1360
. : milestone, 1341,
appsec (1.734 ms) : 1710, 1758
. : milestone, 1734,
appsec_no_iast (1.771 ms) : 1747, 1795
. : milestone, 1771,
iast (1.515 ms) : 1491, 1539
. : milestone, 1515,
profiling (1.504 ms) : 1480, 1527
. : milestone, 1504,
tracing (1.48 ms) : 1455, 1506
. : milestone, 1480,
section candidate
no_agent (1.363 ms) : 1343, 1383
. : milestone, 1363,
appsec (1.773 ms) : 1750, 1796
. : milestone, 1773,
appsec_no_iast (1.752 ms) : 1727, 1777
. : milestone, 1752,
iast (1.515 ms) : 1490, 1539
. : milestone, 1515,
profiling (1.533 ms) : 1510, 1556
. : milestone, 1533,
tracing (1.498 ms) : 1472, 1523
. : milestone, 1498,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics. Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.46.0-SNAPSHOT~7fdfb44484, baseline=1.46.0-SNAPSHOT~06fade9467
dateFormat X
axisFormat %s
section baseline
no_agent (15.63 s) : 15630000, 15630000
. : milestone, 15630000,
appsec (15.134 s) : 15134000, 15134000
. : milestone, 15134000,
iast (18.562 s) : 18562000, 18562000
. : milestone, 18562000,
iast_GLOBAL (17.622 s) : 17622000, 17622000
. : milestone, 17622000,
profiling (15.112 s) : 15112000, 15112000
. : milestone, 15112000,
tracing (15.071 s) : 15071000, 15071000
. : milestone, 15071000,
section candidate
no_agent (15.331 s) : 15331000, 15331000
. : milestone, 15331000,
appsec (14.828 s) : 14828000, 14828000
. : milestone, 14828000,
iast (18.964 s) : 18964000, 18964000
. : milestone, 18964000,
iast_GLOBAL (18.128 s) : 18128000, 18128000
. : milestone, 18128000,
profiling (15.15 s) : 15150000, 15150000
. : milestone, 15150000,
tracing (14.877 s) : 14877000, 14877000
. : milestone, 14877000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.46.0-SNAPSHOT~7fdfb44484, baseline=1.46.0-SNAPSHOT~06fade9467
dateFormat X
axisFormat %s
section baseline
no_agent (1.47 ms) : 1459, 1481
. : milestone, 1470,
appsec (2.362 ms) : 2319, 2405
. : milestone, 2362,
iast (2.098 ms) : 2044, 2152
. : milestone, 2098,
iast_GLOBAL (2.147 ms) : 2092, 2202
. : milestone, 2147,
profiling (1.977 ms) : 1933, 2021
. : milestone, 1977,
tracing (1.949 ms) : 1907, 1991
. : milestone, 1949,
section candidate
no_agent (1.468 ms) : 1457, 1480
. : milestone, 1468,
appsec (2.357 ms) : 2314, 2400
. : milestone, 2357,
iast (2.105 ms) : 2051, 2159
. : milestone, 2105,
iast_GLOBAL (2.148 ms) : 2093, 2203
. : milestone, 2148,
profiling (1.958 ms) : 1915, 2001
. : milestone, 1958,
tracing (1.942 ms) : 1900, 1984
. : milestone, 1942,
|
9f36456
to
6c6b179
Compare
...strumentation/vertx-web-4.0/src/latestDepTest/groovy/server/VertxHttpServerForkedTest.groovy
Show resolved
Hide resolved
...ava/datadog/trace/instrumentation/vertx_4_0/client/HttpClientRequestBaseInstrumentation.java
Outdated
Show resolved
Hide resolved
int fibonacci(int n) { | ||
if (n <= 1) { | ||
return n; | ||
} | ||
return fibonacci(n - 1) + fibonacci(n - 2); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"can you evaluate the complexity of this code ?" 😂
(ofc totally ok as it's for a test)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOL..It's actually from the customer reproducer and it's useful to simulate some processing time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I'm taking care of the broken ASM tests separately
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-datastore](https://github.com/googleapis/java-datastore) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.25.4` -> `2.26.0` | | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.45.2` -> `1.46.0` | | [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.45.2` -> `1.46.0` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.9` -> `2.30.10` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.9` -> `2.30.10` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.9` -> `2.30.10` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.9` -> `2.30.10` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.9` -> `2.30.10` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.9` -> `2.30.10` | --- ### Release Notes <details> <summary>googleapis/java-datastore (com.google.cloud:google-cloud-datastore)</summary> ### [`v2.26.0`](https://github.com/googleapis/java-datastore/blob/HEAD/CHANGELOG.md#2260-2025-01-29) ##### Features - Add firestoreInDatastoreMode for datastore emulator ([#​1698](googleapis/java-datastore#1698)) ([50f106d](googleapis/java-datastore@50f106d)) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.42.0 ([#​1725](googleapis/java-datastore#1725)) ([1cbaf22](googleapis/java-datastore@1cbaf22)) </details> <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.46.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.46.0): 1.46.0 ##### Breaking Changes > \[!WARNING] > jnr-unixsocket is now an external dependency of dd-trace-ot and must be included when deploying dd-trace-ot. > \[!NOTE] > The API `TracerScope.setAsync(boolean)`, used to manually control asynchronous span propagation, does no more apply to the scope instance but to the active span scope. ##### Components ##### Application Security Management (IAST) - 🐛 Fix String.replace instrumentation for IAST ([#​8281](DataDog/dd-trace-java#8281) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Apply the standard nomenclature to the stacktrace configs ([#​8244](DataDog/dd-trace-java#8244) - [@​jandro996](https://github.com/jandro996)) - 🐛 Exclude false positive weak randomness ([#​8232](DataDog/dd-trace-java#8232) - [@​jandro996](https://github.com/jandro996)) - ✨ Propagation of translateEscapes of String class ([#​8186](DataDog/dd-trace-java#8186) - [@​sezen-datadog](https://github.com/sezen-datadog)) - ✨ Add security control metrics ([#​8175](DataDog/dd-trace-java#8175) - [@​jandro996](https://github.com/jandro996)) - ✨ Increase IAST propagation to StringBuffer setLength ([#​8128](DataDog/dd-trace-java#8128) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Add IAST taint tracking for DB values ([#​8072](DataDog/dd-trace-java#8072) - [@​Mariovido](https://github.com/Mariovido)) ##### Application Security Management (WAF) - 🐛 Prevents a NPE when there is no subscriber for user events ([#​8258](DataDog/dd-trace-java#8258) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Apply the standard nomenclature to the stacktrace configs ([#​8244](DataDog/dd-trace-java#8244) - [@​jandro996](https://github.com/jandro996)) - 🐛 Ensure cached subscriptions are cleared on reconfiguration via RC ([#​8229](DataDog/dd-trace-java#8229) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Add support for session tracking in Vertx ([#​8167](DataDog/dd-trace-java#8167) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Create span tag: \_dd.appsec.rasp.timeout ([#​8269](DataDog/dd-trace-java#8269) - [@​Mariovido](https://github.com/Mariovido)) ##### Build & Tooling - 🐛 Ensure shaded helpers have unique names when injected into class-loaders ([#​8192](DataDog/dd-trace-java#8192) - [@​mcculls](https://github.com/mcculls)) ##### Configuration at Runtime - 🐛 Remove filtering of `DD_SERVICE` and `DD_ENV` from the tracer ([#​8176](DataDog/dd-trace-java#8176) - [@​mhlidd](https://github.com/mhlidd)) ##### Continuous Integration Visibility - 🧹 Generalize TestRetryPolicy to TestExecutionPolicy ([#​8302](DataDog/dd-trace-java#8302) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🧹 Parallelize CI Visibility settings requests ([#​8299](DataDog/dd-trace-java#8299) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🧹 Generalize test retry logic ([#​8289](DataDog/dd-trace-java#8289) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🧹 Generalize tests skipping logic ([#​8288](DataDog/dd-trace-java#8288) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🧹 Remove skip and shouldBeSkipped methods from TestEventsHandler in favor of isSkippable ([#​8286](DataDog/dd-trace-java#8286) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨⚡ Optimize Git repository information computation ([#​8270](DataDog/dd-trace-java#8270) - [@​dougqh](https://github.com/dougqh)) - ✨ Always request known tests from the backend ([#​8268](DataDog/dd-trace-java#8268) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Fix NPE when trying to get retry analyzer in Test NG ([#​8253](DataDog/dd-trace-java#8253) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Set test framework and test framework version tags atomically ([#​8252](DataDog/dd-trace-java#8252) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Add debug logging to Android Gradle module layout logic ([#​8251](DataDog/dd-trace-java#8251) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix source and destination folders computation for Android Gradle projects ([#​8190](DataDog/dd-trace-java#8190) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Add basic Scala Weaver sbt support ([#​8189](DataDog/dd-trace-java#8189) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Implement impacted tests detection ([#​8188](DataDog/dd-trace-java#8188) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) ##### Data Streams Monitoring - ✨ Change hash computation for protobuf to better represent impacting changes + save proto number in schema ([#​8201](DataDog/dd-trace-java#8201) - [@​vandonr](https://github.com/vandonr)) ##### Database Monitoring - Add peer service tag in dbm sql commenter ([#​7913](DataDog/dd-trace-java#7913) - [@​jordan-wong](https://github.com/jordan-wong)) ##### Dynamic Instrumentation - ✨ Add support for SymDB to scan directories ([#​8306](DataDog/dd-trace-java#8306) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add SymDB report for any jar scanning failures ([#​8300](DataDog/dd-trace-java#8300) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Use two budgets depending on type ([#​8283](DataDog/dd-trace-java#8283) - [@​evanchooly](https://github.com/evanchooly)) - ✨ Institute a 10 snapshot per probe per trace budget ([#​8277](DataDog/dd-trace-java#8277) - [@​evanchooly](https://github.com/evanchooly)) - 🐛 Avoid double snapshots for Exception Replay ([#​8273](DataDog/dd-trace-java#8273) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Simplify code origins. Separate out snapshot generation. ([#​8263](DataDog/dd-trace-java#8263) - [@​evanchooly](https://github.com/evanchooly)) - ✨ Add Exception probe custom instrumentation ([#​8230](DataDog/dd-trace-java#8230) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Enhance log probes to honor debug session tags ([#​8215](DataDog/dd-trace-java#8215) - [@​evanchooly](https://github.com/evanchooly)) - 🐛 Don't redact env tokens from debugger probe snapshots ([#​8211](DataDog/dd-trace-java#8211) - [@​watson](https://github.com/watson)) - ✨⚡ Move Trace/SpanId capture at commit time ([#​8184](DataDog/dd-trace-java#8184) - [@​jpbempel](https://github.com/jpbempel)) - 🐛 Capture values at entry for method probe ([#​8169](DataDog/dd-trace-java#8169) - [@​jpbempel](https://github.com/jpbempel)) ##### JMX fetch - 🐛 Mute JMXFetch Shutdown in progress error ([#​8068](DataDog/dd-trace-java#8068) - [@​ygree](https://github.com/ygree)) ##### OpenTracing -⚠️ 🧹 Make jnr-unixsocket an explicit dependency of dd-trace-ot ([#​8307](DataDog/dd-trace-java#8307) - [@​mcculls](https://github.com/mcculls)) ##### Profiling - 🐛 Avoid unsupported API call for creating folders on windows ([#​8304](DataDog/dd-trace-java#8304) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Tag profiles for serverless ([#​8279](DataDog/dd-trace-java#8279) - [@​jbachorik](https://github.com/jbachorik)) - ✨ add queue type and length to queue events ([#​8242](DataDog/dd-trace-java#8242) - [@​richardstartin](https://github.com/richardstartin)) - 🐛 TempLocationManager Fixes and Improvements ([#​8191](DataDog/dd-trace-java#8191) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Bump ddprof to 1.18.0 ([#​8173](DataDog/dd-trace-java#8173) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Report profiler initialization and configuration errors to telemetry ([#​8171](DataDog/dd-trace-java#8171) - [@​jbachorik](https://github.com/jbachorik)) ##### Telemetry - ✨ Add pending traces report in tracer flares ([#​8053](DataDog/dd-trace-java#8053) - [@​mhlidd](https://github.com/mhlidd)) ##### Testing - ✨ Test http server requests in parallel ([#​8222](DataDog/dd-trace-java#8222) - [@​amarziali](https://github.com/amarziali)) ##### Trace context propagation - ✨ Add non default propagator registration ([#​8310](DataDog/dd-trace-java#8310) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) ##### Tracer core - ✨ Probe for existence of IBMSASL or ACCP security providers ([#​8276](DataDog/dd-trace-java#8276) - [@​mcculls](https://github.com/mcculls)) - ✨⚡ Overhead improvement to agent feedback based sampling ([#​8265](DataDog/dd-trace-java#8265) - [@​dougqh](https://github.com/dougqh)) - 🧹 Move async propagation API from scope to tracer ([#​8231](DataDog/dd-trace-java#8231) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - ✨ Introduce context propagation API ([#​8161](DataDog/dd-trace-java#8161) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - ✨🧪 Use env-entry to add tags per webapp deployment ([#​8138](DataDog/dd-trace-java#8138) - [@​amarziali](https://github.com/amarziali)) - ✨ Introduce context helpers API ([#​8134](DataDog/dd-trace-java#8134) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - ✨ Support IPv6 values for `DD_AGENT_HOST` and `DD_TRACE_AGENT_URL` ([#​7984](DataDog/dd-trace-java#7984) - [@​mhlidd](https://github.com/mhlidd)) ##### Instrumentations ##### Apache HttpComponents - 🐛 Properly finish spans and support latest apache httpclient5 ([#​8272](DataDog/dd-trace-java#8272) - [@​amarziali](https://github.com/amarziali)) ##### AWS Lambda instrumentation - 🐛 Properly capture lambda payloads for all handler types. ([#​8264](DataDog/dd-trace-java#8264) - [@​purple4reina](https://github.com/purple4reina)) ##### AWS S3 instrumentation - 💡 Create S3 instrumentation + add span pointers ([#​8075](DataDog/dd-trace-java#8075) - [@​nhulston](https://github.com/nhulston)) ##### AWS SDK instrumentation - 🐛 Revert "Add avoid double instrumenting lambda non-streaming handlers." ([#​8247](DataDog/dd-trace-java#8247) - [@​nhulston](https://github.com/nhulston)) ##### Cassandra - ✨ Allow extracting keyspace from statement result ([#​8239](DataDog/dd-trace-java#8239) - [@​amarziali](https://github.com/amarziali)) ##### Core Java language instrumentation - ✨ Propagation of translateEscapes of String class ([#​8186](DataDog/dd-trace-java#8186) - [@​sezen-datadog](https://github.com/sezen-datadog)) ##### Eclipse Vert.x instrumentation - 🐛 Fix vertx worker propagation and error handling ([#​8237](DataDog/dd-trace-java#8237) - [@​amarziali](https://github.com/amarziali)) - ✨ Support vertx 5 ([#​8220](DataDog/dd-trace-java#8220) - [@​amarziali](https://github.com/amarziali)) - ✨ Add support for session tracking in Vertx ([#​8167](DataDog/dd-trace-java#8167) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) ##### Kafka instrumentation - 🐛 Prevent possible NPE calculating Kafka record header size ([#​8292](DataDog/dd-trace-java#8292) - [@​ygree](https://github.com/ygree)) ##### Mule instrumentation - 🐛 Fix crash using Mule with JPMS ([#​8187](DataDog/dd-trace-java#8187) - [@​amarziali](https://github.com/amarziali)) ##### Protocol Buffer instrumentation - ✨ Change hash computation for protobuf to better represent impacting changes + save proto number in schema ([#​8201](DataDog/dd-trace-java#8201) - [@​vandonr](https://github.com/vandonr)) ##### Spring instrumentation - 🐛 Preserve getQualifier from spring scheduling runnables ([#​8293](DataDog/dd-trace-java#8293) - [@​amarziali](https://github.com/amarziali)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am every weekday" in timezone Australia/Melbourne, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). GitOrigin-RevId: bb09d47e4eed77a003f630273b4d0a84003eb899
What Does This Do
This PR fixes broken context propagation between the netty event loop and the vertx worker. The issue seems to be present only for latest 4.x (i.e 4.5.x) version where vertx uses a dedicated executor service to dispatch worker tasks.
It's not present on 5.x nor in early 4.0 version where a task queue was used.
It also fixes vertx http client http error capturing that was broken on 4.5+
Motivation
Additional Notes
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: APMS-14408