-
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
Report exception when deserializing config #7092
Conversation
Send probe diagnostic messages when an error occurred during config deserialization (compatibility issue, unsupported feature, malformed json, parsing bug)
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 48 metrics, 15 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.35.0-SNAPSHOT~e9626a524b, baseline=1.35.0-SNAPSHOT~4b5cad9604
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.057 s) : 0, 1056756
Total [baseline] (8.548 s) : 0, 8548322
Agent [candidate] (1.062 s) : 0, 1061549
Total [candidate] (8.58 s) : 0, 8580076
section iast
Agent [baseline] (1.178 s) : 0, 1177571
Total [baseline] (9.047 s) : 0, 9047138
Agent [candidate] (1.184 s) : 0, 1183894
Total [candidate] (8.995 s) : 0, 8994765
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.164 s) : 0, 1164054
Total [baseline] (8.96 s) : 0, 8960355
Agent [candidate] (1.201 s) : 0, 1200916
Total [candidate] (9.012 s) : 0, 9011885
section iast_TELEMETRY_OFF
Agent [baseline] (1.169 s) : 0, 1168582
Total [baseline] (8.984 s) : 0, 8984454
Agent [candidate] (1.187 s) : 0, 1187178
Total [candidate] (8.991 s) : 0, 8990914
gantt
title insecure-bank - break down per module: candidate=1.35.0-SNAPSHOT~e9626a524b, baseline=1.35.0-SNAPSHOT~4b5cad9604
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (652.124 ms) : 0, 652124
BytebuddyAgent [candidate] (655.549 ms) : 0, 655549
GlobalTracer [baseline] (311.904 ms) : 0, 311904
GlobalTracer [candidate] (313.47 ms) : 0, 313470
AppSec [baseline] (49.947 ms) : 0, 49947
AppSec [candidate] (49.721 ms) : 0, 49721
Remote Config [baseline] (662.331 µs) : 0, 662
Remote Config [candidate] (671.553 µs) : 0, 672
Telemetry [baseline] (7.579 ms) : 0, 7579
Telemetry [candidate] (7.629 ms) : 0, 7629
section iast
BytebuddyAgent [baseline] (788.521 ms) : 0, 788521
BytebuddyAgent [candidate] (776.242 ms) : 0, 776242
GlobalTracer [baseline] (295.042 ms) : 0, 295042
GlobalTracer [candidate] (291.816 ms) : 0, 291816
AppSec [baseline] (49.76 ms) : 0, 49760
AppSec [candidate] (47.291 ms) : 0, 47291
IAST [baseline] (23.249 ms) : 0, 23249
IAST [candidate] (26.269 ms) : 0, 26269
Remote Config [baseline] (604.894 µs) : 0, 605
Remote Config [candidate] (594.074 µs) : 0, 594
Telemetry [baseline] (6.993 ms) : 0, 6993
Telemetry [candidate] (7.334 ms) : 0, 7334
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (776.485 ms) : 0, 776485
BytebuddyAgent [candidate] (787.806 ms) : 0, 787806
GlobalTracer [baseline] (291.365 ms) : 0, 291365
GlobalTracer [candidate] (295.999 ms) : 0, 295999
AppSec [baseline] (49.018 ms) : 0, 49018
AppSec [candidate] (48.31 ms) : 0, 48310
IAST [baseline] (24.961 ms) : 0, 24961
IAST [candidate] (25.845 ms) : 0, 25845
Remote Config [baseline] (590.962 µs) : 0, 591
Remote Config [candidate] (600.894 µs) : 0, 601
Telemetry [baseline] (8.347 ms) : 0, 8347
Telemetry [candidate] (7.479 ms) : 0, 7479
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (779.746 ms) : 0, 779746
BytebuddyAgent [candidate] (777.519 ms) : 0, 777519
GlobalTracer [baseline] (293.174 ms) : 0, 293174
GlobalTracer [candidate] (293.916 ms) : 0, 293916
AppSec [baseline] (49.798 ms) : 0, 49798
AppSec [candidate] (53.183 ms) : 0, 53183
IAST [baseline] (22.879 ms) : 0, 22879
IAST [candidate] (21.171 ms) : 0, 21171
Remote Config [baseline] (579.976 µs) : 0, 580
Remote Config [candidate] (582.719 µs) : 0, 583
Telemetry [baseline] (9.045 ms) : 0, 9045
Telemetry [candidate] (6.446 ms) : 0, 6446
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.35.0-SNAPSHOT~e9626a524b, baseline=1.35.0-SNAPSHOT~4b5cad9604
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.056 s) : 0, 1055918
Total [baseline] (10.303 s) : 0, 10303228
Agent [candidate] (1.063 s) : 0, 1062733
Total [candidate] (10.419 s) : 0, 10419183
section appsec
Agent [baseline] (1.174 s) : 0, 1173540
Total [baseline] (10.462 s) : 0, 10461798
Agent [candidate] (1.177 s) : 0, 1176936
Total [candidate] (10.49 s) : 0, 10490319
section iast
Agent [baseline] (1.168 s) : 0, 1167822
Total [baseline] (10.786 s) : 0, 10785823
Agent [candidate] (1.187 s) : 0, 1187172
Total [candidate] (10.809 s) : 0, 10808894
section profiling
Agent [baseline] (1.258 s) : 0, 1257987
Total [baseline] (10.569 s) : 0, 10569394
Agent [candidate] (1.273 s) : 0, 1273202
Total [candidate] (10.589 s) : 0, 10589340
gantt
title petclinic - break down per module: candidate=1.35.0-SNAPSHOT~e9626a524b, baseline=1.35.0-SNAPSHOT~4b5cad9604
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (652.002 ms) : 0, 652002
BytebuddyAgent [candidate] (655.714 ms) : 0, 655714
GlobalTracer [baseline] (311.806 ms) : 0, 311806
GlobalTracer [candidate] (314.219 ms) : 0, 314219
AppSec [baseline] (49.546 ms) : 0, 49546
AppSec [candidate] (49.834 ms) : 0, 49834
Remote Config [baseline] (662.095 µs) : 0, 662
Remote Config [candidate] (679.661 µs) : 0, 680
Telemetry [baseline] (7.603 ms) : 0, 7603
Telemetry [candidate] (7.687 ms) : 0, 7687
section appsec
BytebuddyAgent [baseline] (673.089 ms) : 0, 673089
BytebuddyAgent [candidate] (675.578 ms) : 0, 675578
GlobalTracer [baseline] (295.133 ms) : 0, 295133
GlobalTracer [candidate] (296.013 ms) : 0, 296013
AppSec [baseline] (152.618 ms) : 0, 152618
AppSec [candidate] (153.002 ms) : 0, 153002
IAST [baseline] (18.688 ms) : 0, 18688
IAST [candidate] (18.84 ms) : 0, 18840
Remote Config [baseline] (614.568 µs) : 0, 615
Remote Config [candidate] (633.544 µs) : 0, 634
Telemetry [baseline] (8.371 ms) : 0, 8371
Telemetry [candidate] (7.78 ms) : 0, 7780
section iast
BytebuddyAgent [baseline] (782.123 ms) : 0, 782123
BytebuddyAgent [candidate] (778.187 ms) : 0, 778187
GlobalTracer [baseline] (291.621 ms) : 0, 291621
GlobalTracer [candidate] (292.727 ms) : 0, 292727
AppSec [baseline] (48.626 ms) : 0, 48626
AppSec [candidate] (49.963 ms) : 0, 49963
IAST [baseline] (23.944 ms) : 0, 23944
IAST [candidate] (23.969 ms) : 0, 23969
Remote Config [baseline] (595.709 µs) : 0, 596
Remote Config [candidate] (590.176 µs) : 0, 590
Telemetry [baseline] (7.65 ms) : 0, 7650
Telemetry [candidate] (7.362 ms) : 0, 7362
section profiling
BytebuddyAgent [baseline] (661.575 ms) : 0, 661575
BytebuddyAgent [candidate] (670.863 ms) : 0, 670863
GlobalTracer [baseline] (385.622 ms) : 0, 385622
GlobalTracer [candidate] (388.567 ms) : 0, 388567
AppSec [baseline] (50.374 ms) : 0, 50374
AppSec [candidate] (51.099 ms) : 0, 51099
Remote Config [baseline] (910.131 µs) : 0, 910
Remote Config [candidate] (812.502 µs) : 0, 813
Telemetry [baseline] (7.476 ms) : 0, 7476
Telemetry [candidate] (7.534 ms) : 0, 7534
ProfilingAgent [baseline] (95.491 ms) : 0, 95491
ProfilingAgent [candidate] (97.046 ms) : 0, 97046
Profiling [baseline] (95.516 ms) : 0, 95516
Profiling [candidate] (97.07 ms) : 0, 97070
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 insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.35.0-SNAPSHOT~e9626a524b, baseline=1.35.0-SNAPSHOT~4b5cad9604
dateFormat X
axisFormat %s
section baseline
no_agent (370.337 µs) : 350, 390
. : milestone, 370,
iast (477.923 µs) : 457, 499
. : milestone, 478,
iast_FULL (538.622 µs) : 518, 559
. : milestone, 539,
iast_GLOBAL (503.43 µs) : 482, 525
. : milestone, 503,
iast_HARDCODED_SECRET_DISABLED (473.687 µs) : 453, 495
. : milestone, 474,
iast_INACTIVE (446.468 µs) : 426, 467
. : milestone, 446,
iast_TELEMETRY_OFF (468.883 µs) : 447, 490
. : milestone, 469,
tracing (435.137 µs) : 415, 455
. : milestone, 435,
section candidate
no_agent (361.837 µs) : 341, 382
. : milestone, 362,
iast (475.519 µs) : 455, 496
. : milestone, 476,
iast_FULL (546.803 µs) : 526, 568
. : milestone, 547,
iast_GLOBAL (498.392 µs) : 478, 519
. : milestone, 498,
iast_HARDCODED_SECRET_DISABLED (479.383 µs) : 457, 502
. : milestone, 479,
iast_INACTIVE (446.117 µs) : 425, 467
. : milestone, 446,
iast_TELEMETRY_OFF (476.781 µs) : 454, 500
. : milestone, 477,
tracing (440.883 µs) : 420, 462
. : milestone, 441,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.35.0-SNAPSHOT~e9626a524b, baseline=1.35.0-SNAPSHOT~4b5cad9604
dateFormat X
axisFormat %s
section baseline
no_agent (1.348 ms) : 1328, 1367
. : milestone, 1348,
appsec (1.706 ms) : 1681, 1731
. : milestone, 1706,
appsec_no_iast (1.716 ms) : 1691, 1740
. : milestone, 1716,
iast (1.464 ms) : 1441, 1486
. : milestone, 1464,
profiling (1.471 ms) : 1447, 1495
. : milestone, 1471,
tracing (1.486 ms) : 1463, 1510
. : milestone, 1486,
section candidate
no_agent (1.34 ms) : 1320, 1359
. : milestone, 1340,
appsec (1.702 ms) : 1678, 1727
. : milestone, 1702,
appsec_no_iast (1.687 ms) : 1662, 1712
. : milestone, 1687,
iast (1.467 ms) : 1444, 1489
. : milestone, 1467,
profiling (1.521 ms) : 1495, 1546
. : milestone, 1521,
tracing (1.459 ms) : 1434, 1483
. : milestone, 1459,
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.35.0-SNAPSHOT~e9626a524b, baseline=1.35.0-SNAPSHOT~4b5cad9604
dateFormat X
axisFormat %s
section baseline
no_agent (15.152 s) : 15152000, 15152000
. : milestone, 15152000,
appsec (15.041 s) : 15041000, 15041000
. : milestone, 15041000,
iast (18.671 s) : 18671000, 18671000
. : milestone, 18671000,
iast_GLOBAL (17.838 s) : 17838000, 17838000
. : milestone, 17838000,
profiling (15.427 s) : 15427000, 15427000
. : milestone, 15427000,
tracing (15.285 s) : 15285000, 15285000
. : milestone, 15285000,
section candidate
no_agent (15.159 s) : 15159000, 15159000
. : milestone, 15159000,
appsec (15.056 s) : 15056000, 15056000
. : milestone, 15056000,
iast (18.547 s) : 18547000, 18547000
. : milestone, 18547000,
iast_GLOBAL (17.856 s) : 17856000, 17856000
. : milestone, 17856000,
profiling (15.535 s) : 15535000, 15535000
. : milestone, 15535000,
tracing (15.094 s) : 15094000, 15094000
. : milestone, 15094000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.35.0-SNAPSHOT~e9626a524b, baseline=1.35.0-SNAPSHOT~4b5cad9604
dateFormat X
axisFormat %s
section baseline
no_agent (1.457 ms) : 1446, 1468
. : milestone, 1457,
appsec (2.204 ms) : 2169, 2239
. : milestone, 2204,
iast (1.959 ms) : 1918, 2001
. : milestone, 1959,
iast_GLOBAL (1.996 ms) : 1954, 2038
. : milestone, 1996,
profiling (1.834 ms) : 1801, 1866
. : milestone, 1834,
tracing (1.822 ms) : 1791, 1854
. : milestone, 1822,
section candidate
no_agent (1.455 ms) : 1444, 1466
. : milestone, 1455,
appsec (2.202 ms) : 2168, 2236
. : milestone, 2202,
iast (1.956 ms) : 1915, 1996
. : milestone, 1956,
iast_GLOBAL (1.995 ms) : 1954, 2035
. : milestone, 1995,
profiling (1.843 ms) : 1810, 1877
. : milestone, 1843,
tracing (1.82 ms) : 1788, 1852
. : milestone, 1820,
|
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.
should we also want to write error this to telemetry?
because we are logging the exception with: |
What Does This Do
Send probe diagnostic messages when an error occurred during config deserialization (compatibility issue, unsupported feature, malformed json, parsing bug)
Motivation
Report error to the user
Additional Notes
Jira ticket: DEBUG-2418