-
Notifications
You must be signed in to change notification settings - Fork 303
Fix NPE in getMdcCopy of LoggingEventInstrumentation #8599
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
Hi! 👋 Thanks for your pull request! 🎉 To help us review it, please make sure to:
If you need help, please check our contributing guidelines. |
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.
Thanks!
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 60 metrics, 3 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.48.0-SNAPSHOT~2185bf4662, baseline=1.48.0-SNAPSHOT~b999d0ff0b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.045 s) : 0, 1044771
Total [baseline] (10.585 s) : 0, 10584649
Agent [candidate] (1.044 s) : 0, 1043577
Total [candidate] (10.406 s) : 0, 10405825
section appsec
Agent [baseline] (1.185 s) : 0, 1185427
Total [baseline] (10.741 s) : 0, 10741401
Agent [candidate] (1.185 s) : 0, 1185329
Total [candidate] (10.69 s) : 0, 10690345
section iast
Agent [baseline] (1.172 s) : 0, 1172172
Total [baseline] (10.916 s) : 0, 10915946
Agent [candidate] (1.172 s) : 0, 1172191
Total [candidate] (11.011 s) : 0, 11011376
section profiling
Agent [baseline] (1.261 s) : 0, 1260799
Total [baseline] (10.857 s) : 0, 10856965
Agent [candidate] (1.261 s) : 0, 1261131
Total [candidate] (10.816 s) : 0, 10816211
gantt
title petclinic - break down per module: candidate=1.48.0-SNAPSHOT~2185bf4662, baseline=1.48.0-SNAPSHOT~b999d0ff0b
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (720.313 ms) : 0, 720313
BytebuddyAgent [candidate] (718.476 ms) : 0, 718476
GlobalTracer [baseline] (241.108 ms) : 0, 241108
GlobalTracer [candidate] (239.353 ms) : 0, 239353
AppSec [baseline] (55.12 ms) : 0, 55120
AppSec [candidate] (54.707 ms) : 0, 54707
Remote Config [baseline] (702.969 µs) : 0, 703
Remote Config [candidate] (697.302 µs) : 0, 697
Telemetry [baseline] (11.546 ms) : 0, 11546
Telemetry [candidate] (14.347 ms) : 0, 14347
section appsec
BytebuddyAgent [baseline] (737.42 ms) : 0, 737420
BytebuddyAgent [candidate] (737.221 ms) : 0, 737221
GlobalTracer [baseline] (236.268 ms) : 0, 236268
GlobalTracer [candidate] (236.327 ms) : 0, 236327
AppSec [baseline] (176.103 ms) : 0, 176103
AppSec [candidate] (176.116 ms) : 0, 176116
Remote Config [baseline] (660.139 µs) : 0, 660
Remote Config [candidate] (657.795 µs) : 0, 658
Telemetry [baseline] (8.271 ms) : 0, 8271
Telemetry [candidate] (8.258 ms) : 0, 8258
IAST [baseline] (21.54 ms) : 0, 21540
IAST [candidate] (21.581 ms) : 0, 21581
section iast
BytebuddyAgent [baseline] (838.004 ms) : 0, 838004
BytebuddyAgent [candidate] (838.457 ms) : 0, 838457
GlobalTracer [baseline] (229.814 ms) : 0, 229814
GlobalTracer [candidate] (229.379 ms) : 0, 229379
AppSec [baseline] (56.134 ms) : 0, 56134
AppSec [candidate] (55.387 ms) : 0, 55387
Remote Config [baseline] (606.527 µs) : 0, 607
Remote Config [candidate] (609.804 µs) : 0, 610
Telemetry [baseline] (8.764 ms) : 0, 8764
Telemetry [candidate] (8.726 ms) : 0, 8726
IAST [baseline] (22.916 ms) : 0, 22916
IAST [candidate] (23.736 ms) : 0, 23736
section profiling
BytebuddyAgent [baseline] (709.053 ms) : 0, 709053
BytebuddyAgent [candidate] (708.673 ms) : 0, 708673
GlobalTracer [baseline] (349.01 ms) : 0, 349010
GlobalTracer [candidate] (351.569 ms) : 0, 351569
AppSec [baseline] (54.404 ms) : 0, 54404
AppSec [candidate] (53.552 ms) : 0, 53552
Remote Config [baseline] (722.085 µs) : 0, 722
Remote Config [candidate] (709.102 µs) : 0, 709
Telemetry [baseline] (8.883 ms) : 0, 8883
Telemetry [candidate] (8.902 ms) : 0, 8902
ProfilingAgent [baseline] (97.372 ms) : 0, 97372
ProfilingAgent [candidate] (96.355 ms) : 0, 96355
Profiling [baseline] (97.396 ms) : 0, 97396
Profiling [candidate] (96.379 ms) : 0, 96379
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.48.0-SNAPSHOT~2185bf4662, baseline=1.48.0-SNAPSHOT~b999d0ff0b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.045 s) : 0, 1044737
Total [baseline] (8.657 s) : 0, 8657195
Agent [candidate] (1.038 s) : 0, 1037829
Total [candidate] (8.651 s) : 0, 8651226
section iast
Agent [baseline] (1.176 s) : 0, 1176097
Total [baseline] (9.247 s) : 0, 9246872
Agent [candidate] (1.179 s) : 0, 1179445
Total [candidate] (9.227 s) : 0, 9226807
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.177 s) : 0, 1176720
Total [baseline] (9.206 s) : 0, 9206227
Agent [candidate] (1.176 s) : 0, 1176077
Total [candidate] (9.201 s) : 0, 9201294
section iast_TELEMETRY_OFF
Agent [baseline] (1.169 s) : 0, 1169495
Total [baseline] (9.238 s) : 0, 9237551
Agent [candidate] (1.169 s) : 0, 1169428
Total [candidate] (9.239 s) : 0, 9238886
gantt
title insecure-bank - break down per module: candidate=1.48.0-SNAPSHOT~2185bf4662, baseline=1.48.0-SNAPSHOT~b999d0ff0b
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (718.809 ms) : 0, 718809
BytebuddyAgent [candidate] (716.237 ms) : 0, 716237
GlobalTracer [baseline] (240.618 ms) : 0, 240618
GlobalTracer [candidate] (238.795 ms) : 0, 238795
AppSec [baseline] (54.781 ms) : 0, 54781
AppSec [candidate] (54.642 ms) : 0, 54642
Remote Config [baseline] (694.877 µs) : 0, 695
Remote Config [candidate] (708.612 µs) : 0, 709
Telemetry [baseline] (13.668 ms) : 0, 13668
Telemetry [candidate] (11.518 ms) : 0, 11518
section iast
BytebuddyAgent [baseline] (841.236 ms) : 0, 841236
BytebuddyAgent [candidate] (844.426 ms) : 0, 844426
GlobalTracer [baseline] (230.49 ms) : 0, 230490
GlobalTracer [candidate] (230.452 ms) : 0, 230452
IAST [baseline] (22.916 ms) : 0, 22916
IAST [candidate] (23.12 ms) : 0, 23120
AppSec [baseline] (56.172 ms) : 0, 56172
AppSec [candidate] (56.041 ms) : 0, 56041
Remote Config [baseline] (620.5 µs) : 0, 620
Remote Config [candidate] (610.636 µs) : 0, 611
Telemetry [baseline] (8.782 ms) : 0, 8782
Telemetry [candidate] (8.713 ms) : 0, 8713
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (839.565 ms) : 0, 839565
BytebuddyAgent [candidate] (841.937 ms) : 0, 841937
GlobalTracer [baseline] (232.105 ms) : 0, 232105
GlobalTracer [candidate] (229.846 ms) : 0, 229846
IAST [baseline] (23.105 ms) : 0, 23105
IAST [candidate] (22.868 ms) : 0, 22868
AppSec [baseline] (56.541 ms) : 0, 56541
AppSec [candidate] (55.969 ms) : 0, 55969
Remote Config [baseline] (633.564 µs) : 0, 634
Remote Config [candidate] (603.392 µs) : 0, 603
Telemetry [baseline] (8.792 ms) : 0, 8792
Telemetry [candidate] (8.678 ms) : 0, 8678
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (834.593 ms) : 0, 834593
BytebuddyAgent [candidate] (835.76 ms) : 0, 835760
GlobalTracer [baseline] (230.861 ms) : 0, 230861
GlobalTracer [candidate] (229.866 ms) : 0, 229866
IAST [baseline] (22.636 ms) : 0, 22636
IAST [candidate] (22.376 ms) : 0, 22376
AppSec [baseline] (56.111 ms) : 0, 56111
AppSec [candidate] (56.28 ms) : 0, 56280
Remote Config [baseline] (628.467 µs) : 0, 628
Remote Config [candidate] (611.504 µs) : 0, 612
Telemetry [baseline] (8.693 ms) : 0, 8693
Telemetry [candidate] (8.541 ms) : 0, 8541
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 13 metrics, 17 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~2185bf4662, baseline=1.48.0-SNAPSHOT~b999d0ff0b
dateFormat X
axisFormat %s
section baseline
no_agent (1.365 ms) : 1346, 1385
. : milestone, 1365,
appsec (1.723 ms) : 1700, 1747
. : milestone, 1723,
appsec_no_iast (1.751 ms) : 1727, 1775
. : milestone, 1751,
code_origins (1.643 ms) : 1616, 1669
. : milestone, 1643,
iast (1.503 ms) : 1479, 1528
. : milestone, 1503,
profiling (1.571 ms) : 1545, 1598
. : milestone, 1571,
tracing (1.481 ms) : 1455, 1506
. : milestone, 1481,
section candidate
no_agent (1.367 ms) : 1348, 1386
. : milestone, 1367,
appsec (1.725 ms) : 1702, 1749
. : milestone, 1725,
appsec_no_iast (1.756 ms) : 1732, 1780
. : milestone, 1756,
code_origins (1.654 ms) : 1626, 1682
. : milestone, 1654,
iast (1.526 ms) : 1501, 1551
. : milestone, 1526,
profiling (1.527 ms) : 1504, 1550
. : milestone, 1527,
tracing (1.479 ms) : 1453, 1505
. : milestone, 1479,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~2185bf4662, baseline=1.48.0-SNAPSHOT~b999d0ff0b
dateFormat X
axisFormat %s
section baseline
no_agent (377.728 µs) : 358, 397
. : milestone, 378,
iast (514.2 µs) : 492, 537
. : milestone, 514,
iast_FULL (728.466 µs) : 707, 750
. : milestone, 728,
iast_GLOBAL (560.187 µs) : 538, 582
. : milestone, 560,
iast_HARDCODED_SECRET_DISABLED (513.186 µs) : 491, 535
. : milestone, 513,
iast_INACTIVE (461.113 µs) : 439, 483
. : milestone, 461,
iast_TELEMETRY_OFF (497.74 µs) : 476, 519
. : milestone, 498,
tracing (463.281 µs) : 442, 485
. : milestone, 463,
section candidate
no_agent (389.207 µs) : 369, 409
. : milestone, 389,
iast (514.544 µs) : 493, 536
. : milestone, 515,
iast_FULL (729.196 µs) : 707, 751
. : milestone, 729,
iast_GLOBAL (561.526 µs) : 540, 583
. : milestone, 562,
iast_HARDCODED_SECRET_DISABLED (514.947 µs) : 493, 537
. : milestone, 515,
iast_INACTIVE (463.608 µs) : 442, 485
. : milestone, 464,
iast_TELEMETRY_OFF (502.773 µs) : 481, 525
. : milestone, 503,
tracing (456.285 µs) : 435, 477
. : milestone, 456,
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.48.0-SNAPSHOT~2185bf4662, baseline=1.48.0-SNAPSHOT~b999d0ff0b
dateFormat X
axisFormat %s
section baseline
no_agent (15.448 s) : 15448000, 15448000
. : milestone, 15448000,
appsec (15.094 s) : 15094000, 15094000
. : milestone, 15094000,
iast (18.777 s) : 18777000, 18777000
. : milestone, 18777000,
iast_GLOBAL (18.02 s) : 18020000, 18020000
. : milestone, 18020000,
profiling (15.114 s) : 15114000, 15114000
. : milestone, 15114000,
tracing (14.997 s) : 14997000, 14997000
. : milestone, 14997000,
section candidate
no_agent (14.97 s) : 14970000, 14970000
. : milestone, 14970000,
appsec (15.137 s) : 15137000, 15137000
. : milestone, 15137000,
iast (18.541 s) : 18541000, 18541000
. : milestone, 18541000,
iast_GLOBAL (18.099 s) : 18099000, 18099000
. : milestone, 18099000,
profiling (15.069 s) : 15069000, 15069000
. : milestone, 15069000,
tracing (14.879 s) : 14879000, 14879000
. : milestone, 14879000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.48.0-SNAPSHOT~2185bf4662, baseline=1.48.0-SNAPSHOT~b999d0ff0b
dateFormat X
axisFormat %s
section baseline
no_agent (1.467 ms) : 1455, 1478
. : milestone, 1467,
appsec (2.337 ms) : 2293, 2381
. : milestone, 2337,
iast (2.118 ms) : 2062, 2173
. : milestone, 2118,
iast_GLOBAL (2.17 ms) : 2113, 2227
. : milestone, 2170,
profiling (1.979 ms) : 1934, 2024
. : milestone, 1979,
tracing (1.945 ms) : 1903, 1987
. : milestone, 1945,
section candidate
no_agent (1.469 ms) : 1457, 1480
. : milestone, 1469,
appsec (2.345 ms) : 2301, 2389
. : milestone, 2345,
iast (2.118 ms) : 2062, 2174
. : milestone, 2118,
iast_GLOBAL (2.154 ms) : 2098, 2210
. : milestone, 2154,
profiling (2.0 ms) : 1954, 2046
. : milestone, 2000,
tracing (1.948 ms) : 1906, 1991
. : milestone, 1948,
|
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | org.flywaydb.flyway | plugin | misk/gradle/libs.versions.toml | gradle | minor | `11.6.0` -> `11.7.0` | | [com.squareup.okio:okio-fakefilesystem](https://github.com/square/okio) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `3.10.2` -> `3.11.0` | | [com.squareup.okio:okio](https://github.com/square/okio) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `3.10.2` -> `3.11.0` | | [com.autonomousapps.dependency-analysis](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin) | plugin | misk/gradle/libs.versions.toml | gradle | minor | `2.15.0` -> `2.16.0` | | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.47.3` -> `1.48.1` | | [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.47.3` -> `1.48.1` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | --- ### Release Notes <details> <summary>square/okio (com.squareup.okio:okio-fakefilesystem)</summary> ### [`v3.11.0`](https://github.com/square/okio/blob/HEAD/CHANGELOG.md#Version-3110) *2025-04-09* - Fix: Clear the deflater's byte array reference - New: Faster implementation of `String.decodeHex()` on Kotlin/JS. - New: Declare `EXACTLY_ONCE` execution for blocks like `Closeable.use {}` and `FileSystem.read {}`. - Upgrade: \[Kotlin 2.1.20]\[kotlin\_2\_1\_20]. </details> <details> <summary>autonomousapps/dependency-analysis-android-gradle-plugin (com.autonomousapps.dependency-analysis)</summary> ### [`v2.16.0`](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-2160) - \[Feat]: support `com.android.test` projects. - \[Feat]: support typesafe project accessors with opt-in. ```kotlin dependencyAnalysis { useTypesafeProjectAccessors(true) // false by default } ``` </details> <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.48.1`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.48.1): 1.48.1 ### Components #### Tracer internal logging - 🐛 Remove print line causing unnecessary logs ([#​8687](DataDog/dd-trace-java#8687) - [@​sarahchen6](https://github.com/sarahchen6)) ### [`v1.48.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.48.0): 1.48.0 ### Known Bugs > \[!NOTE] > If you are experiencing issues with spamming timeout logs, please update to the [latest version](https://github.com/DataDog/dd-trace-java/releases/latest) or set [JDK_SOCKET_ENABLED](https://github.com/DataDog/dd-trace-java/blob/33fc3c9a9b7cda3beda88b8b3e5224ae2b10764a/dd-trace-api/src/main/java/datadog/trace/api/config/GeneralConfig.java#L98) to false. ### Components #### Application Security Management (IAST) - ✨ Fix vulnerability location org.jose4j.lang.HashUtil ([#​8610](DataDog/dd-trace-java#8610) - [@​jandro996](https://github.com/jandro996)) - ✨ Fix weak randomness in oracle.ucp.util.OpaqueString ([#​8609](DataDog/dd-trace-java#8609) - [@​jandro996](https://github.com/jandro996)) - ✨ Fix weak hash false positive in oracle.security.o5logon.O5Logon ([#​8608](DataDog/dd-trace-java#8608) - [@​jandro996](https://github.com/jandro996)) - 🐛 Prevent before callsites targeting constructors in super calls ([#​8549](DataDog/dd-trace-java#8549) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### Application Security Management (WAF) - ✨ Update login events public SDK to V2 ([#​8620](DataDog/dd-trace-java#8620) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - 🐛 Send RASP LFI capability only when AppSec is statically enabled ([#​8573](DataDog/dd-trace-java#8573) - [@​jandro996](https://github.com/jandro996)) - ✨ Improve detection of missing request end events ([#​8510](DataDog/dd-trace-java#8510) - [@​smola](https://github.com/smola)) - 🧹 Remove remote configuration for API Security sampling rate ([#​8486](DataDog/dd-trace-java#8486) - [@​smola](https://github.com/smola)) - ✨ Add setUser to user monitoring SDK ([#​8482](DataDog/dd-trace-java#8482) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Add missing address for signup event ([#​8469](DataDog/dd-trace-java#8469) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Allow login events SDK to be used with appsec disabled ([#​8464](DataDog/dd-trace-java#8464) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Add support for endpoint discovery in spring mvc ([#​8352](DataDog/dd-trace-java#8352) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ New API Security sampling algorithm ([#​8178](DataDog/dd-trace-java#8178) - [@​ValentinZakharov](https://github.com/ValentinZakharov)) #### Build & Tooling - ✨ Add buffer size customizability to JDK UDS support ([#​8629](DataDog/dd-trace-java#8629) - [@​sarahchen6](https://github.com/sarahchen6)) - ✨ Add JDK built-in support for UDS on Java 16+ ([#​8314](DataDog/dd-trace-java#8314) - [@​sarahchen6](https://github.com/sarahchen6)) #### Configuration at Runtime - 🐛 Send RASP LFI capability only when AppSec is statically enabled ([#​8573](DataDog/dd-trace-java#8573) - [@​jandro996](https://github.com/jandro996)) #### Continuous Integration Visibility - 🐛 Prevent double reporting of Scalatest events when using SBT with test forking ([#​8682](DataDog/dd-trace-java#8682) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Shutdown CI Visibility test event handlers before tracer ([#​8677](DataDog/dd-trace-java#8677) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Do not apply JUnit 4 instrumentation to MUnit runners ([#​8675](DataDog/dd-trace-java#8675), [#​8683](DataDog/dd-trace-java#8683) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Remove error log when source path resolution fails on isModified check ([#​8663](DataDog/dd-trace-java#8663) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Implement tests reordering for JUnit 4 ([#​8650](DataDog/dd-trace-java#8650) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - 🐛 Set default Attempt to Fix retries if none provided from the backend ([#​8615](DataDog/dd-trace-java#8615) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Allow to manually set PR info ([#​8566](DataDog/dd-trace-java#8566) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix Test Optimization init when repo root cannot be determined ([#​8533](DataDog/dd-trace-java#8533) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Add capabilities tagging ([#​8499](DataDog/dd-trace-java#8499), [#​8540](DataDog/dd-trace-java#8540) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) #### Crash tracking - 🐛 Remove dependency on bash from crash/oome uploder scripts ([#​8652](DataDog/dd-trace-java#8652) - [@​jbachorik](https://github.com/jbachorik)) #### Data Streams Monitoring - ✨ e2e pipeline configuration when data jobs is enabled ([#​8553](DataDog/dd-trace-java#8553) - [@​kr-igor](https://github.com/kr-igor)) #### Dynamic Instrumentation - 🐛 Fix In-Product when config is empty ([#​8679](DataDog/dd-trace-java#8679) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add support for filtering shaded third-party libs ([#​8612](DataDog/dd-trace-java#8612) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add In-Product Enablement ([#​8587](DataDog/dd-trace-java#8587) - [@​jpbempel](https://github.com/jpbempel)) - ✨⚡ Reduce footprint of SourceFile tracking ([#​8524](DataDog/dd-trace-java#8524) - [@​jpbempel](https://github.com/jpbempel)) - ✨⚡ Optimize the SourceFile tracking ([#​8520](DataDog/dd-trace-java#8520) - [@​jpbempel](https://github.com/jpbempel)) #### OpenTracing - 🧹 Remove activeScope() use in OpenTracing shim ([#​8478](DataDog/dd-trace-java#8478) - [@​mcculls](https://github.com/mcculls)) #### Profiling - ✨ Add profiler env check command to AgentCLI ([#​8671](DataDog/dd-trace-java#8671) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Bump ddprof to 1.23.0 ([#​8668](DataDog/dd-trace-java#8668) - [@​jbachorik](https://github.com/jbachorik)) - Fix a crash related to ElfParser::loadSymbolTable ([#​191](DataDog/dd-trace-java#191)) by [@​yanglong1010](https://github.com/yanglong1010) in DataDog/java-profiler#192 - Unwind String.indexOf intrinsic on AArch64 by [@​MattAlp](https://github.com/MattAlp) in DataDog/java-profiler#193 - Fix Java 24 support by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#194 - A set of fixes related to clang, aarch64 and musl pecularities of vmstructs stack unwinder by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#199 - 🐛 Remove process information from JFR recording ([#​8661](DataDog/dd-trace-java#8661) - [@​r1viollet](https://github.com/r1viollet)) - 🐛 Make TempLocationManager USER aware ([#​8605](DataDog/dd-trace-java#8605) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Extract git tags from embedded git.properties and datadog_git.properties ([#​8561](DataDog/dd-trace-java#8561) - [@​wmouchere](https://github.com/wmouchere)) #### Telemetry - 🐛 Fix appsec.rasp.error and appsec.waf.error telemetry metrics ([#​8624](DataDog/dd-trace-java#8624) - [@​jandro996](https://github.com/jandro996)) - ✨ Create metric: appsec.rasp.rule.skipped ([#​8618](DataDog/dd-trace-java#8618) - [@​jandro996](https://github.com/jandro996)) - ✨ Extract git tags from embedded git.properties and datadog_git.properties ([#​8561](DataDog/dd-trace-java#8561) - [@​wmouchere](https://github.com/wmouchere)) #### Testing - 🧹 Simplify ssi tests one-pipeline ([#​8558](DataDog/dd-trace-java#8558) - [@​robertomonteromiguel](https://github.com/robertomonteromiguel)) - ✨ Add smoke tests for java's concurrent API ([#​8438](DataDog/dd-trace-java#8438) - [@​sarahchen6](https://github.com/sarahchen6)) #### Trace context propagation - ✨ Adding Support for `TRACE_PROPAGATION_BEHAVIOR_EXTRACT` ([#​8535](DataDog/dd-trace-java#8535) - [@​mhlidd](https://github.com/mhlidd)) #### Tracer core - 🐛 Ensure shaded helpers have unique names ([#​8559](DataDog/dd-trace-java#8559) - [@​amarziali](https://github.com/amarziali)) - ✨ Support common config sources for user-provided git info ([#​8547](DataDog/dd-trace-java#8547) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Make the default config sources more robust when a security manager is installed ([#​8544](DataDog/dd-trace-java#8544) - [@​mcculls](https://github.com/mcculls)) - ✨ Support targeting services with configurations in stable configuration file ([#​8526](DataDog/dd-trace-java#8526) - [@​mtoffl01](https://github.com/mtoffl01)) - ✨ Add new parser for `DD_TAGS` and prioritizing `DD_SERVICE` ([#​8296](DataDog/dd-trace-java#8296) - [@​mhlidd](https://github.com/mhlidd)) #### Tracer internal logging - 🐛 Add missing debug log for the cloudPayloadTaggingServices config ([#​8600](DataDog/dd-trace-java#8600) - [@​ygree](https://github.com/ygree)) - ✨ Add the possibility to output the logs of the Java tracer in JSON ([#​8083](DataDog/dd-trace-java#8083) - [@​cecile75](https://github.com/cecile75)) #### Tracer public API - ✨ Introducing `DD_TRACE_EXPERIMENTAL_FEATURES_ENABLED` Config ([#​8536](DataDog/dd-trace-java#8536) - [@​mhlidd](https://github.com/mhlidd)) - ✨ Config Consistency Round 2 ([#​8489](DataDog/dd-trace-java#8489) - [@​mhlidd](https://github.com/mhlidd)) ### Instrumentations #### - 🐛 Fix NPE in getMdcCopy of LoggingEventInstrumentation ([#​8599](DataDog/dd-trace-java#8599) - [@​ygree](https://github.com/ygree)) #### Apache Spark instrumentation - ✨ Instrument Runtime.exit() to finish spark application spans ([#​8572](DataDog/dd-trace-java#8572) - [@​paul-laffon-dd](https://github.com/paul-laffon-dd)) - ✨ Configure OpenLineage if present in Spark instrumentation ([#​8541](DataDog/dd-trace-java#8541) - [@​mobuchowski](https://github.com/mobuchowski)) #### Armeria Instrumentation - ✨ Support armeria grpc 1.32.3 ([#​8606](DataDog/dd-trace-java#8606) - [@​github-actions](https://github.com/github-actions)\[bot]) #### AWS DynamoDB Instrumentation - ✨ Create DynamoDB instrumentation + add span pointers for `updateItem` and `deleteItem` ([#​8490](DataDog/dd-trace-java#8490) - [@​nhulston](https://github.com/nhulston)) #### AWS SDK instrumentation - ✨ Add DynamoDB in DEFAULT_TRACE_CLOUD_PAYLOAD_TAGGING_SERVICES ([#​8595](DataDog/dd-trace-java#8595) - [@​joeyzhao2018](https://github.com/joeyzhao2018)) #### Azure Functions instrumentation - ✨ Enable tracer computed trace metrics by default for Azure Functions ([#​8518](DataDog/dd-trace-java#8518) - [@​duncanpharvey](https://github.com/duncanpharvey)) - 💡 Add azure-functions instrumentation ([#​8432](DataDog/dd-trace-java#8432) - [@​duncanpharvey](https://github.com/duncanpharvey)) #### Core Java language instrumentation - 🐛 Fix ForkJoinPool.execute() instrumentation on Java 21+ ([#​8560](DataDog/dd-trace-java#8560) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) #### Eclipse Vert.x instrumentation - ✨ Add vertx postgresql client instrumentation ([#​8471](DataDog/dd-trace-java#8471) - [@​vandonr](https://github.com/vandonr) - thanks for the contribution!) #### Kafka instrumentation - ✨ Support and test kafka-clients 4 ([#​8581](DataDog/dd-trace-java#8581) - [@​amarziali](https://github.com/amarziali)) #### Kotlin instrumentation - ✨ Avoid disconnected traces when using Kotlin flowOn ([#​8651](DataDog/dd-trace-java#8651) - [@​mcculls](https://github.com/mcculls)) #### OpenTelemetry instrumentation - 🧹 Migrate OtelContext wrapper to new internal Context API ([#​8645](DataDog/dd-trace-java#8645) - [@​mcculls](https://github.com/mcculls)) #### Spring instrumentation - 🐛 Support CompletableFuture on spring webmvc controllers ([#​8659](DataDog/dd-trace-java#8659) - [@​amarziali](https://github.com/amarziali)) - ✨ Add support for endpoint discovery in spring mvc ([#​8352](DataDog/dd-trace-java#8352) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### WebSocket Instrumentation - ✨ Instrument Jetty websocket pojo ([#​8562](DataDog/dd-trace-java#8562) - [@​amarziali](https://github.com/amarziali)) - 💡 Instrument Java Websocket API (JSR356) ([#​8440](DataDog/dd-trace-java#8440) - [@​amarziali](https://github.com/amarziali)) #### All other instrumentations - ✨ Introduce cache for peer.hostname lookup ([#​8601](DataDog/dd-trace-java#8601) - [@​mcculls](https://github.com/mcculls)) - ✨ Support pekko http 1.1 ([#​8532](DataDog/dd-trace-java#8532) - [@​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**: 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: 331314f71acaced3adc75ea5d7e855c248d593fc
What Does This Do
Fix NPE in getMdcCopy of LoggingEventInstrumentation
Motivation
Even though the exception is caught, it adds overhead and noise to the telemetry data.
Additional Notes
https://github.com/innoq/log4j/blob/master/src/main/java/org/apache/log4j/spi/LoggingEvent.java#L328-L339
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-15123