-
Notifications
You must be signed in to change notification settings - Fork 300
Add system property to force injection of the tracing library even though multiple javaagents have been detected #8697
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
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 60 metrics, 11 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.49.0-SNAPSHOT~f4d3b10eb6, baseline=1.49.0-SNAPSHOT~b00c24e26a
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.057 s) : 0, 1056655
Total [baseline] (10.492 s) : 0, 10492108
Agent [candidate] (1.055 s) : 0, 1055445
Total [candidate] (10.474 s) : 0, 10473555
section appsec
Agent [baseline] (1.195 s) : 0, 1194803
Total [baseline] (10.766 s) : 0, 10765517
Agent [candidate] (1.196 s) : 0, 1195585
Total [candidate] (10.81 s) : 0, 10810154
section iast
Agent [baseline] (1.184 s) : 0, 1184392
Total [baseline] (11.001 s) : 0, 11001005
Agent [candidate] (1.183 s) : 0, 1182501
Total [candidate] (10.976 s) : 0, 10975898
section profiling
Agent [baseline] (1.291 s) : 0, 1291287
Total [baseline] (10.879 s) : 0, 10879124
Agent [candidate] (1.304 s) : 0, 1303544
Total [candidate] (10.938 s) : 0, 10938480
gantt
title petclinic - break down per module: candidate=1.49.0-SNAPSHOT~f4d3b10eb6, baseline=1.49.0-SNAPSHOT~b00c24e26a
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (720.528 ms) : 0, 720528
BytebuddyAgent [candidate] (720.956 ms) : 0, 720956
GlobalTracer [baseline] (239.679 ms) : 0, 239679
GlobalTracer [candidate] (239.582 ms) : 0, 239582
AppSec [baseline] (56.618 ms) : 0, 56618
AppSec [candidate] (55.808 ms) : 0, 55808
Debugger [baseline] (4.353 ms) : 0, 4353
Debugger [candidate] (4.339 ms) : 0, 4339
Remote Config [baseline] (704.311 µs) : 0, 704
Remote Config [candidate] (688.769 µs) : 0, 689
Telemetry [baseline] (11.276 ms) : 0, 11276
Telemetry [candidate] (10.554 ms) : 0, 10554
section appsec
BytebuddyAgent [baseline] (737.227 ms) : 0, 737227
BytebuddyAgent [candidate] (737.713 ms) : 0, 737713
GlobalTracer [baseline] (235.065 ms) : 0, 235065
GlobalTracer [candidate] (235.144 ms) : 0, 235144
AppSec [baseline] (175.364 ms) : 0, 175364
AppSec [candidate] (175.408 ms) : 0, 175408
Debugger [baseline] (4.207 ms) : 0, 4207
Debugger [candidate] (4.199 ms) : 0, 4199
Remote Config [baseline] (620.822 µs) : 0, 621
Remote Config [candidate] (632.471 µs) : 0, 632
Telemetry [baseline] (8.134 ms) : 0, 8134
Telemetry [candidate] (8.18 ms) : 0, 8180
IAST [baseline] (21.699 ms) : 0, 21699
IAST [candidate] (21.79 ms) : 0, 21790
section iast
BytebuddyAgent [baseline] (838.483 ms) : 0, 838483
BytebuddyAgent [candidate] (837.894 ms) : 0, 837894
GlobalTracer [baseline] (230.35 ms) : 0, 230350
GlobalTracer [candidate] (229.344 ms) : 0, 229344
AppSec [baseline] (55.174 ms) : 0, 55174
AppSec [candidate] (54.112 ms) : 0, 54112
Debugger [baseline] (4.227 ms) : 0, 4227
Debugger [candidate] (4.221 ms) : 0, 4221
Remote Config [baseline] (617.0 µs) : 0, 617
Remote Config [candidate] (603.866 µs) : 0, 604
Telemetry [baseline] (8.742 ms) : 0, 8742
Telemetry [candidate] (8.675 ms) : 0, 8675
IAST [baseline] (23.451 ms) : 0, 23451
IAST [candidate] (24.347 ms) : 0, 24347
section profiling
BytebuddyAgent [baseline] (712.298 ms) : 0, 712298
BytebuddyAgent [candidate] (719.205 ms) : 0, 719205
GlobalTracer [baseline] (359.781 ms) : 0, 359781
GlobalTracer [candidate] (362.619 ms) : 0, 362619
AppSec [baseline] (53.871 ms) : 0, 53871
AppSec [candidate] (53.692 ms) : 0, 53692
Debugger [baseline] (4.345 ms) : 0, 4345
Debugger [candidate] (4.419 ms) : 0, 4419
Remote Config [baseline] (649.369 µs) : 0, 649
Remote Config [candidate] (655.076 µs) : 0, 655
Telemetry [baseline] (8.896 ms) : 0, 8896
Telemetry [candidate] (9.017 ms) : 0, 9017
ProfilingAgent [baseline] (101.195 ms) : 0, 101195
ProfilingAgent [candidate] (103.162 ms) : 0, 103162
Profiling [baseline] (101.221 ms) : 0, 101221
Profiling [candidate] (103.188 ms) : 0, 103188
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.49.0-SNAPSHOT~f4d3b10eb6, baseline=1.49.0-SNAPSHOT~b00c24e26a
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.063 s) : 0, 1063162
Total [baseline] (8.674 s) : 0, 8673843
Agent [candidate] (1.062 s) : 0, 1061732
Total [candidate] (8.68 s) : 0, 8679959
section iast
Agent [baseline] (1.182 s) : 0, 1182361
Total [baseline] (9.207 s) : 0, 9206580
Agent [candidate] (1.185 s) : 0, 1185230
Total [candidate] (9.231 s) : 0, 9231045
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.191 s) : 0, 1191317
Total [baseline] (9.237 s) : 0, 9237498
Agent [candidate] (1.185 s) : 0, 1185438
Total [candidate] (9.233 s) : 0, 9232722
section iast_TELEMETRY_OFF
Agent [baseline] (1.175 s) : 0, 1174579
Total [baseline] (9.228 s) : 0, 9228284
Agent [candidate] (1.184 s) : 0, 1184064
Total [candidate] (9.24 s) : 0, 9239558
gantt
title insecure-bank - break down per module: candidate=1.49.0-SNAPSHOT~f4d3b10eb6, baseline=1.49.0-SNAPSHOT~b00c24e26a
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (725.101 ms) : 0, 725101
BytebuddyAgent [candidate] (725.585 ms) : 0, 725585
GlobalTracer [baseline] (240.347 ms) : 0, 240347
GlobalTracer [candidate] (240.288 ms) : 0, 240288
AppSec [baseline] (55.467 ms) : 0, 55467
AppSec [candidate] (56.595 ms) : 0, 56595
Debugger [baseline] (5.135 ms) : 0, 5135
Debugger [candidate] (4.349 ms) : 0, 4349
Remote Config [baseline] (3.536 ms) : 0, 3536
Remote Config [candidate] (1.41 ms) : 0, 1410
Telemetry [baseline] (10.045 ms) : 0, 10045
Telemetry [candidate] (9.888 ms) : 0, 9888
section iast
BytebuddyAgent [baseline] (837.603 ms) : 0, 837603
BytebuddyAgent [candidate] (839.648 ms) : 0, 839648
GlobalTracer [baseline] (229.971 ms) : 0, 229971
GlobalTracer [candidate] (230.046 ms) : 0, 230046
IAST [baseline] (25.863 ms) : 0, 25863
IAST [candidate] (22.955 ms) : 0, 22955
AppSec [baseline] (52.123 ms) : 0, 52123
AppSec [candidate] (55.687 ms) : 0, 55687
Debugger [baseline] (4.181 ms) : 0, 4181
Debugger [candidate] (4.197 ms) : 0, 4197
Remote Config [baseline] (602.821 µs) : 0, 603
Remote Config [candidate] (601.713 µs) : 0, 602
Telemetry [baseline] (8.685 ms) : 0, 8685
Telemetry [candidate] (8.696 ms) : 0, 8696
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (845.146 ms) : 0, 845146
BytebuddyAgent [candidate] (839.88 ms) : 0, 839880
GlobalTracer [baseline] (230.377 ms) : 0, 230377
GlobalTracer [candidate] (229.838 ms) : 0, 229838
IAST [baseline] (24.409 ms) : 0, 24409
IAST [candidate] (22.905 ms) : 0, 22905
AppSec [baseline] (54.231 ms) : 0, 54231
AppSec [candidate] (55.832 ms) : 0, 55832
Debugger [baseline] (4.258 ms) : 0, 4258
Debugger [candidate] (4.218 ms) : 0, 4218
Remote Config [baseline] (613.137 µs) : 0, 613
Remote Config [candidate] (610.216 µs) : 0, 610
Telemetry [baseline] (8.802 ms) : 0, 8802
Telemetry [candidate] (8.694 ms) : 0, 8694
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (832.356 ms) : 0, 832356
BytebuddyAgent [candidate] (838.516 ms) : 0, 838516
GlobalTracer [baseline] (228.201 ms) : 0, 228201
GlobalTracer [candidate] (230.097 ms) : 0, 230097
IAST [baseline] (22.342 ms) : 0, 22342
IAST [candidate] (22.651 ms) : 0, 22651
AppSec [baseline] (55.215 ms) : 0, 55215
AppSec [candidate] (55.895 ms) : 0, 55895
Debugger [baseline] (4.053 ms) : 0, 4053
Debugger [candidate] (4.166 ms) : 0, 4166
Remote Config [baseline] (609.088 µs) : 0, 609
Remote Config [candidate] (633.245 µs) : 0, 633
Telemetry [baseline] (8.596 ms) : 0, 8596
Telemetry [candidate] (8.677 ms) : 0, 8677
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 1 performance regressions! Performance is the same for 12 metrics, 17 unstable metrics.
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.49.0-SNAPSHOT~f4d3b10eb6, baseline=1.49.0-SNAPSHOT~b00c24e26a
dateFormat X
axisFormat %s
section baseline
no_agent (377.786 µs) : 358, 397
. : milestone, 378,
iast (517.516 µs) : 495, 540
. : milestone, 518,
iast_FULL (732.313 µs) : 710, 754
. : milestone, 732,
iast_GLOBAL (565.965 µs) : 543, 589
. : milestone, 566,
iast_HARDCODED_SECRET_DISABLED (513.278 µs) : 491, 535
. : milestone, 513,
iast_INACTIVE (457.262 µs) : 436, 478
. : milestone, 457,
iast_TELEMETRY_OFF (504.543 µs) : 482, 527
. : milestone, 505,
tracing (462.577 µs) : 441, 484
. : milestone, 463,
section candidate
no_agent (389.853 µs) : 370, 410
. : milestone, 390,
iast (511.134 µs) : 489, 533
. : milestone, 511,
iast_FULL (730.392 µs) : 708, 752
. : milestone, 730,
iast_GLOBAL (557.593 µs) : 536, 579
. : milestone, 558,
iast_HARDCODED_SECRET_DISABLED (507.501 µs) : 486, 529
. : milestone, 508,
iast_INACTIVE (464.679 µs) : 443, 487
. : milestone, 465,
iast_TELEMETRY_OFF (501.019 µs) : 479, 523
. : milestone, 501,
tracing (460.659 µs) : 439, 482
. : milestone, 461,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.49.0-SNAPSHOT~f4d3b10eb6, baseline=1.49.0-SNAPSHOT~b00c24e26a
dateFormat X
axisFormat %s
section baseline
no_agent (1.354 ms) : 1335, 1373
. : milestone, 1354,
appsec (1.741 ms) : 1717, 1765
. : milestone, 1741,
appsec_no_iast (1.745 ms) : 1721, 1769
. : milestone, 1745,
code_origins (1.691 ms) : 1663, 1718
. : milestone, 1691,
iast (1.524 ms) : 1500, 1547
. : milestone, 1524,
profiling (1.524 ms) : 1500, 1547
. : milestone, 1524,
tracing (1.493 ms) : 1468, 1518
. : milestone, 1493,
section candidate
no_agent (1.336 ms) : 1317, 1356
. : milestone, 1336,
appsec (1.734 ms) : 1710, 1758
. : milestone, 1734,
appsec_no_iast (1.72 ms) : 1697, 1743
. : milestone, 1720,
code_origins (1.695 ms) : 1668, 1722
. : milestone, 1695,
iast (1.531 ms) : 1507, 1555
. : milestone, 1531,
profiling (1.584 ms) : 1559, 1608
. : milestone, 1584,
tracing (1.5 ms) : 1477, 1524
. : milestone, 1500,
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.49.0-SNAPSHOT~f4d3b10eb6, baseline=1.49.0-SNAPSHOT~b00c24e26a
dateFormat X
axisFormat %s
section baseline
no_agent (1.473 ms) : 1462, 1484
. : milestone, 1473,
appsec (2.349 ms) : 2305, 2393
. : milestone, 2349,
iast (2.127 ms) : 2071, 2182
. : milestone, 2127,
iast_GLOBAL (2.168 ms) : 2112, 2224
. : milestone, 2168,
profiling (1.998 ms) : 1953, 2044
. : milestone, 1998,
tracing (1.972 ms) : 1929, 2015
. : milestone, 1972,
section candidate
no_agent (1.475 ms) : 1463, 1486
. : milestone, 1475,
appsec (2.35 ms) : 2307, 2394
. : milestone, 2350,
iast (2.14 ms) : 2084, 2196
. : milestone, 2140,
iast_GLOBAL (2.168 ms) : 2112, 2224
. : milestone, 2168,
profiling (2.002 ms) : 1956, 2047
. : milestone, 2002,
tracing (1.958 ms) : 1915, 2001
. : milestone, 1958,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.49.0-SNAPSHOT~f4d3b10eb6, baseline=1.49.0-SNAPSHOT~b00c24e26a
dateFormat X
axisFormat %s
section baseline
no_agent (15.072 s) : 15072000, 15072000
. : milestone, 15072000,
appsec (14.82 s) : 14820000, 14820000
. : milestone, 14820000,
iast (19.028 s) : 19028000, 19028000
. : milestone, 19028000,
iast_GLOBAL (17.478 s) : 17478000, 17478000
. : milestone, 17478000,
profiling (15.077 s) : 15077000, 15077000
. : milestone, 15077000,
tracing (15.055 s) : 15055000, 15055000
. : milestone, 15055000,
section candidate
no_agent (15.394 s) : 15394000, 15394000
. : milestone, 15394000,
appsec (14.78 s) : 14780000, 14780000
. : milestone, 14780000,
iast (18.413 s) : 18413000, 18413000
. : milestone, 18413000,
iast_GLOBAL (18.137 s) : 18137000, 18137000
. : milestone, 18137000,
profiling (15.067 s) : 15067000, 15067000
. : milestone, 15067000,
tracing (15.115 s) : 15115000, 15115000
. : milestone, 15115000,
|
@@ -45,7 +46,7 @@ | |||
*/ | |||
public final class AgentBootstrap { | |||
static final String LIB_INJECTION_ENABLED_FLAG = "DD_INJECTION_ENABLED"; | |||
static final String LIB_INJECTION_FORCE_FLAG = "DD_INJECT_FORCE"; | |||
static final String LIB_INJECTION_FORCE_FLAG = "dd.inject.force"; |
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 we rename this property and the other env var?
Both being labeled as flags, but being different name types is a bit confusing.
e.g. LIB_INJECTION_ENABLED_ENV_AR & LIB_INJECTION_FORCE_PROPERTY
Hi! 👋 Thanks for your pull request! 🎉 To help us review it, please make sure to:
If you need help, please check our contributing guidelines. |
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-logging](https://github.com/googleapis/java-logging) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `3.22.2` -> `3.22.3` | | [com.google.cloud:google-cloud-datastore](https://github.com/googleapis/java-datastore) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.28.0` -> `2.28.1` | | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.48.2` -> `1.49.0` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.36` -> `2.31.37` | | [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.36` -> `2.31.37` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.36` -> `2.31.37` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.36` -> `2.31.37` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.36` -> `2.31.37` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.36` -> `2.31.37` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.36` -> `2.31.37` | --- ### Release Notes <details> <summary>googleapis/java-logging (com.google.cloud:google-cloud-logging)</summary> ### [`v3.22.3`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3223-2025-05-06) ##### Bug Fixes - **deps:** Update the Java code generator (gapic-generator-java) to 2.56.3 ([844f4fa](googleapis/java-logging@844f4fa)) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.46.3 ([#​1801](googleapis/java-logging#1801)) ([d7aa7bc](googleapis/java-logging@d7aa7bc)) - Update dependency com.google.cloud:sdk-platform-java-config to v3.47.0 ([#​1803](googleapis/java-logging#1803)) ([5967ffe](googleapis/java-logging@5967ffe)) - Update googleapis/sdk-platform-java action to v2.57.0 ([#​1804](googleapis/java-logging#1804)) ([e9a27ec](googleapis/java-logging@e9a27ec)) </details> <details> <summary>googleapis/java-datastore (com.google.cloud:google-cloud-datastore)</summary> ### [`v2.28.1`](https://github.com/googleapis/java-datastore/blob/HEAD/CHANGELOG.md#2281-2025-05-06) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.47.0 ([#​1841](googleapis/java-datastore#1841)) ([ac393e6](googleapis/java-datastore@ac393e6)) - Update googleapis/sdk-platform-java action to v2.57.0 ([#​1842](googleapis/java-datastore#1842)) ([0745906](googleapis/java-datastore@0745906)) </details> <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.49.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.49.0): 1.49.0 ### Components #### Configuration at Runtime - ✨ Add process tags as list to remote config payload ([#​8705](DataDog/dd-trace-java#8705) - [@​amarziali](https://github.com/amarziali)) #### Continuous Integration Visibility - 🐛 Add span propagation for Pekko scheduled tasks ([#​8765](DataDog/dd-trace-java#8765) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Update test.retry_reason to use full name of the feature ([#​8689](DataDog/dd-trace-java#8689) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - 🧹 Remove unused TestEventsHandler methods ([#​8674](DataDog/dd-trace-java#8674) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) #### Dynamic Instrumentation - 🐛 Fix exclude identifiers normalization ([#​8742](DataDog/dd-trace-java#8742) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Make source file tracking asynchronous ([#​8684](DataDog/dd-trace-java#8684) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add scope filtering for symbol extraction ([#​8676](DataDog/dd-trace-java#8676) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add support for [@​key](https://github.com/key) and [@​value](https://github.com/value) for Map filtering ([#​8669](DataDog/dd-trace-java#8669) - [@​jpbempel](https://github.com/jpbempel)) #### Library Injection - ✨ Add system property to force injection of the tracing library even though multiple javaagents have been detected ([#​8697](DataDog/dd-trace-java#8697) - [@​cecile75](https://github.com/cecile75)) #### Metrics - ✨ Allow dogstatsd port to be configurable with DD_DOGSTATSD_PORT ([#​8693](DataDog/dd-trace-java#8693) - [@​randomanderson](https://github.com/randomanderson)) #### Profiling - ✨ Bump ddprof-java to 1.25.1 ([#​8750](DataDog/dd-trace-java#8750) - [@​jbachorik](https://github.com/jbachorik)) - 🐛 Remove cleanup-on-shutdown for temporary files ([#​8746](DataDog/dd-trace-java#8746) - [@​jbachorik](https://github.com/jbachorik)) - ✨⚡ Replace a regex-based SMAP parser with a hand-crafted one ([#​8730](DataDog/dd-trace-java#8730) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Improve error reporting on profiler startup ([#​8714](DataDog/dd-trace-java#8714) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Exclude ProxyLeakTask exception from exception profiling ([#​8666](DataDog/dd-trace-java#8666) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Use jvmstat for JDKs 9+ programmatically ([#​8641](DataDog/dd-trace-java#8641) - [@​MattAlp](https://github.com/MattAlp)) #### Telemetry - ✨ Allow dogstatsd port to be configurable with DD_DOGSTATSD_PORT ([#​8693](DataDog/dd-trace-java#8693) - [@​randomanderson](https://github.com/randomanderson)) - 🐛 Fix appsec.waf.requests telemetry metric ([#​8644](DataDog/dd-trace-java#8644) - [@​jandro996](https://github.com/jandro996)) #### Tracer core - ✨ Exclude jackson afterburner dynamic classes from instrumentation ([#​8747](DataDog/dd-trace-java#8747) - [@​amarziali](https://github.com/amarziali)) - ✨ Introduce Java 8 bytecode bridge for instrumentation API ([#​8736](DataDog/dd-trace-java#8736) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - ⚡🧹 Use byte-buddy classes optimized for Java8+ ([#​8735](DataDog/dd-trace-java#8735) - [@​mcculls](https://github.com/mcculls)) - 🐛 Do not set the hibernate or datanucleus span service name when disabled ([#​8727](DataDog/dd-trace-java#8727) - [@​ygree](https://github.com/ygree)) - ✨ Update bytebuddy and ASM to support JDK 24 ([#​8720](DataDog/dd-trace-java#8720) - [@​sarahchen6](https://github.com/sarahchen6)) - 🐛 Turn off JDK socket support by default ([#​8715](DataDog/dd-trace-java#8715) - [@​mcculls](https://github.com/mcculls)) - 🐛 Log warning when trace buffer overflow occurs ([#​8712](DataDog/dd-trace-java#8712) - [@​ygree](https://github.com/ygree)) - ✨🧪 Introducing an internal integration name ([#​8708](DataDog/dd-trace-java#8708) - [@​amarziali](https://github.com/amarziali)) - ✨ Add process tags to client stats payload ([#​8704](DataDog/dd-trace-java#8704) - [@​amarziali](https://github.com/amarziali)) - ✨ Collect process tags for tracing ([#​8698](DataDog/dd-trace-java#8698) - [@​amarziali](https://github.com/amarziali)) - ✨ Stable Config file: target system properties in process_arguments and support template variables in YamlParser ([#​8690](DataDog/dd-trace-java#8690) - [@​mtoffl01](https://github.com/mtoffl01)) - ✨⚡ Use prefix trie for proxy ignores ([#​8678](DataDog/dd-trace-java#8678) - [@​amarziali](https://github.com/amarziali)) - ✨ Allow agent to be automatically injected when running aside Log4J patch agent ([#​8648](DataDog/dd-trace-java#8648) - [@​paullegranddc](https://github.com/paullegranddc)) - ✨ Use jvmstat for JDKs 9+ programmatically ([#​8641](DataDog/dd-trace-java#8641) - [@​MattAlp](https://github.com/MattAlp)) #### Tracer internal logging - 🐛 Delete print line ([#​8686](DataDog/dd-trace-java#8686) - [@​sarahchen6](https://github.com/sarahchen6)) ### Instrumentations #### Akka instrumentation - 🐛 Handle reentrant scope cleanup in Akka/Pekko actor instrumentations ([#​8722](DataDog/dd-trace-java#8722) - [@​mcculls](https://github.com/mcculls)) #### Apache Spark instrumentation - ✨ Use OpenLineage root parent information to generate trace id ([#​8726](DataDog/dd-trace-java#8726) - [@​mobuchowski](https://github.com/mobuchowski)) - ✨ Spark job cancellation no longer marks application as failed ([#​8701](DataDog/dd-trace-java#8701) - [@​paul-laffon-dd](https://github.com/paul-laffon-dd)) #### JDBC instrumentation - 💡 Add support for sybase tds jdbc driver ([#​8764](DataDog/dd-trace-java#8764) - [@​amarziali](https://github.com/amarziali)) #### Kotlin instrumentation - 🐛 Take defensive copy of parent scope stack when closing nested coroutines ([#​8749](DataDog/dd-trace-java#8749) - [@​mcculls](https://github.com/mcculls)) #### Reactor instrumentation - ✨⚡ Do not inspect reactor context when not needed ([#​8745](DataDog/dd-trace-java#8745) - [@​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**: Enabled. ♻ **Rebasing**: Never, 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: 795f347ae34d056efc1194c2f606cee7bca1beea
What Does This Do
Add the possibility to use a system property to force injection of the tracing library even though multiple javaagents have been detected.
Forcing the library injection can now be done:
DD_INJECT_FORCE
to 1 or truedd.inject.force
to 1 or trueMotivation
APMS-15377
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: [PROJ-IDENT]