-
Notifications
You must be signed in to change notification settings - Fork 292
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
Add smoke test for Exception Replay #7504
Conversation
Debugger benchmarksParameters
See matching parameters
SummaryFound 0 performance improvements and 4 performance regressions! Performance is the same for 5 metrics, 6 unstable metrics.
See unchanged results
Request duration reports for reportsgantt
title reports - request duration [CI 0.99] : candidate=None, baseline=None
dateFormat X
axisFormat %s
section baseline
noprobe (301.5 µs) : 252, 351
. : milestone, 302,
basic (301.91 µs) : 293, 310
. : milestone, 302,
loop (10.551 ms) : 10502, 10599
. : milestone, 10551,
section candidate
noprobe (294.416 µs) : 267, 322
. : milestone, 294,
basic (297.956 µs) : 289, 307
. : milestone, 298,
loop (10.932 ms) : 10862, 11002
. : milestone, 10932,
|
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 47 metrics, 16 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.39.0-SNAPSHOT~9d797a349c, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.049 s) : 0, 1049317
Total [baseline] (10.379 s) : 0, 10379014
Agent [candidate] (1.051 s) : 0, 1051322
Total [candidate] (10.411 s) : 0, 10411160
section appsec
Agent [baseline] (1.181 s) : 0, 1180829
Total [baseline] (10.657 s) : 0, 10657094
Agent [candidate] (1.168 s) : 0, 1168333
Total [candidate] (10.48 s) : 0, 10480182
section iast
Agent [baseline] (1.203 s) : 0, 1202744
Total [baseline] (10.912 s) : 0, 10911588
Agent [candidate] (1.18 s) : 0, 1179900
Total [candidate] (10.84 s) : 0, 10840326
section profiling
Agent [baseline] (1.259 s) : 0, 1259442
Total [baseline] (10.652 s) : 0, 10651883
Agent [candidate] (1.243 s) : 0, 1242565
Total [candidate] (10.574 s) : 0, 10573959
gantt
title petclinic - break down per module: candidate=1.39.0-SNAPSHOT~9d797a349c, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (669.368 ms) : 0, 669368
BytebuddyAgent [candidate] (670.028 ms) : 0, 670028
GlobalTracer [baseline] (306.749 ms) : 0, 306749
GlobalTracer [candidate] (308.076 ms) : 0, 308076
AppSec [baseline] (51.473 ms) : 0, 51473
AppSec [candidate] (51.577 ms) : 0, 51577
Remote Config [baseline] (674.869 µs) : 0, 675
Remote Config [candidate] (677.135 µs) : 0, 677
Telemetry [baseline] (7.477 ms) : 0, 7477
Telemetry [candidate] (7.505 ms) : 0, 7505
section appsec
BytebuddyAgent [baseline] (689.082 ms) : 0, 689082
BytebuddyAgent [candidate] (678.346 ms) : 0, 678346
GlobalTracer [baseline] (300.128 ms) : 0, 300128
GlobalTracer [candidate] (299.558 ms) : 0, 299558
AppSec [baseline] (160.409 ms) : 0, 160409
AppSec [candidate] (157.28 ms) : 0, 157280
IAST [baseline] (18.334 ms) : 0, 18334
IAST [candidate] (20.722 ms) : 0, 20722
Remote Config [baseline] (619.413 µs) : 0, 619
Remote Config [candidate] (611.767 µs) : 0, 612
Telemetry [baseline] (7.878 ms) : 0, 7878
Telemetry [candidate] (8.7 ms) : 0, 8700
section iast
BytebuddyAgent [baseline] (800.943 ms) : 0, 800943
BytebuddyAgent [candidate] (784.503 ms) : 0, 784503
GlobalTracer [baseline] (302.601 ms) : 0, 302601
GlobalTracer [candidate] (297.802 ms) : 0, 297802
AppSec [baseline] (53.973 ms) : 0, 53973
AppSec [candidate] (53.843 ms) : 0, 53843
IAST [baseline] (22.518 ms) : 0, 22518
IAST [candidate] (21.685 ms) : 0, 21685
Remote Config [baseline] (605.533 µs) : 0, 606
Remote Config [candidate] (587.367 µs) : 0, 587
Telemetry [baseline] (8.228 ms) : 0, 8228
Telemetry [candidate] (7.919 ms) : 0, 7919
section profiling
BytebuddyAgent [baseline] (671.031 ms) : 0, 671031
BytebuddyAgent [candidate] (662.808 ms) : 0, 662808
GlobalTracer [baseline] (392.075 ms) : 0, 392075
GlobalTracer [candidate] (388.131 ms) : 0, 388131
AppSec [baseline] (52.366 ms) : 0, 52366
AppSec [candidate] (52.151 ms) : 0, 52151
Remote Config [baseline] (693.942 µs) : 0, 694
Remote Config [candidate] (683.51 µs) : 0, 684
Telemetry [baseline] (7.48 ms) : 0, 7480
Telemetry [candidate] (7.348 ms) : 0, 7348
ProfilingAgent [baseline] (97.618 ms) : 0, 97618
ProfilingAgent [candidate] (94.365 ms) : 0, 94365
Profiling [baseline] (97.642 ms) : 0, 97642
Profiling [candidate] (94.39 ms) : 0, 94390
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.39.0-SNAPSHOT~9d797a349c, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.057 s) : 0, 1056997
Total [baseline] (8.487 s) : 0, 8487033
Agent [candidate] (1.046 s) : 0, 1046425
Total [candidate] (8.497 s) : 0, 8497315
section iast
Agent [baseline] (1.171 s) : 0, 1170833
Total [baseline] (9.009 s) : 0, 9008956
Agent [candidate] (1.173 s) : 0, 1173482
Total [candidate] (8.953 s) : 0, 8952982
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.173 s) : 0, 1172597
Total [baseline] (8.932 s) : 0, 8932100
Agent [candidate] (1.172 s) : 0, 1171838
Total [candidate] (8.934 s) : 0, 8933562
section iast_TELEMETRY_OFF
Agent [baseline] (1.17 s) : 0, 1170364
Total [baseline] (8.995 s) : 0, 8994918
Agent [candidate] (1.172 s) : 0, 1171523
Total [candidate] (8.984 s) : 0, 8984326
gantt
title insecure-bank - break down per module: candidate=1.39.0-SNAPSHOT~9d797a349c, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (674.687 ms) : 0, 674687
BytebuddyAgent [candidate] (667.621 ms) : 0, 667621
GlobalTracer [baseline] (308.718 ms) : 0, 308718
GlobalTracer [candidate] (305.698 ms) : 0, 305698
AppSec [baseline] (51.673 ms) : 0, 51673
AppSec [candidate] (51.435 ms) : 0, 51435
Remote Config [baseline] (671.599 µs) : 0, 672
Remote Config [candidate] (674.497 µs) : 0, 674
Telemetry [baseline] (7.537 ms) : 0, 7537
Telemetry [candidate] (7.535 ms) : 0, 7535
section iast
BytebuddyAgent [baseline] (778.85 ms) : 0, 778850
BytebuddyAgent [candidate] (778.911 ms) : 0, 778911
GlobalTracer [baseline] (295.628 ms) : 0, 295628
GlobalTracer [candidate] (295.965 ms) : 0, 295965
AppSec [baseline] (52.069 ms) : 0, 52069
AppSec [candidate] (51.328 ms) : 0, 51328
IAST [baseline] (22.836 ms) : 0, 22836
IAST [candidate] (24.455 ms) : 0, 24455
Remote Config [baseline] (587.082 µs) : 0, 587
Remote Config [candidate] (593.997 µs) : 0, 594
Telemetry [baseline] (7.287 ms) : 0, 7287
Telemetry [candidate] (8.766 ms) : 0, 8766
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (779.649 ms) : 0, 779649
BytebuddyAgent [candidate] (777.513 ms) : 0, 777513
GlobalTracer [baseline] (295.704 ms) : 0, 295704
GlobalTracer [candidate] (295.98 ms) : 0, 295980
AppSec [baseline] (52.255 ms) : 0, 52255
AppSec [candidate] (50.545 ms) : 0, 50545
IAST [baseline] (22.691 ms) : 0, 22691
IAST [candidate] (23.473 ms) : 0, 23473
Remote Config [baseline] (588.76 µs) : 0, 589
Remote Config [candidate] (609.147 µs) : 0, 609
Telemetry [baseline] (8.116 ms) : 0, 8116
Telemetry [candidate] (10.238 ms) : 0, 10238
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (777.835 ms) : 0, 777835
BytebuddyAgent [candidate] (776.4 ms) : 0, 776400
GlobalTracer [baseline] (296.694 ms) : 0, 296694
GlobalTracer [candidate] (298.052 ms) : 0, 298052
AppSec [baseline] (52.081 ms) : 0, 52081
AppSec [candidate] (53.679 ms) : 0, 53679
IAST [baseline] (22.354 ms) : 0, 22354
IAST [candidate] (21.386 ms) : 0, 21386
Remote Config [baseline] (592.364 µs) : 0, 592
Remote Config [candidate] (584.994 µs) : 0, 585
Telemetry [baseline] (7.177 ms) : 0, 7177
Telemetry [candidate] (7.902 ms) : 0, 7902
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 18 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.39.0-SNAPSHOT~9d797a349c, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section baseline
no_agent (1.362 ms) : 1343, 1381
. : milestone, 1362,
appsec (1.722 ms) : 1697, 1746
. : milestone, 1722,
appsec_no_iast (1.743 ms) : 1719, 1767
. : milestone, 1743,
iast (1.496 ms) : 1474, 1519
. : milestone, 1496,
profiling (1.485 ms) : 1462, 1508
. : milestone, 1485,
tracing (1.473 ms) : 1448, 1498
. : milestone, 1473,
section candidate
no_agent (1.363 ms) : 1343, 1383
. : milestone, 1363,
appsec (1.738 ms) : 1714, 1761
. : milestone, 1738,
appsec_no_iast (1.73 ms) : 1705, 1755
. : milestone, 1730,
iast (1.489 ms) : 1466, 1512
. : milestone, 1489,
profiling (1.499 ms) : 1473, 1524
. : milestone, 1499,
tracing (1.466 ms) : 1441, 1490
. : milestone, 1466,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.39.0-SNAPSHOT~9d797a349c, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section baseline
no_agent (367.894 µs) : 348, 388
. : milestone, 368,
iast (494.237 µs) : 472, 517
. : milestone, 494,
iast_FULL (562.045 µs) : 540, 584
. : milestone, 562,
iast_GLOBAL (519.695 µs) : 497, 543
. : milestone, 520,
iast_HARDCODED_SECRET_DISABLED (494.354 µs) : 472, 517
. : milestone, 494,
iast_INACTIVE (451.651 µs) : 430, 473
. : milestone, 452,
iast_TELEMETRY_OFF (482.742 µs) : 460, 506
. : milestone, 483,
tracing (446.762 µs) : 426, 467
. : milestone, 447,
section candidate
no_agent (367.312 µs) : 348, 387
. : milestone, 367,
iast (487.485 µs) : 465, 510
. : milestone, 487,
iast_FULL (561.453 µs) : 540, 583
. : milestone, 561,
iast_GLOBAL (524.414 µs) : 500, 548
. : milestone, 524,
iast_HARDCODED_SECRET_DISABLED (488.478 µs) : 466, 511
. : milestone, 488,
iast_INACTIVE (452.525 µs) : 432, 473
. : milestone, 453,
iast_TELEMETRY_OFF (478.43 µs) : 457, 500
. : milestone, 478,
tracing (448.641 µs) : 427, 470
. : milestone, 449,
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.39.0-SNAPSHOT~9d797a349c, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section baseline
no_agent (15.352 s) : 15352000, 15352000
. : milestone, 15352000,
appsec (15.361 s) : 15361000, 15361000
. : milestone, 15361000,
iast (19.015 s) : 19015000, 19015000
. : milestone, 19015000,
iast_GLOBAL (18.166 s) : 18166000, 18166000
. : milestone, 18166000,
profiling (15.303 s) : 15303000, 15303000
. : milestone, 15303000,
tracing (14.953 s) : 14953000, 14953000
. : milestone, 14953000,
section candidate
no_agent (15.189 s) : 15189000, 15189000
. : milestone, 15189000,
appsec (15.041 s) : 15041000, 15041000
. : milestone, 15041000,
iast (18.768 s) : 18768000, 18768000
. : milestone, 18768000,
iast_GLOBAL (18.11 s) : 18110000, 18110000
. : milestone, 18110000,
profiling (14.862 s) : 14862000, 14862000
. : milestone, 14862000,
tracing (15.023 s) : 15023000, 15023000
. : milestone, 15023000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.39.0-SNAPSHOT~9d797a349c, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section baseline
no_agent (1.457 ms) : 1446, 1469
. : milestone, 1457,
appsec (2.218 ms) : 2183, 2253
. : milestone, 2218,
iast (1.968 ms) : 1925, 2010
. : milestone, 1968,
iast_GLOBAL (2.0 ms) : 1957, 2044
. : milestone, 2000,
profiling (1.853 ms) : 1819, 1887
. : milestone, 1853,
tracing (1.825 ms) : 1793, 1858
. : milestone, 1825,
section candidate
no_agent (1.455 ms) : 1444, 1466
. : milestone, 1455,
appsec (2.213 ms) : 2178, 2248
. : milestone, 2213,
iast (1.981 ms) : 1938, 2024
. : milestone, 1981,
iast_GLOBAL (2.011 ms) : 1967, 2054
. : milestone, 2011,
profiling (1.848 ms) : 1814, 1881
. : milestone, 1848,
tracing (1.834 ms) : 1801, 1867
. : milestone, 1834,
|
f1b03cb
to
729e5d5
Compare
729e5d5
to
c2329c2
Compare
Verifies that basic Exception Replay is working as expected using a @trace annotation No new capture after the first one for an hour and only 3 frames are captured
c2329c2
to
d89cb71
Compare
tracedMethod(42, "foobar", 3.42, map, "var1", "var2", "var3"); | ||
if ("oops".equals(arg)) { | ||
tracedMethodWithException(42, "foobar", 3.42, map, "var1", "var2", "var3"); | ||
} else if ("deepOops".equals(arg)) { |
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.
deepOops :D
@@ -145,8 +145,8 @@ protected List<String> getDebuggerCommandParams() { | |||
Arrays.asList( | |||
"-Ddd.service.name=" + getAppId(), | |||
"-Ddd.profiling.enabled=false", | |||
"-Ddatadog.slf4j.simpleLogger.defaultLogLevel=debug", | |||
"-Dorg.slf4j.simpleLogger.defaultLogLevel=info", | |||
// "-Ddatadog.slf4j.simpleLogger.defaultLogLevel=debug", |
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.
remove comment?
What Does This Do
Verifies that basic Exception Replay is working as expected using a
@trace
annotationNo new capture after the first one for an hour and only 3 frames are
captured
Motivation
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: DEBUG-2735