-
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
Use Java home of the crashed process to launch crash uploader #8348
Conversation
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.47.0-SNAPSHOT~5531c7d4af, baseline=1.47.0-SNAPSHOT~3f4b7a8a2b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.042 s) : 0, 1042328
Total [baseline] (10.479 s) : 0, 10479368
Agent [candidate] (1.045 s) : 0, 1044683
Total [candidate] (10.464 s) : 0, 10464164
section appsec
Agent [baseline] (1.195 s) : 0, 1194531
Total [baseline] (10.778 s) : 0, 10777604
Agent [candidate] (1.189 s) : 0, 1188728
Total [candidate] (10.825 s) : 0, 10824935
section iast
Agent [baseline] (1.173 s) : 0, 1173400
Total [baseline] (10.979 s) : 0, 10979454
Agent [candidate] (1.173 s) : 0, 1173360
Total [candidate] (10.932 s) : 0, 10932259
section profiling
Agent [baseline] (1.268 s) : 0, 1267743
Total [baseline] (10.907 s) : 0, 10907027
Agent [candidate] (1.274 s) : 0, 1274187
Total [candidate] (10.926 s) : 0, 10926442
gantt
title petclinic - break down per module: candidate=1.47.0-SNAPSHOT~5531c7d4af, baseline=1.47.0-SNAPSHOT~3f4b7a8a2b
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (716.913 ms) : 0, 716913
BytebuddyAgent [candidate] (716.567 ms) : 0, 716567
GlobalTracer [baseline] (243.509 ms) : 0, 243509
GlobalTracer [candidate] (243.385 ms) : 0, 243385
AppSec [baseline] (55.224 ms) : 0, 55224
AppSec [candidate] (55.04 ms) : 0, 55040
Remote Config [baseline] (715.923 µs) : 0, 716
Remote Config [candidate] (716.17 µs) : 0, 716
Telemetry [baseline] (10.751 ms) : 0, 10751
Telemetry [candidate] (13.702 ms) : 0, 13702
section appsec
BytebuddyAgent [baseline] (739.712 ms) : 0, 739712
BytebuddyAgent [candidate] (735.854 ms) : 0, 735854
GlobalTracer [baseline] (242.183 ms) : 0, 242183
GlobalTracer [candidate] (240.924 ms) : 0, 240924
AppSec [baseline] (177.154 ms) : 0, 177154
AppSec [candidate] (176.616 ms) : 0, 176616
Remote Config [baseline] (675.974 µs) : 0, 676
Remote Config [candidate] (685.666 µs) : 0, 686
Telemetry [baseline] (8.349 ms) : 0, 8349
Telemetry [candidate] (8.315 ms) : 0, 8315
IAST [baseline] (22.202 ms) : 0, 22202
IAST [candidate] (22.006 ms) : 0, 22006
section iast
BytebuddyAgent [baseline] (835.156 ms) : 0, 835156
BytebuddyAgent [candidate] (835.378 ms) : 0, 835378
GlobalTracer [baseline] (233.615 ms) : 0, 233615
GlobalTracer [candidate] (233.669 ms) : 0, 233669
AppSec [baseline] (57.099 ms) : 0, 57099
AppSec [candidate] (56.79 ms) : 0, 56790
Remote Config [baseline] (620.002 µs) : 0, 620
Remote Config [candidate] (622.077 µs) : 0, 622
Telemetry [baseline] (8.713 ms) : 0, 8713
Telemetry [candidate] (8.716 ms) : 0, 8716
IAST [baseline] (22.905 ms) : 0, 22905
IAST [candidate] (22.859 ms) : 0, 22859
section profiling
BytebuddyAgent [baseline] (710.102 ms) : 0, 710102
BytebuddyAgent [candidate] (712.976 ms) : 0, 712976
GlobalTracer [baseline] (354.356 ms) : 0, 354356
GlobalTracer [candidate] (356.942 ms) : 0, 356942
AppSec [baseline] (55.119 ms) : 0, 55119
AppSec [candidate] (54.909 ms) : 0, 54909
Remote Config [baseline] (711.556 µs) : 0, 712
Remote Config [candidate] (712.819 µs) : 0, 713
Telemetry [baseline] (8.928 ms) : 0, 8928
Telemetry [candidate] (9.05 ms) : 0, 9050
ProfilingAgent [baseline] (95.93 ms) : 0, 95930
ProfilingAgent [candidate] (96.903 ms) : 0, 96903
Profiling [baseline] (95.954 ms) : 0, 95954
Profiling [candidate] (96.932 ms) : 0, 96932
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.47.0-SNAPSHOT~5531c7d4af, baseline=1.47.0-SNAPSHOT~3f4b7a8a2b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.044 s) : 0, 1043838
Total [baseline] (8.659 s) : 0, 8658523
Agent [candidate] (1.051 s) : 0, 1050985
Total [candidate] (8.667 s) : 0, 8667172
section iast
Agent [baseline] (1.174 s) : 0, 1174231
Total [baseline] (9.213 s) : 0, 9213096
Agent [candidate] (1.175 s) : 0, 1175400
Total [candidate] (9.2 s) : 0, 9200499
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.176 s) : 0, 1176146
Total [baseline] (9.232 s) : 0, 9231622
Agent [candidate] (1.176 s) : 0, 1175589
Total [candidate] (9.249 s) : 0, 9249094
section iast_TELEMETRY_OFF
Agent [baseline] (1.17 s) : 0, 1170444
Total [baseline] (9.215 s) : 0, 9215029
Agent [candidate] (1.171 s) : 0, 1171444
Total [candidate] (9.238 s) : 0, 9238154
gantt
title insecure-bank - break down per module: candidate=1.47.0-SNAPSHOT~5531c7d4af, baseline=1.47.0-SNAPSHOT~3f4b7a8a2b
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (717.29 ms) : 0, 717290
BytebuddyAgent [candidate] (722.722 ms) : 0, 722722
GlobalTracer [baseline] (243.334 ms) : 0, 243334
GlobalTracer [candidate] (245.055 ms) : 0, 245055
AppSec [baseline] (55.022 ms) : 0, 55022
AppSec [candidate] (55.548 ms) : 0, 55548
Remote Config [baseline] (731.497 µs) : 0, 731
Remote Config [candidate] (733.305 µs) : 0, 733
Telemetry [baseline] (12.22 ms) : 0, 12220
Telemetry [candidate] (11.61 ms) : 0, 11610
section iast
BytebuddyAgent [baseline] (835.469 ms) : 0, 835469
BytebuddyAgent [candidate] (837.139 ms) : 0, 837139
GlobalTracer [baseline] (233.874 ms) : 0, 233874
GlobalTracer [candidate] (234.018 ms) : 0, 234018
IAST [baseline] (22.928 ms) : 0, 22928
IAST [candidate] (22.782 ms) : 0, 22782
AppSec [baseline] (57.294 ms) : 0, 57294
AppSec [candidate] (56.967 ms) : 0, 56967
Remote Config [baseline] (621.163 µs) : 0, 621
Remote Config [candidate] (608.073 µs) : 0, 608
Telemetry [baseline] (8.732 ms) : 0, 8732
Telemetry [candidate] (8.642 ms) : 0, 8642
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (836.903 ms) : 0, 836903
BytebuddyAgent [candidate] (836.274 ms) : 0, 836274
GlobalTracer [baseline] (234.595 ms) : 0, 234595
GlobalTracer [candidate] (234.474 ms) : 0, 234474
IAST [baseline] (22.876 ms) : 0, 22876
IAST [candidate] (22.986 ms) : 0, 22986
AppSec [baseline] (57.086 ms) : 0, 57086
AppSec [candidate] (57.094 ms) : 0, 57094
Remote Config [baseline] (615.919 µs) : 0, 616
Remote Config [candidate] (627.726 µs) : 0, 628
Telemetry [baseline] (8.733 ms) : 0, 8733
Telemetry [candidate] (8.739 ms) : 0, 8739
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (832.343 ms) : 0, 832343
BytebuddyAgent [candidate] (833.745 ms) : 0, 833745
GlobalTracer [baseline] (233.683 ms) : 0, 233683
GlobalTracer [candidate] (234.416 ms) : 0, 234416
IAST [baseline] (23.281 ms) : 0, 23281
IAST [candidate] (27.554 ms) : 0, 27554
AppSec [baseline] (56.66 ms) : 0, 56660
AppSec [candidate] (51.171 ms) : 0, 51171
Remote Config [baseline] (618.044 µs) : 0, 618
Remote Config [candidate] (621.499 µs) : 0, 621
Telemetry [baseline] (8.681 ms) : 0, 8681
Telemetry [candidate] (8.608 ms) : 0, 8608
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.47.0-SNAPSHOT~5531c7d4af, baseline=1.47.0-SNAPSHOT~3f4b7a8a2b
dateFormat X
axisFormat %s
section baseline
no_agent (377.313 µs) : 358, 397
. : milestone, 377,
iast (509.044 µs) : 487, 531
. : milestone, 509,
iast_FULL (737.296 µs) : 715, 759
. : milestone, 737,
iast_GLOBAL (554.484 µs) : 532, 577
. : milestone, 554,
iast_HARDCODED_SECRET_DISABLED (506.361 µs) : 484, 529
. : milestone, 506,
iast_INACTIVE (463.419 µs) : 442, 485
. : milestone, 463,
iast_TELEMETRY_OFF (498.278 µs) : 475, 522
. : milestone, 498,
tracing (447.431 µs) : 427, 468
. : milestone, 447,
section candidate
no_agent (373.001 µs) : 353, 393
. : milestone, 373,
iast (503.609 µs) : 482, 526
. : milestone, 504,
iast_FULL (734.669 µs) : 713, 757
. : milestone, 735,
iast_GLOBAL (557.497 µs) : 534, 581
. : milestone, 557,
iast_HARDCODED_SECRET_DISABLED (502.651 µs) : 481, 524
. : milestone, 503,
iast_INACTIVE (449.749 µs) : 429, 471
. : milestone, 450,
iast_TELEMETRY_OFF (495.046 µs) : 472, 518
. : milestone, 495,
tracing (453.538 µs) : 432, 475
. : milestone, 454,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.47.0-SNAPSHOT~5531c7d4af, baseline=1.47.0-SNAPSHOT~3f4b7a8a2b
dateFormat X
axisFormat %s
section baseline
no_agent (1.347 ms) : 1328, 1367
. : milestone, 1347,
appsec (1.751 ms) : 1728, 1775
. : milestone, 1751,
appsec_no_iast (1.757 ms) : 1732, 1782
. : milestone, 1757,
iast (1.51 ms) : 1486, 1535
. : milestone, 1510,
profiling (1.516 ms) : 1493, 1539
. : milestone, 1516,
tracing (1.484 ms) : 1459, 1510
. : milestone, 1484,
section candidate
no_agent (1.349 ms) : 1330, 1368
. : milestone, 1349,
appsec (1.751 ms) : 1728, 1774
. : milestone, 1751,
appsec_no_iast (1.75 ms) : 1726, 1775
. : milestone, 1750,
iast (1.504 ms) : 1479, 1529
. : milestone, 1504,
profiling (1.52 ms) : 1495, 1545
. : milestone, 1520,
tracing (1.474 ms) : 1449, 1499
. : milestone, 1474,
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.47.0-SNAPSHOT~5531c7d4af, baseline=1.47.0-SNAPSHOT~3f4b7a8a2b
dateFormat X
axisFormat %s
section baseline
no_agent (14.969 s) : 14969000, 14969000
. : milestone, 14969000,
appsec (14.757 s) : 14757000, 14757000
. : milestone, 14757000,
iast (18.739 s) : 18739000, 18739000
. : milestone, 18739000,
iast_GLOBAL (18.09 s) : 18090000, 18090000
. : milestone, 18090000,
profiling (15.263 s) : 15263000, 15263000
. : milestone, 15263000,
tracing (15.218 s) : 15218000, 15218000
. : milestone, 15218000,
section candidate
no_agent (15.359 s) : 15359000, 15359000
. : milestone, 15359000,
appsec (14.937 s) : 14937000, 14937000
. : milestone, 14937000,
iast (18.873 s) : 18873000, 18873000
. : milestone, 18873000,
iast_GLOBAL (17.579 s) : 17579000, 17579000
. : milestone, 17579000,
profiling (15.274 s) : 15274000, 15274000
. : milestone, 15274000,
tracing (14.971 s) : 14971000, 14971000
. : milestone, 14971000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.47.0-SNAPSHOT~5531c7d4af, baseline=1.47.0-SNAPSHOT~3f4b7a8a2b
dateFormat X
axisFormat %s
section baseline
no_agent (1.465 ms) : 1454, 1477
. : milestone, 1465,
appsec (2.359 ms) : 2315, 2402
. : milestone, 2359,
iast (2.102 ms) : 2047, 2157
. : milestone, 2102,
iast_GLOBAL (2.146 ms) : 2091, 2202
. : milestone, 2146,
profiling (1.981 ms) : 1937, 2026
. : milestone, 1981,
tracing (1.936 ms) : 1894, 1978
. : milestone, 1936,
section candidate
no_agent (1.467 ms) : 1455, 1478
. : milestone, 1467,
appsec (2.339 ms) : 2296, 2382
. : milestone, 2339,
iast (2.102 ms) : 2047, 2157
. : milestone, 2102,
iast_GLOBAL (2.141 ms) : 2085, 2196
. : milestone, 2141,
profiling (1.967 ms) : 1923, 2011
. : milestone, 1967,
tracing (1.934 ms) : 1892, 1976
. : milestone, 1934,
|
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.
Nice idea of improvement!
Quick question: instead of creating a ensureJava
function, why not using the legacy template mechanism to inject the java.home
property using a !JAVA_HOME!
placeholder?
Sorry, I don't have the full context here, but it felt more reliable that using bash function (not sure how well they are supported on legacy OS 🤷 )
I left few comments about possible space escaping too.
dd-java-agent/agent-crashtracking/src/main/resources/com/datadog/crashtracking/notify_oome.bat
Outdated
Show resolved
Hide resolved
dd-java-agent/agent-crashtracking/src/main/resources/com/datadog/crashtracking/notify_oome.sh
Outdated
Show resolved
Hide resolved
dd-java-agent/agent-crashtracking/src/main/resources/com/datadog/crashtracking/upload_crash.sh
Outdated
Show resolved
Hide resolved
dd-java-agent/agent-crashtracking/src/main/resources/com/datadog/crashtracking/upload_crash.bat
Outdated
Show resolved
Hide resolved
D'oh! Good catch .. I was completely blindsided ... Will fix this. |
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.46.1` -> `1.47.0` | | [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.46.1` -> `1.47.0` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | --- ### Release Notes <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.47.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.47.0): 1.47.0 ##### Components ##### Application Security Management (IAST) - 🐛 Exclude com.stripe.net.HttpURLConnectionClient to solve IAST SSRF vulnerability false positives ([#​8483](DataDog/dd-trace-java#8483) - [@​jandro996](https://github.com/jandro996)) - 🐛 Add exclusion to solve IAST weak randomness vulnerability false positives ([#​8462](DataDog/dd-trace-java#8462) - [@​jandro996](https://github.com/jandro996)) - ✨ Fix weak randomness false positive in Kafka client ([#​8408](DataDog/dd-trace-java#8408) - [@​smola](https://github.com/smola)) - ✨ Fix location for SSRF with Kong Unirest ([#​8407](DataDog/dd-trace-java#8407) - [@​smola](https://github.com/smola)) - ✨ Exclude IBM Instana from IAST ([#​8406](DataDog/dd-trace-java#8406) - [@​smola](https://github.com/smola)) - 🐛 Fix org.json iast instrumentation test for latest dependency ([#​8347](DataDog/dd-trace-java#8347) - [@​jandro996](https://github.com/jandro996)) - ✨ Configuration to Disable APM Tracing ([#​8219](DataDog/dd-trace-java#8219) - [@​jandro996](https://github.com/jandro996)) - ✨ Address cookie vulnerability cardinality issues ([#​8210](DataDog/dd-trace-java#8210) - [@​jandro996](https://github.com/jandro996)) - ✨ Email HTML Injection detection in IAST ([#​8205](DataDog/dd-trace-java#8205) - [@​sezen-datadog](https://github.com/sezen-datadog)) ##### Application Security Management (WAF) - 🐛✨ Ensure usr.exists tag is not overridden when UsernameNotFoundException is thrown ([#​8376](DataDog/dd-trace-java#8376) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - 🐛✨ Ensure usr.exists tag is not overridden by auto instrumentation ([#​8374](DataDog/dd-trace-java#8374) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Update appsec metrics with event_rules_version tag ([#​8354](DataDog/dd-trace-java#8354) - [@​sezen-datadog](https://github.com/sezen-datadog)) - ✨ Update metrics: appsec.waf.requests ([#​8353](DataDog/dd-trace-java#8353) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Improve ASM support in vert.x 5.0 ([#​8285](DataDog/dd-trace-java#8285) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Update metrics: appsec.waf.updates and appsec.waf.init ([#​8280](DataDog/dd-trace-java#8280) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Configuration to Disable APM Tracing ([#​8219](DataDog/dd-trace-java#8219) - [@​jandro996](https://github.com/jandro996)) ##### Build & Tooling - 🐛 Do not generate Muzzle references for primitive arrays in method body ([#​8361](DataDog/dd-trace-java#8361) - [@​amarziali](https://github.com/amarziali)) - 📖 Improve dev env setup documentation for Windows ([#​8180](DataDog/dd-trace-java#8180) - [@​lucaspimentel](https://github.com/lucaspimentel)) ##### Continuous Integration Visibility - ✨ Add support for skip-EFD tagging ([#​8487](DataDog/dd-trace-java#8487) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix an NPE in Gradle Android instrumentation ([#​8484](DataDog/dd-trace-java#8484) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Consider modified tests when applying fail-fast tests ordering ([#​8474](DataDog/dd-trace-java#8474) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Implement tests reordering for TestNG ([#​8467](DataDog/dd-trace-java#8467) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix Gradle Launcher instrumentation to not interfere with Gradle Test Kit ([#​8465](DataDog/dd-trace-java#8465) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🧹 Use separate TestEventHandlers per framework in CI Vis instrumentations ([#​8451](DataDog/dd-trace-java#8451) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Remove warning log when JUnit 4 test method cannot be retrieved ([#​8445](DataDog/dd-trace-java#8445) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix Scalatest tracing for tests that are reported asynchronously ([#​8444](DataDog/dd-trace-java#8444) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Implement attempt to fix tests ([#​8393](DataDog/dd-trace-java#8393) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Implement test disabling ([#​8377](DataDog/dd-trace-java#8377) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Update CODEOWNERS parser to not log errors on comments with leading whitespace ([#​8349](DataDog/dd-trace-java#8349) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Request Test Management tests list ([#​8345](DataDog/dd-trace-java#8345) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Receive test management settings from CIVis settings request ([#​8331](DataDog/dd-trace-java#8331) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Implement quarantined tests tagging ([#​8326](DataDog/dd-trace-java#8326) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Implement tests quarantining ([#​8320](DataDog/dd-trace-java#8320) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Add tag to specify if the user is setting DD_SERVICE ([#​8318](DataDog/dd-trace-java#8318) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) ##### Crash tracking - ✨ Only fork jps when required ([#​8419](DataDog/dd-trace-java#8419) - [@​mcculls](https://github.com/mcculls)) - 🐛 Use Java home of the crashed process to launch crash uploader ([#​8348](DataDog/dd-trace-java#8348) - [@​jbachorik](https://github.com/jbachorik)) ##### Data Streams Monitoring - 🐛 Fix error happening when sqs message attributes are readonly ([#​8473](DataDog/dd-trace-java#8473) - [@​vandonr](https://github.com/vandonr)) - 🐛 Fix bug on proto schema extraction ([#​8403](DataDog/dd-trace-java#8403) - [@​vandonr](https://github.com/vandonr)) - 🐛 Fix service name overrides in consumers ([#​8387](DataDog/dd-trace-java#8387) - [@​piochelepiotr](https://github.com/piochelepiotr)) ##### Database Monitoring - ✨ Add DBMTracePreparedStatements to tracer configuration log ([#​8508](DataDog/dd-trace-java#8508) - [@​cecile75](https://github.com/cecile75)) ##### Dynamic Instrumentation - ✨ Look in another location for grpc service methods ([#​8468](DataDog/dd-trace-java#8468) - [@​evanchooly](https://github.com/evanchooly)) - 🐛 Fix Exception Replay with Lambda proxy classes ([#​8452](DataDog/dd-trace-java#8452) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add code origin support for spring-webmvc ([#​8416](DataDog/dd-trace-java#8416) - [@​evanchooly](https://github.com/evanchooly)) - ✨ Add support for scanning jar from loaded class ([#​8370](DataDog/dd-trace-java#8370) - [@​jpbempel](https://github.com/jpbempel)) - 🐛 Disable capture of entry values ([#​8369](DataDog/dd-trace-java#8369) - [@​jpbempel](https://github.com/jpbempel)) - 🐛 Fix CodeOrigin for `@Trace` annotation ([#​8344](DataDog/dd-trace-java#8344) - [@​jpbempel](https://github.com/jpbempel)) - 🐛 Fix equals/hashCode for CodeOrigin probe ([#​8319](DataDog/dd-trace-java#8319) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add code origin support to kafka message listeners ([#​8301](DataDog/dd-trace-java#8301) - [@​evanchooly](https://github.com/evanchooly)) ##### Metrics - ✨ Create metric: appsec.waf.error ([#​8381](DataDog/dd-trace-java#8381) - [@​sezen-datadog](https://github.com/sezen-datadog)) - ✨ Create metric: appsec.rasp.error ([#​8364](DataDog/dd-trace-java#8364) - [@​sezen-datadog](https://github.com/sezen-datadog)) ##### Profiling - ✨ Bump ddprof library to 1.22.0 ([#​8463](DataDog/dd-trace-java#8463) - [@​jbachorik](https://github.com/jbachorik)) - IBM J9 8u361 corresponds to OpenJDK 8u362 by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#187 - Fix compatibility with musl libc 1.2.4 by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#189 - Modify version extraction by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#179 - Do not write null values to jvminfo event by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#184 - Productize VMStructs-based stack walker by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#177 - A few minor downport issues by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#180 - Enable ASGCT by default on fairly safe J9 JDK versions by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#181 - 🐛 Exclude OrderedThreadPoolExecutor from queue-time measurements ([#​8456](DataDog/dd-trace-java#8456) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Record JVM info on JVMs without JFR ([#​8431](DataDog/dd-trace-java#8431) - [@​jbachorik](https://github.com/jbachorik)) - 🐛 Actually use CleanupTask in TempLocationManager ([#​8420](DataDog/dd-trace-java#8420) - [@​mcculls](https://github.com/mcculls)) - ✨ Only fork jps when required ([#​8419](DataDog/dd-trace-java#8419) - [@​mcculls](https://github.com/mcculls)) - 🐛 Adjust JFR checks for J9 ([#​8405](DataDog/dd-trace-java#8405) - [@​jbachorik](https://github.com/jbachorik)) - 🧹 Disable smap RSS parsing by default ([#​8342](DataDog/dd-trace-java#8342) - [@​MattAlp](https://github.com/MattAlp)) ##### Telemetry - 🐛 Add support for JBoss jar:file format to DependencyResolver ([#​8428](DataDog/dd-trace-java#8428) - [@​jandro996](https://github.com/jandro996)) - ✨ Update metrics: appsec.waf.requests ([#​8353](DataDog/dd-trace-java#8353) - [@​Mariovido](https://github.com/Mariovido)) ##### Trace context propagation - ✨ Introduce tracing propagator ([#​8313](DataDog/dd-trace-java#8313) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) ##### Tracer core - 🐛 Fix Stable Config telemetry source names ([#​8460](DataDog/dd-trace-java#8460) - [@​BaptisteFoy](https://github.com/BaptisteFoy)) - ✨ Probe trace endpoints with a valid payload of empty arrays ([#​8414](DataDog/dd-trace-java#8414) - [@​mcculls](https://github.com/mcculls)) - ✨ Add 1 minute fail-safe to JUL/JMX class-loading callback ([#​8399](DataDog/dd-trace-java#8399) - [@​mcculls](https://github.com/mcculls)) - ✨ Migrate DSM injection calls to context-first APIs ([#​8383](DataDog/dd-trace-java#8383) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - 🧹 Move continuation capture methods from scope to tracer ([#​8371](DataDog/dd-trace-java#8371) - [@​mcculls](https://github.com/mcculls)) - ✨ Migrate context extraction calls to context-first APIs ([#​8368](DataDog/dd-trace-java#8368) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - 🧹 Migrate context injection calls to context-first APIs ([#​8358](DataDog/dd-trace-java#8358) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - 💡 Support reading configurations from files ([#​8338](DataDog/dd-trace-java#8338) - [@​mtoffl01](https://github.com/mtoffl01)) - 💡 Implementation of BaggagePropagator and BaggageContext ([#​8330](DataDog/dd-trace-java#8330) - [@​mhlidd](https://github.com/mhlidd)) - 🧹 Combine continuation implementations into one which supports multiple activations ([#​8324](DataDog/dd-trace-java#8324) - [@​mcculls](https://github.com/mcculls)) - ✨ Introduce tracing propagator ([#​8313](DataDog/dd-trace-java#8313) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - ✨ Remove old context propagation API ([#​8271](DataDog/dd-trace-java#8271) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) ##### Instrumentations ##### AWS Lambda instrumentation - 🐛 Send error message and stack to Lambda extension ([#​8417](DataDog/dd-trace-java#8417) - [@​nhulston](https://github.com/nhulston)) ##### AWS SDK instrumentation - 🐛 Fix error happening when sqs message attributes are readonly ([#​8473](DataDog/dd-trace-java#8473) - [@​vandonr](https://github.com/vandonr)) - 💡 Inject trace context into AWS Step Functions input ([#​7585](DataDog/dd-trace-java#7585) - [@​DylanLovesCoffee](https://github.com/DylanLovesCoffee)) ##### Core Java language instrumentation - ✨ Look in another location for grpc service methods ([#​8468](DataDog/dd-trace-java#8468) - [@​evanchooly](https://github.com/evanchooly)) - ✨ Add code origin support for spring-webmvc ([#​8416](DataDog/dd-trace-java#8416) - [@​evanchooly](https://github.com/evanchooly)) - 💡 Implementation of BaggagePropagator and BaggageContext ([#​8330](DataDog/dd-trace-java#8330) - [@​mhlidd](https://github.com/mhlidd)) - ✨ Add code origin support to kafka message listeners ([#​8301](DataDog/dd-trace-java#8301) - [@​evanchooly](https://github.com/evanchooly)) ##### gRPC instrumentation - ✨ Look in another location for grpc service methods ([#​8468](DataDog/dd-trace-java#8468) - [@​evanchooly](https://github.com/evanchooly)) ##### Kafka instrumentation - ✨ Add messaging.destination.name tag to kafka integrations ([#​8366](DataDog/dd-trace-java#8366) - [@​rarguelloF](https://github.com/rarguelloF)) ##### Protocol Buffer instrumentation - 🐛 Fix bug on proto schema extraction ([#​8403](DataDog/dd-trace-java#8403) - [@​vandonr](https://github.com/vandonr)) </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**: 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: 108a0f86aa59ab4c938cbac0688dd4c19cb301fa
What Does This Do
It allows capturing the effective Java home of the current Java process for the crash uploader to use.
Motivation
It became known that it is not completely out of question to run a Java process on a partially configured system - eg.
java
is not on path, but rather the launcher would execute it directly from a location on disk.This, however, breaks the assumption that we can just 'java ... ' the crash uploader class.
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: PROF-11102