-
Notifications
You must be signed in to change notification settings - Fork 291
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
Fix /info endpoint in smoke tests #7930
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. |
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 52 metrics, 11 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.43.0-SNAPSHOT~f2a4989e0d, baseline=1.43.0-SNAPSHOT~31bfaf7217
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.084 s) : 0, 1084367
Total [baseline] (8.587 s) : 0, 8587219
Agent [candidate] (1.085 s) : 0, 1085049
Total [candidate] (8.584 s) : 0, 8584352
section iast
Agent [baseline] (1.218 s) : 0, 1217575
Total [baseline] (9.216 s) : 0, 9216134
Agent [candidate] (1.217 s) : 0, 1217268
Total [candidate] (9.19 s) : 0, 9189842
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.21 s) : 0, 1209918
Total [baseline] (9.146 s) : 0, 9146347
Agent [candidate] (1.22 s) : 0, 1219952
Total [candidate] (9.15 s) : 0, 9149584
section iast_TELEMETRY_OFF
Agent [baseline] (1.215 s) : 0, 1214830
Total [baseline] (9.165 s) : 0, 9164927
Agent [candidate] (1.214 s) : 0, 1213943
Total [candidate] (9.17 s) : 0, 9170408
gantt
title insecure-bank - break down per module: candidate=1.43.0-SNAPSHOT~f2a4989e0d, baseline=1.43.0-SNAPSHOT~31bfaf7217
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (688.766 ms) : 0, 688766
BytebuddyAgent [candidate] (687.764 ms) : 0, 687764
GlobalTracer [baseline] (316.615 ms) : 0, 316615
GlobalTracer [candidate] (316.216 ms) : 0, 316216
AppSec [baseline] (54.437 ms) : 0, 54437
AppSec [candidate] (54.457 ms) : 0, 54457
Remote Config [baseline] (685.134 µs) : 0, 685
Remote Config [candidate] (678.136 µs) : 0, 678
Telemetry [baseline] (10.027 ms) : 0, 10027
Telemetry [candidate] (12.141 ms) : 0, 12141
section iast
BytebuddyAgent [baseline] (808.689 ms) : 0, 808689
BytebuddyAgent [candidate] (808.758 ms) : 0, 808758
GlobalTracer [baseline] (307.209 ms) : 0, 307209
GlobalTracer [candidate] (307.317 ms) : 0, 307317
AppSec [baseline] (56.848 ms) : 0, 56848
AppSec [candidate] (56.617 ms) : 0, 56617
IAST [baseline] (22.631 ms) : 0, 22631
IAST [candidate] (22.452 ms) : 0, 22452
Remote Config [baseline] (634.308 µs) : 0, 634
Remote Config [candidate] (630.299 µs) : 0, 630
Telemetry [baseline] (7.664 ms) : 0, 7664
Telemetry [candidate] (7.626 ms) : 0, 7626
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (803.488 ms) : 0, 803488
BytebuddyAgent [candidate] (810.718 ms) : 0, 810718
GlobalTracer [baseline] (305.865 ms) : 0, 305865
GlobalTracer [candidate] (307.317 ms) : 0, 307317
AppSec [baseline] (55.486 ms) : 0, 55486
AppSec [candidate] (58.468 ms) : 0, 58468
IAST [baseline] (22.292 ms) : 0, 22292
IAST [candidate] (21.177 ms) : 0, 21177
Remote Config [baseline] (618.784 µs) : 0, 619
Remote Config [candidate] (637.956 µs) : 0, 638
Telemetry [baseline] (8.366 ms) : 0, 8366
Telemetry [candidate] (7.719 ms) : 0, 7719
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (806.704 ms) : 0, 806704
BytebuddyAgent [candidate] (806.563 ms) : 0, 806563
GlobalTracer [baseline] (307.659 ms) : 0, 307659
GlobalTracer [candidate] (306.488 ms) : 0, 306488
AppSec [baseline] (58.37 ms) : 0, 58370
AppSec [candidate] (57.945 ms) : 0, 57945
IAST [baseline] (20.224 ms) : 0, 20224
IAST [candidate] (20.358 ms) : 0, 20358
Remote Config [baseline] (605.643 µs) : 0, 606
Remote Config [candidate] (608.045 µs) : 0, 608
Telemetry [baseline] (7.392 ms) : 0, 7392
Telemetry [candidate] (8.147 ms) : 0, 8147
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.43.0-SNAPSHOT~f2a4989e0d, baseline=1.43.0-SNAPSHOT~31bfaf7217
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.082 s) : 0, 1082061
Total [baseline] (10.461 s) : 0, 10460815
Agent [candidate] (1.094 s) : 0, 1094420
Total [candidate] (10.461 s) : 0, 10460852
section appsec
Agent [baseline] (1.221 s) : 0, 1221045
Total [baseline] (10.7 s) : 0, 10700049
Agent [candidate] (1.227 s) : 0, 1226871
Total [candidate] (10.717 s) : 0, 10717091
section iast
Agent [baseline] (1.211 s) : 0, 1211485
Total [baseline] (10.983 s) : 0, 10982562
Agent [candidate] (1.217 s) : 0, 1216591
Total [candidate] (10.964 s) : 0, 10964237
section profiling
Agent [baseline] (1.28 s) : 0, 1279682
Total [baseline] (10.738 s) : 0, 10738338
Agent [candidate] (1.289 s) : 0, 1289166
Total [candidate] (10.791 s) : 0, 10790909
gantt
title petclinic - break down per module: candidate=1.43.0-SNAPSHOT~f2a4989e0d, baseline=1.43.0-SNAPSHOT~31bfaf7217
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (687.121 ms) : 0, 687121
BytebuddyAgent [candidate] (693.947 ms) : 0, 693947
GlobalTracer [baseline] (316.114 ms) : 0, 316114
GlobalTracer [candidate] (319.136 ms) : 0, 319136
AppSec [baseline] (54.256 ms) : 0, 54256
AppSec [candidate] (54.701 ms) : 0, 54701
Remote Config [baseline] (682.637 µs) : 0, 683
Remote Config [candidate] (681.983 µs) : 0, 682
Telemetry [baseline] (10.133 ms) : 0, 10133
Telemetry [candidate] (12.07 ms) : 0, 12070
section appsec
BytebuddyAgent [baseline] (707.11 ms) : 0, 707110
BytebuddyAgent [candidate] (709.998 ms) : 0, 709998
GlobalTracer [baseline] (314.727 ms) : 0, 314727
GlobalTracer [candidate] (316.174 ms) : 0, 316174
AppSec [baseline] (166.063 ms) : 0, 166063
AppSec [candidate] (168.336 ms) : 0, 168336
IAST [baseline] (21.04 ms) : 0, 21040
IAST [candidate] (20.678 ms) : 0, 20678
Remote Config [baseline] (642.292 µs) : 0, 642
Remote Config [candidate] (644.779 µs) : 0, 645
Telemetry [baseline] (8.208 ms) : 0, 8208
Telemetry [candidate] (7.542 ms) : 0, 7542
section iast
BytebuddyAgent [baseline] (805.069 ms) : 0, 805069
BytebuddyAgent [candidate] (809.171 ms) : 0, 809171
GlobalTracer [baseline] (306.056 ms) : 0, 306056
GlobalTracer [candidate] (306.994 ms) : 0, 306994
AppSec [baseline] (57.613 ms) : 0, 57613
AppSec [candidate] (57.748 ms) : 0, 57748
IAST [baseline] (20.803 ms) : 0, 20803
IAST [candidate] (20.662 ms) : 0, 20662
Remote Config [baseline] (636.783 µs) : 0, 637
Remote Config [candidate] (643.831 µs) : 0, 644
Telemetry [baseline] (7.534 ms) : 0, 7534
Telemetry [candidate] (7.469 ms) : 0, 7469
section profiling
BytebuddyAgent [baseline] (680.074 ms) : 0, 680074
BytebuddyAgent [candidate] (685.78 ms) : 0, 685780
GlobalTracer [baseline] (400.767 ms) : 0, 400767
GlobalTracer [candidate] (402.625 ms) : 0, 402625
AppSec [baseline] (54.808 ms) : 0, 54808
AppSec [candidate] (55.084 ms) : 0, 55084
Remote Config [baseline] (666.759 µs) : 0, 667
Remote Config [candidate] (677.406 µs) : 0, 677
Telemetry [baseline] (13.423 ms) : 0, 13423
Telemetry [candidate] (12.665 ms) : 0, 12665
ProfilingAgent [baseline] (90.866 ms) : 0, 90866
ProfilingAgent [candidate] (93.049 ms) : 0, 93049
Profiling [baseline] (90.89 ms) : 0, 90890
Profiling [candidate] (93.073 ms) : 0, 93073
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.43.0-SNAPSHOT~f2a4989e0d, baseline=1.43.0-SNAPSHOT~31bfaf7217
dateFormat X
axisFormat %s
section baseline
no_agent (372.207 µs) : 353, 392
. : milestone, 372,
iast (484.438 µs) : 463, 506
. : milestone, 484,
iast_FULL (638.54 µs) : 617, 660
. : milestone, 639,
iast_GLOBAL (514.724 µs) : 494, 536
. : milestone, 515,
iast_HARDCODED_SECRET_DISABLED (485.476 µs) : 465, 506
. : milestone, 485,
iast_INACTIVE (445.713 µs) : 425, 467
. : milestone, 446,
iast_TELEMETRY_OFF (475.788 µs) : 454, 497
. : milestone, 476,
tracing (453.016 µs) : 429, 477
. : milestone, 453,
section candidate
no_agent (374.408 µs) : 354, 394
. : milestone, 374,
iast (488.632 µs) : 467, 510
. : milestone, 489,
iast_FULL (641.193 µs) : 620, 663
. : milestone, 641,
iast_GLOBAL (520.036 µs) : 498, 542
. : milestone, 520,
iast_HARDCODED_SECRET_DISABLED (491.17 µs) : 470, 512
. : milestone, 491,
iast_INACTIVE (447.343 µs) : 426, 468
. : milestone, 447,
iast_TELEMETRY_OFF (478.991 µs) : 458, 500
. : milestone, 479,
tracing (439.626 µs) : 419, 460
. : milestone, 440,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.43.0-SNAPSHOT~f2a4989e0d, baseline=1.43.0-SNAPSHOT~31bfaf7217
dateFormat X
axisFormat %s
section baseline
no_agent (1.346 ms) : 1326, 1365
. : milestone, 1346,
appsec (1.73 ms) : 1705, 1754
. : milestone, 1730,
appsec_no_iast (1.742 ms) : 1718, 1765
. : milestone, 1742,
iast (1.47 ms) : 1447, 1492
. : milestone, 1470,
profiling (1.477 ms) : 1454, 1499
. : milestone, 1477,
tracing (1.476 ms) : 1453, 1500
. : milestone, 1476,
section candidate
no_agent (1.344 ms) : 1325, 1363
. : milestone, 1344,
appsec (1.731 ms) : 1708, 1754
. : milestone, 1731,
appsec_no_iast (1.731 ms) : 1707, 1755
. : milestone, 1731,
iast (1.484 ms) : 1462, 1507
. : milestone, 1484,
profiling (1.481 ms) : 1458, 1503
. : milestone, 1481,
tracing (1.477 ms) : 1453, 1500
. : milestone, 1477,
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 tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.43.0-SNAPSHOT~f2a4989e0d, baseline=1.43.0-SNAPSHOT~31bfaf7217
dateFormat X
axisFormat %s
section baseline
no_agent (1.469 ms) : 1457, 1481
. : milestone, 1469,
appsec (2.322 ms) : 2281, 2363
. : milestone, 2322,
iast (2.067 ms) : 2015, 2119
. : milestone, 2067,
iast_GLOBAL (2.108 ms) : 2056, 2159
. : milestone, 2108,
profiling (1.926 ms) : 1885, 1967
. : milestone, 1926,
tracing (1.918 ms) : 1878, 1957
. : milestone, 1918,
section candidate
no_agent (1.468 ms) : 1456, 1480
. : milestone, 1468,
appsec (2.327 ms) : 2285, 2368
. : milestone, 2327,
iast (2.068 ms) : 2016, 2121
. : milestone, 2068,
iast_GLOBAL (2.118 ms) : 2066, 2171
. : milestone, 2118,
profiling (1.941 ms) : 1899, 1983
. : milestone, 1941,
tracing (1.922 ms) : 1882, 1962
. : milestone, 1922,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.43.0-SNAPSHOT~f2a4989e0d, baseline=1.43.0-SNAPSHOT~31bfaf7217
dateFormat X
axisFormat %s
section baseline
no_agent (15.815 s) : 15815000, 15815000
. : milestone, 15815000,
appsec (15.166 s) : 15166000, 15166000
. : milestone, 15166000,
iast (18.497 s) : 18497000, 18497000
. : milestone, 18497000,
iast_GLOBAL (18.293 s) : 18293000, 18293000
. : milestone, 18293000,
profiling (15.049 s) : 15049000, 15049000
. : milestone, 15049000,
tracing (15.199 s) : 15199000, 15199000
. : milestone, 15199000,
section candidate
no_agent (15.487 s) : 15487000, 15487000
. : milestone, 15487000,
appsec (15.319 s) : 15319000, 15319000
. : milestone, 15319000,
iast (19.0 s) : 19000000, 19000000
. : milestone, 19000000,
iast_GLOBAL (18.346 s) : 18346000, 18346000
. : milestone, 18346000,
profiling (14.935 s) : 14935000, 14935000
. : milestone, 14935000,
tracing (15.315 s) : 15315000, 15315000
. : milestone, 15315000,
|
28e4e17
to
f2a4989
Compare
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.
+1
What Does This Do
#7257 introduced the
/info
endpoint for the mock agent in smoke-tests, but it was malformed, leading to logged exceptions:Also modified
AsmStandaloneBillingSmokeTest.groovy
to stop relying onTestHttpServer.last
, which is flaky/failing if a non-tracing request to the agent gets sent in the middle.Added metrics endpoint to keep everything closer to prod.
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 issue[ ] Update the public documentation in case of new configuration flag or behaviorJira ticket: [PROJ-IDENT]