-
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 support for TRACE_HTTP_CLIENT_ERROR_STATUSES
#7694
Conversation
d570568
to
c6b378c
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 1 performance improvements and 0 performance regressions! Performance is the same for 52 metrics, 10 unstable metrics.
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.41.0-SNAPSHOT~a3e22e1c06, baseline=1.41.0-SNAPSHOT~14a45ea1c3
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.064 s) : 0, 1063596
Total [baseline] (10.364 s) : 0, 10363706
Agent [candidate] (1.064 s) : 0, 1063684
Total [candidate] (10.391 s) : 0, 10390814
section appsec
Agent [baseline] (1.204 s) : 0, 1203726
Total [baseline] (10.567 s) : 0, 10566774
Agent [candidate] (1.197 s) : 0, 1197006
Total [candidate] (10.601 s) : 0, 10600696
section iast
Agent [baseline] (1.202 s) : 0, 1201612
Total [baseline] (10.844 s) : 0, 10844244
Agent [candidate] (1.203 s) : 0, 1202721
Total [candidate] (10.896 s) : 0, 10895867
section profiling
Agent [baseline] (1.274 s) : 0, 1273525
Total [baseline] (10.649 s) : 0, 10648995
Agent [candidate] (1.265 s) : 0, 1265419
Total [candidate] (10.621 s) : 0, 10620854
gantt
title petclinic - break down per module: candidate=1.41.0-SNAPSHOT~a3e22e1c06, baseline=1.41.0-SNAPSHOT~14a45ea1c3
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (679.393 ms) : 0, 679393
BytebuddyAgent [candidate] (678.765 ms) : 0, 678765
GlobalTracer [baseline] (309.019 ms) : 0, 309019
GlobalTracer [candidate] (309.234 ms) : 0, 309234
AppSec [baseline] (53.448 ms) : 0, 53448
AppSec [candidate] (53.836 ms) : 0, 53836
Remote Config [baseline] (647.309 µs) : 0, 647
Remote Config [candidate] (649.806 µs) : 0, 650
Telemetry [baseline] (7.485 ms) : 0, 7485
Telemetry [candidate] (7.584 ms) : 0, 7584
section appsec
BytebuddyAgent [baseline] (699.222 ms) : 0, 699222
BytebuddyAgent [candidate] (695.608 ms) : 0, 695608
GlobalTracer [baseline] (308.128 ms) : 0, 308128
GlobalTracer [candidate] (306.273 ms) : 0, 306273
AppSec [baseline] (161.614 ms) : 0, 161614
AppSec [candidate] (161.75 ms) : 0, 161750
Remote Config [baseline] (638.665 µs) : 0, 639
Remote Config [candidate] (635.965 µs) : 0, 636
Telemetry [baseline] (8.879 ms) : 0, 8879
Telemetry [candidate] (7.779 ms) : 0, 7779
IAST [baseline] (23.114 ms) : 0, 23114
IAST [candidate] (22.658 ms) : 0, 22658
section iast
BytebuddyAgent [baseline] (801.052 ms) : 0, 801052
BytebuddyAgent [candidate] (802.271 ms) : 0, 802271
GlobalTracer [baseline] (300.562 ms) : 0, 300562
GlobalTracer [candidate] (300.427 ms) : 0, 300427
AppSec [baseline] (54.064 ms) : 0, 54064
AppSec [candidate] (55.556 ms) : 0, 55556
Remote Config [baseline] (610.253 µs) : 0, 610
Remote Config [candidate] (616.996 µs) : 0, 617
Telemetry [baseline] (7.062 ms) : 0, 7062
Telemetry [candidate] (7.111 ms) : 0, 7111
IAST [baseline] (24.509 ms) : 0, 24509
IAST [candidate] (22.961 ms) : 0, 22961
section profiling
BytebuddyAgent [baseline] (679.694 ms) : 0, 679694
BytebuddyAgent [candidate] (674.426 ms) : 0, 674426
GlobalTracer [baseline] (394.852 ms) : 0, 394852
GlobalTracer [candidate] (392.915 ms) : 0, 392915
AppSec [baseline] (54.902 ms) : 0, 54902
AppSec [candidate] (54.575 ms) : 0, 54575
Remote Config [baseline] (654.471 µs) : 0, 654
Remote Config [candidate] (642.329 µs) : 0, 642
Telemetry [baseline] (7.52 ms) : 0, 7520
Telemetry [candidate] (7.435 ms) : 0, 7435
ProfilingAgent [baseline] (97.008 ms) : 0, 97008
ProfilingAgent [candidate] (96.788 ms) : 0, 96788
Profiling [baseline] (97.032 ms) : 0, 97032
Profiling [candidate] (96.812 ms) : 0, 96812
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.41.0-SNAPSHOT~a3e22e1c06, baseline=1.41.0-SNAPSHOT~14a45ea1c3
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.068 s) : 0, 1067917
Total [baseline] (8.588 s) : 0, 8588333
Agent [candidate] (1.071 s) : 0, 1071455
Total [candidate] (8.539 s) : 0, 8538977
section iast
Agent [baseline] (1.196 s) : 0, 1196477
Total [baseline] (9.108 s) : 0, 9107780
Agent [candidate] (1.197 s) : 0, 1196677
Total [candidate] (9.113 s) : 0, 9113200
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.206 s) : 0, 1206210
Total [baseline] (9.072 s) : 0, 9071810
Agent [candidate] (1.191 s) : 0, 1190965
Total [candidate] (9.08 s) : 0, 9079593
section iast_TELEMETRY_OFF
Agent [baseline] (1.19 s) : 0, 1190477
Total [baseline] (9.051 s) : 0, 9050745
Agent [candidate] (1.196 s) : 0, 1195998
Total [candidate] (9.113 s) : 0, 9112636
gantt
title insecure-bank - break down per module: candidate=1.41.0-SNAPSHOT~a3e22e1c06, baseline=1.41.0-SNAPSHOT~14a45ea1c3
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (682.099 ms) : 0, 682099
BytebuddyAgent [candidate] (684.268 ms) : 0, 684268
GlobalTracer [baseline] (310.099 ms) : 0, 310099
GlobalTracer [candidate] (311.362 ms) : 0, 311362
AppSec [baseline] (53.76 ms) : 0, 53760
AppSec [candidate] (53.866 ms) : 0, 53866
Remote Config [baseline] (663.653 µs) : 0, 664
Remote Config [candidate] (657.279 µs) : 0, 657
Telemetry [baseline] (7.619 ms) : 0, 7619
Telemetry [candidate] (7.547 ms) : 0, 7547
section iast
BytebuddyAgent [baseline] (798.598 ms) : 0, 798598
BytebuddyAgent [candidate] (796.935 ms) : 0, 796935
GlobalTracer [baseline] (298.541 ms) : 0, 298541
GlobalTracer [candidate] (299.554 ms) : 0, 299554
AppSec [baseline] (55.913 ms) : 0, 55913
AppSec [candidate] (55.844 ms) : 0, 55844
IAST [baseline] (21.282 ms) : 0, 21282
IAST [candidate] (22.875 ms) : 0, 22875
Remote Config [baseline] (613.382 µs) : 0, 613
Remote Config [candidate] (606.624 µs) : 0, 607
Telemetry [baseline] (7.802 ms) : 0, 7802
Telemetry [candidate] (7.12 ms) : 0, 7120
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (805.976 ms) : 0, 805976
BytebuddyAgent [candidate] (792.882 ms) : 0, 792882
GlobalTracer [baseline] (300.495 ms) : 0, 300495
GlobalTracer [candidate] (298.536 ms) : 0, 298536
AppSec [baseline] (56.745 ms) : 0, 56745
AppSec [candidate] (53.911 ms) : 0, 53911
IAST [baseline] (21.34 ms) : 0, 21340
IAST [candidate] (24.319 ms) : 0, 24319
Remote Config [baseline] (614.753 µs) : 0, 615
Remote Config [candidate] (596.642 µs) : 0, 597
Telemetry [baseline] (7.16 ms) : 0, 7160
Telemetry [candidate] (7.035 ms) : 0, 7035
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (793.07 ms) : 0, 793070
BytebuddyAgent [candidate] (796.346 ms) : 0, 796346
GlobalTracer [baseline] (298.672 ms) : 0, 298672
GlobalTracer [candidate] (300.646 ms) : 0, 300646
AppSec [baseline] (55.754 ms) : 0, 55754
AppSec [candidate] (55.513 ms) : 0, 55513
IAST [baseline] (21.657 ms) : 0, 21657
IAST [candidate] (22.262 ms) : 0, 22262
Remote Config [baseline] (627.092 µs) : 0, 627
Remote Config [candidate] (595.626 µs) : 0, 596
Telemetry [baseline] (6.984 ms) : 0, 6984
Telemetry [candidate] (6.866 ms) : 0, 6866
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 1 performance regressions! Performance is the same for 12 metrics, 15 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.41.0-SNAPSHOT~a3e22e1c06, baseline=1.41.0-SNAPSHOT~14a45ea1c3
dateFormat X
axisFormat %s
section baseline
no_agent (1.355 ms) : 1336, 1375
. : milestone, 1355,
appsec (1.723 ms) : 1697, 1748
. : milestone, 1723,
appsec_no_iast (1.711 ms) : 1686, 1736
. : milestone, 1711,
iast (1.48 ms) : 1458, 1502
. : milestone, 1480,
profiling (1.475 ms) : 1451, 1499
. : milestone, 1475,
tracing (1.483 ms) : 1460, 1507
. : milestone, 1483,
section candidate
no_agent (1.357 ms) : 1338, 1377
. : milestone, 1357,
appsec (1.715 ms) : 1691, 1740
. : milestone, 1715,
appsec_no_iast (1.718 ms) : 1693, 1742
. : milestone, 1718,
iast (1.5 ms) : 1478, 1521
. : milestone, 1500,
profiling (1.559 ms) : 1534, 1584
. : milestone, 1559,
tracing (1.467 ms) : 1442, 1491
. : milestone, 1467,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.41.0-SNAPSHOT~a3e22e1c06, baseline=1.41.0-SNAPSHOT~14a45ea1c3
dateFormat X
axisFormat %s
section baseline
no_agent (374.746 µs) : 355, 394
. : milestone, 375,
iast (490.233 µs) : 469, 512
. : milestone, 490,
iast_FULL (561.175 µs) : 540, 583
. : milestone, 561,
iast_GLOBAL (515.131 µs) : 493, 537
. : milestone, 515,
iast_HARDCODED_SECRET_DISABLED (486.084 µs) : 465, 507
. : milestone, 486,
iast_INACTIVE (447.956 µs) : 427, 469
. : milestone, 448,
iast_TELEMETRY_OFF (474.61 µs) : 454, 496
. : milestone, 475,
tracing (453.502 µs) : 432, 475
. : milestone, 454,
section candidate
no_agent (372.969 µs) : 354, 392
. : milestone, 373,
iast (484.032 µs) : 463, 505
. : milestone, 484,
iast_FULL (557.423 µs) : 536, 579
. : milestone, 557,
iast_GLOBAL (508.659 µs) : 488, 530
. : milestone, 509,
iast_HARDCODED_SECRET_DISABLED (496.333 µs) : 474, 518
. : milestone, 496,
iast_INACTIVE (455.949 µs) : 435, 477
. : milestone, 456,
iast_TELEMETRY_OFF (477.344 µs) : 456, 499
. : milestone, 477,
tracing (459.488 µs) : 439, 480
. : milestone, 459,
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.41.0-SNAPSHOT~a3e22e1c06, baseline=1.41.0-SNAPSHOT~14a45ea1c3
dateFormat X
axisFormat %s
section baseline
no_agent (1.46 ms) : 1449, 1472
. : milestone, 1460,
appsec (2.31 ms) : 2269, 2350
. : milestone, 2310,
iast (2.054 ms) : 2003, 2105
. : milestone, 2054,
iast_GLOBAL (2.108 ms) : 2056, 2160
. : milestone, 2108,
profiling (1.916 ms) : 1876, 1956
. : milestone, 1916,
tracing (1.901 ms) : 1861, 1940
. : milestone, 1901,
section candidate
no_agent (1.462 ms) : 1451, 1474
. : milestone, 1462,
appsec (2.298 ms) : 2257, 2338
. : milestone, 2298,
iast (2.061 ms) : 2010, 2113
. : milestone, 2061,
iast_GLOBAL (2.097 ms) : 2045, 2149
. : milestone, 2097,
profiling (1.918 ms) : 1878, 1958
. : milestone, 1918,
tracing (1.895 ms) : 1856, 1934
. : milestone, 1895,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.41.0-SNAPSHOT~a3e22e1c06, baseline=1.41.0-SNAPSHOT~14a45ea1c3
dateFormat X
axisFormat %s
section baseline
no_agent (15.221 s) : 15221000, 15221000
. : milestone, 15221000,
appsec (15.176 s) : 15176000, 15176000
. : milestone, 15176000,
iast (18.875 s) : 18875000, 18875000
. : milestone, 18875000,
iast_GLOBAL (18.06 s) : 18060000, 18060000
. : milestone, 18060000,
profiling (15.636 s) : 15636000, 15636000
. : milestone, 15636000,
tracing (15.016 s) : 15016000, 15016000
. : milestone, 15016000,
section candidate
no_agent (15.078 s) : 15078000, 15078000
. : milestone, 15078000,
appsec (15.192 s) : 15192000, 15192000
. : milestone, 15192000,
iast (18.754 s) : 18754000, 18754000
. : milestone, 18754000,
iast_GLOBAL (18.011 s) : 18011000, 18011000
. : milestone, 18011000,
profiling (14.882 s) : 14882000, 14882000
. : milestone, 14882000,
tracing (15.114 s) : 15114000, 15114000
. : milestone, 15114000,
|
Following our discussion, I made a PR to test config alias priority here: #7706 |
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.
LGTM 👍
6a874cf
to
bd83253
Compare
@PerfectSlayer Can I get the approving review to merge this PR? 🙇♂️ |
Looks like I only comment where I meant to approve 😅 |
What Does This Do
Add support to handle
TRACE_HTTP_CLIENT_ERROR_STATUSES
tag as well as the originalHTTP_CLIENT_ERROR_STATUSES
tag in efforts to be more consistent with the tags from other languages.Motivation
Our goal is to make the implementation of configuration variables consistent for all languages as part of the config consistency effort listed in the following RFC.
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: APMAPI-477