-
Notifications
You must be signed in to change notification settings - Fork 312
Fixed Error
handling for trace interceptors.
#9097
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
Fixed Error
handling for trace interceptors.
#9097
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 46 metrics, 7 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.51.0-SNAPSHOT~20dbdb752f, baseline=1.51.0-SNAPSHOT~796bf33ae2
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (993.067 ms) : 0, 993067
Total [baseline] (10.576 s) : 0, 10575703
Agent [candidate] (992.852 ms) : 0, 992852
Total [candidate] (10.588 s) : 0, 10587917
section appsec
Agent [baseline] (1.172 s) : 0, 1172343
Total [baseline] (10.804 s) : 0, 10803580
Agent [candidate] (1.172 s) : 0, 1172449
Total [candidate] (10.813 s) : 0, 10813212
section iast
Agent [baseline] (1.135 s) : 0, 1134622
Total [baseline] (10.835 s) : 0, 10834761
Agent [candidate] (1.135 s) : 0, 1134966
Total [candidate] (10.792 s) : 0, 10791640
section profiling
Agent [baseline] (1.245 s) : 0, 1244809
Total [baseline] (10.841 s) : 0, 10841428
Agent [candidate] (1.264 s) : 0, 1263744
Total [candidate] (11.053 s) : 0, 11052758
gantt
title petclinic - break down per module: candidate=1.51.0-SNAPSHOT~20dbdb752f, baseline=1.51.0-SNAPSHOT~796bf33ae2
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (685.744 ms) : 0, 685744
BytebuddyAgent [candidate] (685.985 ms) : 0, 685985
GlobalTracer [baseline] (241.398 ms) : 0, 241398
GlobalTracer [candidate] (241.136 ms) : 0, 241136
AppSec [baseline] (30.151 ms) : 0, 30151
AppSec [candidate] (30.072 ms) : 0, 30072
Debugger [baseline] (6.017 ms) : 0, 6017
Debugger [candidate] (6.02 ms) : 0, 6020
Remote Config [baseline] (682.598 µs) : 0, 683
Remote Config [candidate] (666.426 µs) : 0, 666
Telemetry [baseline] (8.239 ms) : 0, 8239
Telemetry [candidate] (8.166 ms) : 0, 8166
section appsec
BytebuddyAgent [baseline] (708.192 ms) : 0, 708192
BytebuddyAgent [candidate] (708.154 ms) : 0, 708154
GlobalTracer [baseline] (234.486 ms) : 0, 234486
GlobalTracer [candidate] (234.878 ms) : 0, 234878
AppSec [baseline] (171.381 ms) : 0, 171381
AppSec [candidate] (171.035 ms) : 0, 171035
Debugger [baseline] (5.783 ms) : 0, 5783
Debugger [candidate] (5.764 ms) : 0, 5764
Remote Config [baseline] (605.319 µs) : 0, 605
Remote Config [candidate] (613.995 µs) : 0, 614
Telemetry [baseline] (8.094 ms) : 0, 8094
Telemetry [candidate] (8.094 ms) : 0, 8094
IAST [baseline] (23.057 ms) : 0, 23057
IAST [candidate] (23.166 ms) : 0, 23166
section iast
BytebuddyAgent [baseline] (809.038 ms) : 0, 809038
BytebuddyAgent [candidate] (808.792 ms) : 0, 808792
GlobalTracer [baseline] (233.115 ms) : 0, 233115
GlobalTracer [candidate] (233.307 ms) : 0, 233307
AppSec [baseline] (29.68 ms) : 0, 29680
AppSec [candidate] (28.758 ms) : 0, 28758
Debugger [baseline] (5.799 ms) : 0, 5799
Debugger [candidate] (5.817 ms) : 0, 5817
Remote Config [baseline] (571.657 µs) : 0, 572
Remote Config [candidate] (584.056 µs) : 0, 584
Telemetry [baseline] (7.943 ms) : 0, 7943
Telemetry [candidate] (8.072 ms) : 0, 8072
IAST [baseline] (27.672 ms) : 0, 27672
IAST [candidate] (28.822 ms) : 0, 28822
section profiling
BytebuddyAgent [baseline] (677.503 ms) : 0, 677503
BytebuddyAgent [candidate] (687.326 ms) : 0, 687326
GlobalTracer [baseline] (361.468 ms) : 0, 361468
GlobalTracer [candidate] (366.461 ms) : 0, 366461
AppSec [baseline] (32.959 ms) : 0, 32959
AppSec [candidate] (34.558 ms) : 0, 34558
Debugger [baseline] (10.728 ms) : 0, 10728
Debugger [candidate] (9.269 ms) : 0, 9269
Remote Config [baseline] (661.293 µs) : 0, 661
Remote Config [candidate] (678.289 µs) : 0, 678
Telemetry [baseline] (8.904 ms) : 0, 8904
Telemetry [candidate] (9.605 ms) : 0, 9605
ProfilingAgent [baseline] (104.111 ms) : 0, 104111
ProfilingAgent [candidate] (106.807 ms) : 0, 106807
Profiling [baseline] (104.134 ms) : 0, 104134
Profiling [candidate] (106.831 ms) : 0, 106831
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.51.0-SNAPSHOT~20dbdb752f, baseline=1.51.0-SNAPSHOT~796bf33ae2
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (992.363 ms) : 0, 992363
Total [baseline] (8.567 s) : 0, 8567291
Agent [candidate] (996.615 ms) : 0, 996615
Total [candidate] (8.538 s) : 0, 8538108
section iast
Agent [baseline] (1.133 s) : 0, 1133325
Total [baseline] (9.261 s) : 0, 9260516
Agent [candidate] (1.133 s) : 0, 1132980
Total [candidate] (9.25 s) : 0, 9250128
gantt
title insecure-bank - break down per module: candidate=1.51.0-SNAPSHOT~20dbdb752f, baseline=1.51.0-SNAPSHOT~796bf33ae2
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (685.407 ms) : 0, 685407
BytebuddyAgent [candidate] (687.696 ms) : 0, 687696
GlobalTracer [baseline] (241.022 ms) : 0, 241022
GlobalTracer [candidate] (242.649 ms) : 0, 242649
AppSec [baseline] (30.213 ms) : 0, 30213
AppSec [candidate] (30.36 ms) : 0, 30360
Debugger [baseline] (6.073 ms) : 0, 6073
Debugger [candidate] (6.06 ms) : 0, 6060
Remote Config [baseline] (666.308 µs) : 0, 666
Remote Config [candidate] (678.504 µs) : 0, 679
Telemetry [baseline] (8.166 ms) : 0, 8166
Telemetry [candidate] (8.268 ms) : 0, 8268
section iast
BytebuddyAgent [baseline] (808.453 ms) : 0, 808453
BytebuddyAgent [candidate] (808.032 ms) : 0, 808032
GlobalTracer [baseline] (232.978 ms) : 0, 232978
GlobalTracer [candidate] (232.782 ms) : 0, 232782
AppSec [baseline] (27.818 ms) : 0, 27818
AppSec [candidate] (26.874 ms) : 0, 26874
Debugger [baseline] (5.785 ms) : 0, 5785
Debugger [candidate] (5.853 ms) : 0, 5853
Remote Config [baseline] (575.515 µs) : 0, 576
Remote Config [candidate] (577.903 µs) : 0, 578
Telemetry [baseline] (7.944 ms) : 0, 7944
Telemetry [candidate] (7.921 ms) : 0, 7921
IAST [baseline] (29.049 ms) : 0, 29049
IAST [candidate] (30.226 ms) : 0, 30226
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 4 performance regressions! Performance is the same for 8 metrics, 12 unstable metrics.
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.51.0-SNAPSHOT~20dbdb752f, baseline=1.51.0-SNAPSHOT~796bf33ae2
dateFormat X
axisFormat %s
section baseline
no_agent (4.383 ms) : 4328, 4438
. : milestone, 4383,
iast (9.293 ms) : 9140, 9446
. : milestone, 9293,
iast_FULL (14.278 ms) : 13996, 14560
. : milestone, 14278,
iast_GLOBAL (10.476 ms) : 10284, 10667
. : milestone, 10476,
profiling (8.61 ms) : 8476, 8745
. : milestone, 8610,
tracing (7.884 ms) : 7774, 7995
. : milestone, 7884,
section candidate
no_agent (4.409 ms) : 4357, 4461
. : milestone, 4409,
iast (9.604 ms) : 9445, 9763
. : milestone, 9604,
iast_FULL (13.716 ms) : 13447, 13984
. : milestone, 13716,
iast_GLOBAL (10.536 ms) : 10349, 10722
. : milestone, 10536,
profiling (8.97 ms) : 8829, 9111
. : milestone, 8970,
tracing (7.874 ms) : 7753, 7994
. : milestone, 7874,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.51.0-SNAPSHOT~20dbdb752f, baseline=1.51.0-SNAPSHOT~796bf33ae2
dateFormat X
axisFormat %s
section baseline
no_agent (36.469 ms) : 36174, 36765
. : milestone, 36469,
appsec (46.304 ms) : 45898, 46710
. : milestone, 46304,
code_origins (46.001 ms) : 45603, 46399
. : milestone, 46001,
iast (43.958 ms) : 43572, 44344
. : milestone, 43958,
profiling (48.138 ms) : 47644, 48633
. : milestone, 48138,
tracing (43.372 ms) : 43005, 43740
. : milestone, 43372,
section candidate
no_agent (36.526 ms) : 36226, 36826
. : milestone, 36526,
appsec (49.633 ms) : 49180, 50086
. : milestone, 49633,
code_origins (45.436 ms) : 45044, 45828
. : milestone, 45436,
iast (45.788 ms) : 45386, 46190
. : milestone, 45788,
profiling (50.168 ms) : 49708, 50628
. : milestone, 50168,
tracing (44.266 ms) : 43899, 44634
. : milestone, 44266,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.51.0-SNAPSHOT~20dbdb752f, baseline=1.51.0-SNAPSHOT~796bf33ae2
dateFormat X
axisFormat %s
section baseline
no_agent (15.555 s) : 15555000, 15555000
. : milestone, 15555000,
appsec (14.832 s) : 14832000, 14832000
. : milestone, 14832000,
iast (18.433 s) : 18433000, 18433000
. : milestone, 18433000,
iast_GLOBAL (17.997 s) : 17997000, 17997000
. : milestone, 17997000,
profiling (15.36 s) : 15360000, 15360000
. : milestone, 15360000,
tracing (15.132 s) : 15132000, 15132000
. : milestone, 15132000,
section candidate
no_agent (15.677 s) : 15677000, 15677000
. : milestone, 15677000,
appsec (14.922 s) : 14922000, 14922000
. : milestone, 14922000,
iast (18.172 s) : 18172000, 18172000
. : milestone, 18172000,
iast_GLOBAL (17.741 s) : 17741000, 17741000
. : milestone, 17741000,
profiling (15.106 s) : 15106000, 15106000
. : milestone, 15106000,
tracing (15.004 s) : 15004000, 15004000
. : milestone, 15004000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.51.0-SNAPSHOT~20dbdb752f, baseline=1.51.0-SNAPSHOT~796bf33ae2
dateFormat X
axisFormat %s
section baseline
no_agent (1.476 ms) : 1465, 1488
. : milestone, 1476,
appsec (2.42 ms) : 2371, 2470
. : milestone, 2420,
iast (2.2 ms) : 2137, 2262
. : milestone, 2200,
iast_GLOBAL (2.235 ms) : 2173, 2298
. : milestone, 2235,
profiling (2.482 ms) : 2309, 2655
. : milestone, 2482,
tracing (2.012 ms) : 1964, 2060
. : milestone, 2012,
section candidate
no_agent (1.481 ms) : 1470, 1493
. : milestone, 1481,
appsec (2.42 ms) : 2370, 2469
. : milestone, 2420,
iast (2.202 ms) : 2139, 2264
. : milestone, 2202,
iast_GLOBAL (2.24 ms) : 2177, 2303
. : milestone, 2240,
profiling (2.057 ms) : 2006, 2108
. : milestone, 2057,
tracing (2.017 ms) : 1969, 2066
. : milestone, 2017,
|
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.
Some wording nitpicks but overall LGTM
Co-authored-by: Brice Dutheil <[email protected]>
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://github.com/google/error-prone)) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.39.0` -> `2.40.0` | | [org.apache.commons:commons-lang3](https://commons.apache.org/proper/commons-lang/) ([source](https://gitbox.apache.org/repos/asf/commons-lang.git)) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `3.17.0` -> `3.18.0` | | [org.jetbrains.kotlinx.binary-compatibility-validator](https://github.com/Kotlin/binary-compatibility-validator) | plugin | misk/gradle/libs.versions.toml | gradle | patch | `0.18.0` -> `0.18.1` | | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.50.1` -> `1.51.0` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.77` -> `2.31.78` | | [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.77` -> `2.31.78` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.77` -> `2.31.78` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.77` -> `2.31.78` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.77` -> `2.31.78` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.77` -> `2.31.78` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.77` -> `2.31.78` | --- ### Release Notes <details> <summary>google/error-prone (com.google.errorprone:error_prone_annotations)</summary> ### [`v2.40.0`](https://github.com/google/error-prone/releases/tag/v2.40.0): Error Prone 2.40.0 Changes: - Bug fixes and improvements - Releases (including snapshots) have migrated from [OSSRH to the Central Publisher Portal](https://central.sonatype.org/pages/ossrh-eol/#process-to-migrate) Full changelog: google/error-prone@v2.39.0...v2.40.0 </details> <details> <summary>Kotlin/binary-compatibility-validator (org.jetbrains.kotlinx.binary-compatibility-validator)</summary> ### [`v0.18.1`](https://github.com/Kotlin/binary-compatibility-validator/releases/tag/0.18.1) [Compare Source](Kotlin/binary-compatibility-validator@0.18.0...0.18.1) #### What's Changed - Fixed a bug preventing use of cross-compilation support during KLIB dump validation \[[#​304](https://github.com/Kotlin/binary-compatibility-validator/issues/304)]\[[#​306](https://github.com/Kotlin/binary-compatibility-validator/issues/306)] </details> <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.51.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.51.0): 1.51.0 ### Components #### Application Security Management (IAST) - 🐛 Fix verify error when ctor params are used after a call site ([#​9083](DataDog/dd-trace-java#9083) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - 🐛 Limit the maximum size of the location path in IAST vulnerabilities ([#​9028](DataDog/dd-trace-java#9028) - [@​jandro996](https://github.com/jandro996)) - 🐛 Fix IAST gRPC handler with null superclass ([#​8984](DataDog/dd-trace-java#8984) - [@​smola](https://github.com/smola)) - ✨ Optimize IAST Vulnerability Detection ([#​8885](DataDog/dd-trace-java#8885) - [@​jandro996](https://github.com/jandro996)) #### Application Security Management (WAF) - ✨ Upgrade libddwaf-java to 15.0.0 ([#​9022](DataDog/dd-trace-java#9022) - [@​sezen-datadog](https://github.com/sezen-datadog)) - ✨ Extract RestEasy json body response schemas ([#​9015](DataDog/dd-trace-java#9015) - [@​jandro996](https://github.com/jandro996)) - ✨ Extract Jersey json body response schemas ([#​9014](DataDog/dd-trace-java#9014) - [@​jandro996](https://github.com/jandro996)) - ✨ Extract Ratpack json body response schemas ([#​9013](DataDog/dd-trace-java#9013) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Enable API Security by default and make it lazy loading ([#​9009](DataDog/dd-trace-java#9009) - [@​smola](https://github.com/smola)) - ✨ Extract Vert.x json body response schemas ([#​9001](DataDog/dd-trace-java#9001) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Extract Play json body response schemas ([#​8995](DataDog/dd-trace-java#8995) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - 🐛 Fix Jackson nodes introspection for request/response schema extraction ([#​8980](DataDog/dd-trace-java#8980) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Extract Spring json body response schemas ([#​8938](DataDog/dd-trace-java#8938) - [@​sezen-datadog](https://github.com/sezen-datadog)) - ✨ Default obfuscation regexp update ([#​8937](DataDog/dd-trace-java#8937) - [@​sezen-datadog](https://github.com/sezen-datadog)) #### Build & Tooling - ✨ Cancel GitLab running pipeline on new PR push ([#​9023](DataDog/dd-trace-java#9023) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - ✨ Migrate publishing to Maven Central Portal ([#​8807](DataDog/dd-trace-java#8807) - [@​sarahchen6](https://github.com/sarahchen6)) #### Continuous Integration Visibility - 🐛 Fix Test Optimization to work with JDK 24 ([#​9114](DataDog/dd-trace-java#9114) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Add repo root as safe directory on git client creation ([#​9033](DataDog/dd-trace-java#9033) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Add PR number tag and improve PR information building ([#​8990](DataDog/dd-trace-java#8990) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Update impacted tests logic ([#​8923](DataDog/dd-trace-java#8923) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) #### Data Streams Monitoring - 🧹 Clean up DSM context injection ([#​8776](DataDog/dd-trace-java#8776) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) #### Database Monitoring - 🐛 Set trace\_injected in try block ([#​9025](DataDog/dd-trace-java#9025) - [@​natashadada](https://github.com/natashadada)) #### Dynamic Instrumentation - 🐛 Add source file tracking enable option ([#​9115](DataDog/dd-trace-java#9115) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add java.util.Date support ([#​9111](DataDog/dd-trace-java#9111) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Update file probe format ([#​9047](DataDog/dd-trace-java#9047) - [@​jpbempel](https://github.com/jpbempel)) - ✨ add safe local var hoisting ([#​9034](DataDog/dd-trace-java#9034) - [@​jpbempel](https://github.com/jpbempel)) - 🧹 Add new config for debugger upload interval ([#​8959](DataDog/dd-trace-java#8959) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Enable Code Origin with Dynamic instrumentation ([#​8940](DataDog/dd-trace-java#8940) - [@​jpbempel](https://github.com/jpbempel)) #### ML Observability (LLMObs) - 💡 LLM Observability SDK ([#​8781](DataDog/dd-trace-java#8781) - [@​gary-huang](https://github.com/gary-huang), [@​nayeem-kamal](https://github.com/nayeem-kamal)) #### Metrics - 🐛 Ensure client stat reporter is started when the agent is not available at bootstrap ([#​9082](DataDog/dd-trace-java#9082) - [@​amarziali](https://github.com/amarziali)) - ✨ Create metric: appsec.waf.config\_errors ([#​8394](DataDog/dd-trace-java#8394) - [@​sezen-datadog](https://github.com/sezen-datadog)) #### Platform components - ✨ Introduce environment component ([#​9071](DataDog/dd-trace-java#9071) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) #### Profiling - 🐛 Remove annoying warning for smap event parsing ([#​9119](DataDog/dd-trace-java#9119) - [@​jbachorik](https://github.com/jbachorik)) - 🐛 Fix ByteCountingInputStream when reading past EOF ([#​8988](DataDog/dd-trace-java#8988) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### Realtime User Monitoring - ✨ Add RUM SDK injection for servlet based web servers ([#​9110](DataDog/dd-trace-java#9110) - [@​PerfectSlayer](https://github.com/PerfectSlayer) [@​amarziali](https://github.com/amarziali)) #### Telemetry - ✨ Update the config origin metric to match what it's mapping ([#​9045](DataDog/dd-trace-java#9045) - [@​sezen-datadog](https://github.com/sezen-datadog)) #### Testing - ✨ Add testing for latest stable version (JDK 24) ([#​8875](DataDog/dd-trace-java#8875) - [@​sarahchen6](https://github.com/sarahchen6)) #### Trace context propagation - 🐛 Fix bug with dropping baggage when `TracePropagationBehaviorExtract=IGNORE` ([#​9037](DataDog/dd-trace-java#9037) - [@​mhlidd](https://github.com/mhlidd)) - 🐛 Fix ArrayIndexOutOfBoundsException in PercentEscaper ([#​9032](DataDog/dd-trace-java#9032) - [@​mhlidd](https://github.com/mhlidd)) #### Tracer core - 🐛 Fix `Error` handling for trace interceptors ([#​9097](DataDog/dd-trace-java#9097) - [@​AlexeyKuznetsov-DD](https://github.com/AlexeyKuznetsov-DD)) - 💡 Add wildcard feature for `DD_TRACE_HEADER_TAGS` and enabling for Http Response headers ([#​9067](DataDog/dd-trace-java#9067) - [@​mhlidd](https://github.com/mhlidd)) #### Tracer public API - 💡 Add LLM Observability SDK ([#​8781](DataDog/dd-trace-java#8781) - [@​gary-huang](https://github.com/gary-huang)) ### Instrumentations #### Akka instrumentation - 🐛 Fix NPE in akka-http and pekko-http integrations ([#​9019](DataDog/dd-trace-java#9019) - [@​mcculls](https://github.com/mcculls)) #### Eclipse Vert.x instrumentation - ✨ Extract Vert.x json body response schemas ([#​9001](DataDog/dd-trace-java#9001) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Write http.route tag as soon as possible in vert.x ([#​8952](DataDog/dd-trace-java#8952) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### JAX-WS instrumentation - 💡⚠️ Enable jax-ws integration by default ([#​9030](DataDog/dd-trace-java#9030) - [@​bm1549](https://github.com/bm1549)) - ✨ Extract Jersey json body response schemas ([#​9014](DataDog/dd-trace-java#9014) - [@​jandro996](https://github.com/jandro996)) #### Mule instrumentation - 🐛 Propagate grizzly http span in filters if nothing is active ([#​9016](DataDog/dd-trace-java#9016) - [@​amarziali](https://github.com/amarziali)) #### Play Framework instrumentation - ✨ Extract Play json body response schemas ([#​8995](DataDog/dd-trace-java#8995) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### Ratpack instrumentation - ✨ Extract Ratpack json body response schemas ([#​9013](DataDog/dd-trace-java#9013) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### Spring instrumentation - ✨ Extract Spring json body response schemas ([#​8938](DataDog/dd-trace-java#8938) - [@​sezen-datadog](https://github.com/sezen-datadog)) </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: 649b690d4c9d7dcb572c457f0802b42b8e3e682e
What Does This Do
Improved error handling for custom
TraceInterceptor
to gracefully handle cases where user code throws anError
.Motivation
This PR addresses an issue where user code may throw an
Error
instead of anException
. SinceError
is not a subclass of Exception, such cases are not caught by standard exception handling logic. As a result, this can lead to the application hanging on exit, due to unhandled errors disrupting proper shutdown procedures.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]