Make webflux compatible with latest spring 6#6352
Merged
Merged
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 48 metrics, 6 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.26.0-SNAPSHOT~a0f565abb0, baseline=1.26.0-SNAPSHOT~b0cf14ddda
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.044 s) : 0, 1043896
Total [baseline] (8.723 s) : 0, 8722977
Agent [candidate] (1.047 s) : 0, 1047406
Total [candidate] (8.741 s) : 0, 8740833
section iast
Agent [baseline] (1.184 s) : 0, 1184385
Total [baseline] (9.292 s) : 0, 9292411
Agent [candidate] (1.163 s) : 0, 1163329
Total [candidate] (9.28 s) : 0, 9279849
section iast_TELEMETRY_OFF
Agent [baseline] (1.161 s) : 0, 1161257
Total [baseline] (9.282 s) : 0, 9281944
Agent [candidate] (1.155 s) : 0, 1155042
Total [candidate] (9.214 s) : 0, 9213568
gantt
title insecure-bank - break down per module: candidate=1.26.0-SNAPSHOT~a0f565abb0, baseline=1.26.0-SNAPSHOT~b0cf14ddda
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (645.65 ms) : 0, 645650
BytebuddyAgent [candidate] (647.359 ms) : 0, 647359
GlobalTracer [baseline] (307.179 ms) : 0, 307179
GlobalTracer [candidate] (308.934 ms) : 0, 308934
AppSec [baseline] (48.96 ms) : 0, 48960
AppSec [candidate] (49.025 ms) : 0, 49025
Remote Config [baseline] (666.582 µs) : 0, 667
Remote Config [candidate] (674.221 µs) : 0, 674
Telemetry [baseline] (7.102 ms) : 0, 7102
Telemetry [candidate] (7.143 ms) : 0, 7143
section iast
BytebuddyAgent [baseline] (782.762 ms) : 0, 782762
BytebuddyAgent [candidate] (768.412 ms) : 0, 768412
GlobalTracer [baseline] (290.772 ms) : 0, 290772
GlobalTracer [candidate] (285.986 ms) : 0, 285986
AppSec [baseline] (47.786 ms) : 0, 47786
AppSec [candidate] (47.369 ms) : 0, 47369
IAST [baseline] (20.948 ms) : 0, 20948
IAST [candidate] (20.079 ms) : 0, 20079
Remote Config [baseline] (603.264 µs) : 0, 603
Remote Config [candidate] (599.988 µs) : 0, 600
Telemetry [baseline] (6.545 ms) : 0, 6545
Telemetry [candidate] (6.589 ms) : 0, 6589
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (764.073 ms) : 0, 764073
BytebuddyAgent [candidate] (760.072 ms) : 0, 760072
GlobalTracer [baseline] (287.487 ms) : 0, 287487
GlobalTracer [candidate] (286.839 ms) : 0, 286839
AppSec [baseline] (46.529 ms) : 0, 46529
AppSec [candidate] (49.18 ms) : 0, 49180
IAST [baseline] (17.915 ms) : 0, 17915
IAST [candidate] (16.846 ms) : 0, 16846
Remote Config [baseline] (609.622 µs) : 0, 610
Remote Config [candidate] (578.451 µs) : 0, 578
Telemetry [baseline] (10.23 ms) : 0, 10230
Telemetry [candidate] (7.206 ms) : 0, 7206
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.26.0-SNAPSHOT~a0f565abb0, baseline=1.26.0-SNAPSHOT~b0cf14ddda
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.044 s) : 0, 1044469
Total [baseline] (9.369 s) : 0, 9369381
Agent [candidate] (1.043 s) : 0, 1042717
Total [candidate] (9.328 s) : 0, 9327512
section appsec
Agent [baseline] (1.132 s) : 0, 1132309
Total [baseline] (9.506 s) : 0, 9505562
Agent [candidate] (1.134 s) : 0, 1133608
Total [candidate] (9.438 s) : 0, 9437729
section iast
Agent [baseline] (1.16 s) : 0, 1159890
Total [baseline] (9.61 s) : 0, 9609596
Agent [candidate] (1.162 s) : 0, 1161581
Total [candidate] (9.564 s) : 0, 9563601
section profiling
Agent [baseline] (1.23 s) : 0, 1230255
Total [baseline] (9.615 s) : 0, 9615262
Agent [candidate] (1.235 s) : 0, 1234824
Total [candidate] (9.628 s) : 0, 9627555
gantt
title petclinic - break down per module: candidate=1.26.0-SNAPSHOT~a0f565abb0, baseline=1.26.0-SNAPSHOT~b0cf14ddda
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (646.332 ms) : 0, 646332
BytebuddyAgent [candidate] (645.522 ms) : 0, 645522
GlobalTracer [baseline] (307.131 ms) : 0, 307131
GlobalTracer [candidate] (306.921 ms) : 0, 306921
AppSec [baseline] (48.834 ms) : 0, 48834
AppSec [candidate] (48.531 ms) : 0, 48531
Remote Config [baseline] (669.329 µs) : 0, 669
Remote Config [candidate] (665.219 µs) : 0, 665
Telemetry [baseline] (7.166 ms) : 0, 7166
Telemetry [candidate] (7.045 ms) : 0, 7045
section appsec
BytebuddyAgent [baseline] (645.926 ms) : 0, 645926
BytebuddyAgent [candidate] (645.542 ms) : 0, 645542
GlobalTracer [baseline] (307.494 ms) : 0, 307494
GlobalTracer [candidate] (308.541 ms) : 0, 308541
AppSec [baseline] (137.223 ms) : 0, 137223
AppSec [candidate] (137.305 ms) : 0, 137305
Remote Config [baseline] (645.242 µs) : 0, 645
Remote Config [candidate] (647.091 µs) : 0, 647
Telemetry [baseline] (6.878 ms) : 0, 6878
Telemetry [candidate] (7.501 ms) : 0, 7501
section iast
BytebuddyAgent [baseline] (765.597 ms) : 0, 765597
BytebuddyAgent [candidate] (766.093 ms) : 0, 766093
GlobalTracer [baseline] (284.919 ms) : 0, 284919
GlobalTracer [candidate] (286.096 ms) : 0, 286096
AppSec [baseline] (46.991 ms) : 0, 46991
AppSec [candidate] (47.072 ms) : 0, 47072
IAST [baseline] (20.941 ms) : 0, 20941
IAST [candidate] (20.927 ms) : 0, 20927
Remote Config [baseline] (611.98 µs) : 0, 612
Remote Config [candidate] (604.478 µs) : 0, 604
Telemetry [baseline] (6.616 ms) : 0, 6616
Telemetry [candidate] (6.56 ms) : 0, 6560
section profiling
BytebuddyAgent [baseline] (654.956 ms) : 0, 654956
BytebuddyAgent [candidate] (658.04 ms) : 0, 658040
GlobalTracer [baseline] (376.342 ms) : 0, 376342
GlobalTracer [candidate] (378.05 ms) : 0, 378050
AppSec [baseline] (48.799 ms) : 0, 48799
AppSec [candidate] (48.46 ms) : 0, 48460
Remote Config [baseline] (682.64 µs) : 0, 683
Remote Config [candidate] (653.895 µs) : 0, 654
Telemetry [baseline] (7.456 ms) : 0, 7456
Telemetry [candidate] (7.407 ms) : 0, 7407
ProfilingAgent [baseline] (88.107 ms) : 0, 88107
ProfilingAgent [candidate] (88.086 ms) : 0, 88086
Profiling [baseline] (88.133 ms) : 0, 88133
Profiling [candidate] (88.111 ms) : 0, 88111
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 9 metrics, 13 unstable metrics. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.26.0-SNAPSHOT~a0f565abb0, baseline=1.26.0-SNAPSHOT~b0cf14ddda
dateFormat X
axisFormat %s
section baseline
no_agent (369.328 µs) : 349, 389
. : milestone, 369,
iast (480.705 µs) : 460, 502
. : milestone, 481,
iast_FULL (535.144 µs) : 515, 555
. : milestone, 535,
iast_INACTIVE (453.082 µs) : 432, 474
. : milestone, 453,
iast_TELEMETRY_OFF (474.643 µs) : 453, 496
. : milestone, 475,
tracing (454.056 µs) : 433, 475
. : milestone, 454,
section candidate
no_agent (363.977 µs) : 344, 384
. : milestone, 364,
iast (476.698 µs) : 456, 497
. : milestone, 477,
iast_FULL (543.409 µs) : 523, 564
. : milestone, 543,
iast_INACTIVE (450.6 µs) : 429, 472
. : milestone, 451,
iast_TELEMETRY_OFF (472.821 µs) : 452, 493
. : milestone, 473,
tracing (444.962 µs) : 425, 465
. : milestone, 445,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.26.0-SNAPSHOT~a0f565abb0, baseline=1.26.0-SNAPSHOT~b0cf14ddda
dateFormat X
axisFormat %s
section baseline
no_agent (1.367 ms) : 1347, 1386
. : milestone, 1367,
appsec (1.781 ms) : 1757, 1806
. : milestone, 1781,
iast (1.536 ms) : 1512, 1560
. : milestone, 1536,
profiling (1.53 ms) : 1505, 1554
. : milestone, 1530,
tracing (1.499 ms) : 1474, 1523
. : milestone, 1499,
section candidate
no_agent (1.348 ms) : 1329, 1367
. : milestone, 1348,
appsec (1.756 ms) : 1731, 1782
. : milestone, 1756,
iast (1.508 ms) : 1484, 1533
. : milestone, 1508,
profiling (1.552 ms) : 1525, 1579
. : milestone, 1552,
tracing (1.521 ms) : 1497, 1545
. : milestone, 1521,
|
c421010 to
f1e180b
Compare
383dcd6 to
2b72307
Compare
mcculls
reviewed
Dec 13, 2023
mcculls
reviewed
Dec 13, 2023
mcculls
reviewed
Dec 13, 2023
mcculls
approved these changes
Dec 13, 2023
ca07cf0 to
24c0397
Compare
…/asserts/TagsAssert.groovy Co-authored-by: Stuart McCulloch <stuart.mcculloch@datadoghq.com>
24c0397 to
a0f565a
Compare
a0f565a to
2b94889
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Does This Do
Originally created to correctly propagate the span scope to the handlers (since the mono wasn't wrapped hence whatever span created starting from a reactive handler was wrongly attached to the local root).
It also fixes:
Request.getMethodValuehas been deprecated and removed. Consequences are mostly bad resource name on the handler and missing http route.Motivation
Additional Notes
This PR enables also the latestDep tests to run against a JDK 17 for obvious reasons. Also, the webflux-6 can be deleted if the test suites are moved on the webflux-5 module. But this can be done in a separate PR since there is no urgency.
Jira ticket: APMS-10847