-
Notifications
You must be signed in to change notification settings - Fork 293
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
Ensure shaded helpers have unique names when injected into class-loaders #8192
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/AdviceShader.java
Outdated
Show resolved
Hide resolved
mcculls
force-pushed
the
mcculls/unique-packages-for-shaded-advice
branch
from
January 13, 2025 21:31
fe4bee2
to
59746e2
Compare
mcculls
added
tag: no release notes
Changes to exclude from release notes
and removed
tag: no release notes
Changes to exclude from release notes
labels
Jan 13, 2025
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 59 metrics, 4 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.46.0-SNAPSHOT~e8e337c52d, baseline=1.46.0-SNAPSHOT~d402356031
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.054 s) : 0, 1054037
Total [baseline] (8.624 s) : 0, 8624461
Agent [candidate] (1.059 s) : 0, 1059083
Total [candidate] (8.646 s) : 0, 8645911
section iast
Agent [baseline] (1.185 s) : 0, 1184958
Total [baseline] (9.207 s) : 0, 9207399
Agent [candidate] (1.187 s) : 0, 1186592
Total [candidate] (9.208 s) : 0, 9207952
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.182 s) : 0, 1181621
Total [baseline] (9.176 s) : 0, 9175683
Agent [candidate] (1.193 s) : 0, 1192614
Total [candidate] (9.242 s) : 0, 9242168
section iast_TELEMETRY_OFF
Agent [baseline] (1.179 s) : 0, 1178778
Total [baseline] (9.192 s) : 0, 9192241
Agent [candidate] (1.181 s) : 0, 1180895
Total [candidate] (9.2 s) : 0, 9200017
gantt
title insecure-bank - break down per module: candidate=1.46.0-SNAPSHOT~e8e337c52d, baseline=1.46.0-SNAPSHOT~d402356031
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (712.684 ms) : 0, 712684
BytebuddyAgent [candidate] (715.701 ms) : 0, 715701
GlobalTracer [baseline] (255.801 ms) : 0, 255801
GlobalTracer [candidate] (256.521 ms) : 0, 256521
AppSec [baseline] (57.112 ms) : 0, 57112
AppSec [candidate] (55.213 ms) : 0, 55213
Remote Config [baseline] (726.71 µs) : 0, 727
Remote Config [candidate] (718.352 µs) : 0, 718
Telemetry [baseline] (12.794 ms) : 0, 12794
Telemetry [candidate] (15.851 ms) : 0, 15851
section iast
BytebuddyAgent [baseline] (834.032 ms) : 0, 834032
BytebuddyAgent [candidate] (835.664 ms) : 0, 835664
GlobalTracer [baseline] (247.321 ms) : 0, 247321
GlobalTracer [candidate] (246.777 ms) : 0, 246777
AppSec [baseline] (57.944 ms) : 0, 57944
AppSec [candidate] (58.264 ms) : 0, 58264
IAST [baseline] (21.259 ms) : 0, 21259
IAST [candidate] (21.387 ms) : 0, 21387
Remote Config [baseline] (656.41 µs) : 0, 656
Remote Config [candidate] (658.262 µs) : 0, 658
Telemetry [baseline] (8.715 ms) : 0, 8715
Telemetry [candidate] (8.646 ms) : 0, 8646
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (831.419 ms) : 0, 831419
BytebuddyAgent [candidate] (838.733 ms) : 0, 838733
GlobalTracer [baseline] (246.785 ms) : 0, 246785
GlobalTracer [candidate] (249.145 ms) : 0, 249145
AppSec [baseline] (57.756 ms) : 0, 57756
AppSec [candidate] (58.479 ms) : 0, 58479
IAST [baseline] (21.364 ms) : 0, 21364
IAST [candidate] (21.504 ms) : 0, 21504
Remote Config [baseline] (664.907 µs) : 0, 665
Remote Config [candidate] (686.111 µs) : 0, 686
Telemetry [baseline] (8.695 ms) : 0, 8695
Telemetry [candidate] (8.973 ms) : 0, 8973
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (828.513 ms) : 0, 828513
BytebuddyAgent [candidate] (829.891 ms) : 0, 829891
GlobalTracer [baseline] (247.063 ms) : 0, 247063
GlobalTracer [candidate] (247.909 ms) : 0, 247909
AppSec [baseline] (58.035 ms) : 0, 58035
AppSec [candidate] (57.913 ms) : 0, 57913
IAST [baseline] (20.841 ms) : 0, 20841
IAST [candidate] (20.793 ms) : 0, 20793
Remote Config [baseline] (652.075 µs) : 0, 652
Remote Config [candidate] (663.933 µs) : 0, 664
Telemetry [baseline] (8.634 ms) : 0, 8634
Telemetry [candidate] (8.63 ms) : 0, 8630
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.46.0-SNAPSHOT~e8e337c52d, baseline=1.46.0-SNAPSHOT~d402356031
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.058 s) : 0, 1057986
Total [baseline] (10.485 s) : 0, 10485064
Agent [candidate] (1.062 s) : 0, 1062230
Total [candidate] (10.555 s) : 0, 10555169
section appsec
Agent [baseline] (1.19 s) : 0, 1189782
Total [baseline] (10.709 s) : 0, 10709380
Agent [candidate] (1.193 s) : 0, 1192608
Total [candidate] (10.73 s) : 0, 10729898
section iast
Agent [baseline] (1.191 s) : 0, 1190928
Total [baseline] (10.953 s) : 0, 10952640
Agent [candidate] (1.183 s) : 0, 1183356
Total [candidate] (10.977 s) : 0, 10977075
section profiling
Agent [baseline] (1.272 s) : 0, 1272167
Total [baseline] (10.848 s) : 0, 10847775
Agent [candidate] (1.271 s) : 0, 1271228
Total [candidate] (10.888 s) : 0, 10888031
gantt
title petclinic - break down per module: candidate=1.46.0-SNAPSHOT~e8e337c52d, baseline=1.46.0-SNAPSHOT~d402356031
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (715.025 ms) : 0, 715025
BytebuddyAgent [candidate] (720.143 ms) : 0, 720143
GlobalTracer [baseline] (256.293 ms) : 0, 256293
GlobalTracer [candidate] (257.74 ms) : 0, 257740
AppSec [baseline] (56.176 ms) : 0, 56176
AppSec [candidate] (56.313 ms) : 0, 56313
Remote Config [baseline] (726.475 µs) : 0, 726
Remote Config [candidate] (726.728 µs) : 0, 727
Telemetry [baseline] (14.786 ms) : 0, 14786
Telemetry [candidate] (12.111 ms) : 0, 12111
section appsec
BytebuddyAgent [baseline] (732.485 ms) : 0, 732485
BytebuddyAgent [candidate] (733.443 ms) : 0, 733443
GlobalTracer [baseline] (253.501 ms) : 0, 253501
GlobalTracer [candidate] (254.348 ms) : 0, 254348
AppSec [baseline] (170.199 ms) : 0, 170199
AppSec [candidate] (170.524 ms) : 0, 170524
Remote Config [baseline] (665.859 µs) : 0, 666
Remote Config [candidate] (661.066 µs) : 0, 661
Telemetry [baseline] (8.217 ms) : 0, 8217
Telemetry [candidate] (8.911 ms) : 0, 8911
IAST [baseline] (19.466 ms) : 0, 19466
IAST [candidate] (19.28 ms) : 0, 19280
section iast
BytebuddyAgent [baseline] (837.931 ms) : 0, 837931
BytebuddyAgent [candidate] (832.396 ms) : 0, 832396
GlobalTracer [baseline] (248.852 ms) : 0, 248852
GlobalTracer [candidate] (247.119 ms) : 0, 247119
AppSec [baseline] (58.288 ms) : 0, 58288
AppSec [candidate] (58.116 ms) : 0, 58116
Remote Config [baseline] (694.364 µs) : 0, 694
Remote Config [candidate] (672.176 µs) : 0, 672
Telemetry [baseline] (8.805 ms) : 0, 8805
Telemetry [candidate] (8.7 ms) : 0, 8700
IAST [baseline] (21.252 ms) : 0, 21252
IAST [candidate] (21.268 ms) : 0, 21268
section profiling
BytebuddyAgent [baseline] (702.446 ms) : 0, 702446
BytebuddyAgent [candidate] (702.408 ms) : 0, 702408
GlobalTracer [baseline] (368.414 ms) : 0, 368414
GlobalTracer [candidate] (367.895 ms) : 0, 367895
AppSec [baseline] (54.122 ms) : 0, 54122
AppSec [candidate] (53.991 ms) : 0, 53991
Remote Config [baseline] (696.925 µs) : 0, 697
Remote Config [candidate] (686.377 µs) : 0, 686
Telemetry [baseline] (8.86 ms) : 0, 8860
Telemetry [candidate] (8.912 ms) : 0, 8912
ProfilingAgent [baseline] (95.878 ms) : 0, 95878
ProfilingAgent [candidate] (95.461 ms) : 0, 95461
Profiling [baseline] (95.902 ms) : 0, 95902
Profiling [candidate] (95.485 ms) : 0, 95485
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 16 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.46.0-SNAPSHOT~e8e337c52d, baseline=1.46.0-SNAPSHOT~d402356031
dateFormat X
axisFormat %s
section baseline
no_agent (1.354 ms) : 1334, 1375
. : milestone, 1354,
appsec (1.744 ms) : 1720, 1767
. : milestone, 1744,
appsec_no_iast (1.785 ms) : 1760, 1810
. : milestone, 1785,
iast (1.516 ms) : 1493, 1539
. : milestone, 1516,
profiling (1.525 ms) : 1502, 1548
. : milestone, 1525,
tracing (1.492 ms) : 1467, 1517
. : milestone, 1492,
section candidate
no_agent (1.383 ms) : 1363, 1402
. : milestone, 1383,
appsec (1.76 ms) : 1736, 1784
. : milestone, 1760,
appsec_no_iast (1.744 ms) : 1719, 1768
. : milestone, 1744,
iast (1.508 ms) : 1485, 1531
. : milestone, 1508,
profiling (1.507 ms) : 1483, 1530
. : milestone, 1507,
tracing (1.497 ms) : 1473, 1521
. : milestone, 1497,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.46.0-SNAPSHOT~e8e337c52d, baseline=1.46.0-SNAPSHOT~d402356031
dateFormat X
axisFormat %s
section baseline
no_agent (382.002 µs) : 361, 403
. : milestone, 382,
iast (500.586 µs) : 478, 523
. : milestone, 501,
iast_FULL (660.507 µs) : 639, 682
. : milestone, 661,
iast_GLOBAL (536.276 µs) : 514, 559
. : milestone, 536,
iast_HARDCODED_SECRET_DISABLED (510.445 µs) : 488, 533
. : milestone, 510,
iast_INACTIVE (459.758 µs) : 438, 481
. : milestone, 460,
iast_TELEMETRY_OFF (491.286 µs) : 469, 513
. : milestone, 491,
tracing (459.103 µs) : 438, 480
. : milestone, 459,
section candidate
no_agent (386.053 µs) : 365, 407
. : milestone, 386,
iast (496.008 µs) : 474, 518
. : milestone, 496,
iast_FULL (657.508 µs) : 636, 679
. : milestone, 658,
iast_GLOBAL (517.958 µs) : 496, 539
. : milestone, 518,
iast_HARDCODED_SECRET_DISABLED (498.067 µs) : 476, 520
. : milestone, 498,
iast_INACTIVE (461.442 µs) : 440, 483
. : milestone, 461,
iast_TELEMETRY_OFF (488.65 µs) : 467, 511
. : milestone, 489,
tracing (453.731 µs) : 433, 475
. : milestone, 454,
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 tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.46.0-SNAPSHOT~e8e337c52d, baseline=1.46.0-SNAPSHOT~d402356031
dateFormat X
axisFormat %s
section baseline
no_agent (1.465 ms) : 1453, 1476
. : milestone, 1465,
appsec (2.356 ms) : 2313, 2399
. : milestone, 2356,
iast (2.095 ms) : 2040, 2150
. : milestone, 2095,
iast_GLOBAL (2.146 ms) : 2091, 2202
. : milestone, 2146,
profiling (1.963 ms) : 1919, 2007
. : milestone, 1963,
tracing (1.949 ms) : 1907, 1992
. : milestone, 1949,
section candidate
no_agent (1.472 ms) : 1460, 1483
. : milestone, 1472,
appsec (2.345 ms) : 2301, 2388
. : milestone, 2345,
iast (2.101 ms) : 2046, 2155
. : milestone, 2101,
iast_GLOBAL (2.137 ms) : 2082, 2192
. : milestone, 2137,
profiling (1.964 ms) : 1921, 2008
. : milestone, 1964,
tracing (1.933 ms) : 1890, 1975
. : milestone, 1933,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.46.0-SNAPSHOT~e8e337c52d, baseline=1.46.0-SNAPSHOT~d402356031
dateFormat X
axisFormat %s
section baseline
no_agent (15.476 s) : 15476000, 15476000
. : milestone, 15476000,
appsec (15.137 s) : 15137000, 15137000
. : milestone, 15137000,
iast (18.782 s) : 18782000, 18782000
. : milestone, 18782000,
iast_GLOBAL (17.734 s) : 17734000, 17734000
. : milestone, 17734000,
profiling (15.295 s) : 15295000, 15295000
. : milestone, 15295000,
tracing (15.285 s) : 15285000, 15285000
. : milestone, 15285000,
section candidate
no_agent (15.481 s) : 15481000, 15481000
. : milestone, 15481000,
appsec (15.063 s) : 15063000, 15063000
. : milestone, 15063000,
iast (18.607 s) : 18607000, 18607000
. : milestone, 18607000,
iast_GLOBAL (17.851 s) : 17851000, 17851000
. : milestone, 17851000,
profiling (14.874 s) : 14874000, 14874000
. : milestone, 14874000,
tracing (14.989 s) : 14989000, 14989000
. : milestone, 14989000,
|
mcculls
force-pushed
the
mcculls/unique-packages-for-shaded-advice
branch
from
January 13, 2025 22:39
59746e2
to
e8e337c
Compare
dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/AdviceShader.java
Show resolved
Hide resolved
amarziali
approved these changes
Jan 14, 2025
svc-squareup-copybara
pushed a commit
to cashapp/misk
that referenced
this pull request
Jan 31, 2025
| 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Does This Do
Fixes an issue with #8153 where if the original module and relocated module both matched a class-loader then their injected helpers clashed. This could lead to a
ClassCastException
if the wrong helper was used by the injected advice. We now automatically relocate the injected helpers of relocated modules to avoid this scenario.Additional Notes
As part of this change we also make some of the processing lazy, so it's only run when required.
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: APMAPI-858