-
Notifications
You must be signed in to change notification settings - Fork 303
Simplify activateSpan API to not include async propagation flag #8557
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
Conversation
7d25fd4
to
41ae3f7
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 59 metrics, 4 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.48.0-SNAPSHOT~a250acae00, baseline=1.48.0-SNAPSHOT~bde13e8991
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.043 s) : 0, 1043473
Total [baseline] (10.495 s) : 0, 10494695
Agent [candidate] (1.048 s) : 0, 1048138
Total [candidate] (10.502 s) : 0, 10501657
section appsec
Agent [baseline] (1.182 s) : 0, 1181539
Total [baseline] (10.813 s) : 0, 10813088
Agent [candidate] (1.186 s) : 0, 1186143
Total [candidate] (10.776 s) : 0, 10776265
section iast
Agent [baseline] (1.174 s) : 0, 1174412
Total [baseline] (11.021 s) : 0, 11021159
Agent [candidate] (1.176 s) : 0, 1175600
Total [candidate] (11.047 s) : 0, 11047465
section profiling
Agent [baseline] (1.26 s) : 0, 1260175
Total [baseline] (10.945 s) : 0, 10945238
Agent [candidate] (1.268 s) : 0, 1268386
Total [candidate] (10.948 s) : 0, 10947975
gantt
title petclinic - break down per module: candidate=1.48.0-SNAPSHOT~a250acae00, baseline=1.48.0-SNAPSHOT~bde13e8991
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (719.857 ms) : 0, 719857
BytebuddyAgent [candidate] (723.045 ms) : 0, 723045
GlobalTracer [baseline] (240.389 ms) : 0, 240389
GlobalTracer [candidate] (241.037 ms) : 0, 241037
AppSec [baseline] (54.989 ms) : 0, 54989
AppSec [candidate] (55.171 ms) : 0, 55171
Remote Config [baseline] (698.886 µs) : 0, 699
Remote Config [candidate] (698.531 µs) : 0, 699
Telemetry [baseline] (12.261 ms) : 0, 12261
Telemetry [candidate] (12.924 ms) : 0, 12924
section appsec
BytebuddyAgent [baseline] (734.679 ms) : 0, 734679
BytebuddyAgent [candidate] (738.197 ms) : 0, 738197
GlobalTracer [baseline] (236.022 ms) : 0, 236022
GlobalTracer [candidate] (237.208 ms) : 0, 237208
AppSec [baseline] (175.574 ms) : 0, 175574
AppSec [candidate] (175.528 ms) : 0, 175528
Remote Config [baseline] (663.131 µs) : 0, 663
Remote Config [candidate] (673.405 µs) : 0, 673
Telemetry [baseline] (8.644 ms) : 0, 8644
Telemetry [candidate] (8.32 ms) : 0, 8320
IAST [baseline] (21.488 ms) : 0, 21488
IAST [candidate] (21.867 ms) : 0, 21867
section iast
BytebuddyAgent [baseline] (839.746 ms) : 0, 839746
BytebuddyAgent [candidate] (841.891 ms) : 0, 841891
GlobalTracer [baseline] (231.06 ms) : 0, 231060
GlobalTracer [candidate] (230.312 ms) : 0, 230312
AppSec [baseline] (56.455 ms) : 0, 56455
AppSec [candidate] (56.166 ms) : 0, 56166
Remote Config [baseline] (604.059 µs) : 0, 604
Remote Config [candidate] (607.192 µs) : 0, 607
Telemetry [baseline] (8.619 ms) : 0, 8619
Telemetry [candidate] (8.66 ms) : 0, 8660
IAST [baseline] (22.669 ms) : 0, 22669
IAST [candidate] (22.631 ms) : 0, 22631
section profiling
ProfilingAgent [baseline] (97.031 ms) : 0, 97031
ProfilingAgent [candidate] (97.626 ms) : 0, 97626
BytebuddyAgent [baseline] (707.678 ms) : 0, 707678
BytebuddyAgent [candidate] (714.735 ms) : 0, 714735
GlobalTracer [baseline] (350.093 ms) : 0, 350093
GlobalTracer [candidate] (351.367 ms) : 0, 351367
AppSec [baseline] (54.647 ms) : 0, 54647
AppSec [candidate] (53.87 ms) : 0, 53870
Remote Config [baseline] (673.703 µs) : 0, 674
Remote Config [candidate] (671.268 µs) : 0, 671
Telemetry [baseline] (8.985 ms) : 0, 8985
Telemetry [candidate] (8.994 ms) : 0, 8994
Profiling [baseline] (97.056 ms) : 0, 97056
Profiling [candidate] (97.65 ms) : 0, 97650
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.48.0-SNAPSHOT~a250acae00, baseline=1.48.0-SNAPSHOT~bde13e8991
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.051 s) : 0, 1050927
Total [baseline] (8.699 s) : 0, 8699291
Agent [candidate] (1.041 s) : 0, 1040909
Total [candidate] (8.682 s) : 0, 8681765
section iast
Agent [baseline] (1.181 s) : 0, 1180580
Total [baseline] (9.308 s) : 0, 9307731
Agent [candidate] (1.176 s) : 0, 1175795
Total [candidate] (9.286 s) : 0, 9286137
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.172 s) : 0, 1171748
Total [baseline] (9.216 s) : 0, 9215831
Agent [candidate] (1.173 s) : 0, 1172525
Total [candidate] (9.222 s) : 0, 9222096
section iast_TELEMETRY_OFF
Agent [baseline] (1.177 s) : 0, 1176600
Total [baseline] (9.257 s) : 0, 9257445
Agent [candidate] (1.178 s) : 0, 1177882
Total [candidate] (9.308 s) : 0, 9307751
gantt
title insecure-bank - break down per module: candidate=1.48.0-SNAPSHOT~a250acae00, baseline=1.48.0-SNAPSHOT~bde13e8991
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (724.247 ms) : 0, 724247
BytebuddyAgent [candidate] (717.998 ms) : 0, 717998
GlobalTracer [baseline] (241.503 ms) : 0, 241503
GlobalTracer [candidate] (240.088 ms) : 0, 240088
AppSec [baseline] (54.674 ms) : 0, 54674
AppSec [candidate] (54.764 ms) : 0, 54764
Remote Config [baseline] (690.538 µs) : 0, 691
Remote Config [candidate] (692.633 µs) : 0, 693
Telemetry [baseline] (14.464 ms) : 0, 14464
Telemetry [candidate] (12.178 ms) : 0, 12178
section iast
BytebuddyAgent [baseline] (844.998 ms) : 0, 844998
BytebuddyAgent [candidate] (840.676 ms) : 0, 840676
GlobalTracer [baseline] (231.647 ms) : 0, 231647
GlobalTracer [candidate] (231.461 ms) : 0, 231461
IAST [baseline] (22.869 ms) : 0, 22869
IAST [candidate] (22.897 ms) : 0, 22897
AppSec [baseline] (56.427 ms) : 0, 56427
AppSec [candidate] (56.233 ms) : 0, 56233
Remote Config [baseline] (609.258 µs) : 0, 609
Remote Config [candidate] (605.979 µs) : 0, 606
Telemetry [baseline] (8.748 ms) : 0, 8748
Telemetry [candidate] (8.673 ms) : 0, 8673
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (837.343 ms) : 0, 837343
BytebuddyAgent [candidate] (837.524 ms) : 0, 837524
GlobalTracer [baseline] (230.844 ms) : 0, 230844
GlobalTracer [candidate] (230.882 ms) : 0, 230882
IAST [baseline] (22.868 ms) : 0, 22868
IAST [candidate] (23.102 ms) : 0, 23102
AppSec [baseline] (56.148 ms) : 0, 56148
AppSec [candidate] (56.454 ms) : 0, 56454
Remote Config [baseline] (604.881 µs) : 0, 605
Remote Config [candidate] (613.16 µs) : 0, 613
Telemetry [baseline] (8.692 ms) : 0, 8692
Telemetry [candidate] (8.687 ms) : 0, 8687
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (841.286 ms) : 0, 841286
BytebuddyAgent [candidate] (842.086 ms) : 0, 842086
GlobalTracer [baseline] (232.125 ms) : 0, 232125
GlobalTracer [candidate] (232.129 ms) : 0, 232129
IAST [baseline] (23.1 ms) : 0, 23100
IAST [candidate] (22.511 ms) : 0, 22511
AppSec [baseline] (55.538 ms) : 0, 55538
AppSec [candidate] (56.46 ms) : 0, 56460
Remote Config [baseline] (603.152 µs) : 0, 603
Remote Config [candidate] (616.356 µs) : 0, 616
Telemetry [baseline] (8.58 ms) : 0, 8580
Telemetry [candidate] (8.627 ms) : 0, 8627
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 14 metrics, 16 unstable metrics. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~a250acae00, baseline=1.48.0-SNAPSHOT~bde13e8991
dateFormat X
axisFormat %s
section baseline
no_agent (379.543 µs) : 360, 399
. : milestone, 380,
iast (508.782 µs) : 487, 531
. : milestone, 509,
iast_FULL (729.871 µs) : 708, 752
. : milestone, 730,
iast_GLOBAL (551.325 µs) : 530, 573
. : milestone, 551,
iast_HARDCODED_SECRET_DISABLED (516.139 µs) : 494, 538
. : milestone, 516,
iast_INACTIVE (456.022 µs) : 435, 477
. : milestone, 456,
iast_TELEMETRY_OFF (497.895 µs) : 475, 520
. : milestone, 498,
tracing (454.606 µs) : 434, 475
. : milestone, 455,
section candidate
no_agent (382.864 µs) : 362, 403
. : milestone, 383,
iast (508.698 µs) : 487, 530
. : milestone, 509,
iast_FULL (732.851 µs) : 711, 755
. : milestone, 733,
iast_GLOBAL (561.192 µs) : 539, 583
. : milestone, 561,
iast_HARDCODED_SECRET_DISABLED (504.722 µs) : 483, 526
. : milestone, 505,
iast_INACTIVE (463.838 µs) : 443, 485
. : milestone, 464,
iast_TELEMETRY_OFF (500.514 µs) : 478, 523
. : milestone, 501,
tracing (454.908 µs) : 434, 476
. : milestone, 455,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~a250acae00, baseline=1.48.0-SNAPSHOT~bde13e8991
dateFormat X
axisFormat %s
section baseline
no_agent (1.352 ms) : 1333, 1371
. : milestone, 1352,
appsec (1.751 ms) : 1728, 1775
. : milestone, 1751,
appsec_no_iast (1.735 ms) : 1710, 1760
. : milestone, 1735,
code_origins (1.693 ms) : 1667, 1719
. : milestone, 1693,
iast (1.504 ms) : 1480, 1527
. : milestone, 1504,
profiling (1.502 ms) : 1478, 1526
. : milestone, 1502,
tracing (1.499 ms) : 1474, 1523
. : milestone, 1499,
section candidate
no_agent (1.347 ms) : 1327, 1366
. : milestone, 1347,
appsec (1.746 ms) : 1723, 1769
. : milestone, 1746,
appsec_no_iast (1.712 ms) : 1687, 1737
. : milestone, 1712,
code_origins (1.663 ms) : 1636, 1690
. : milestone, 1663,
iast (1.515 ms) : 1491, 1538
. : milestone, 1515,
profiling (1.523 ms) : 1500, 1546
. : milestone, 1523,
tracing (1.492 ms) : 1467, 1517
. : milestone, 1492,
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.48.0-SNAPSHOT~a250acae00, baseline=1.48.0-SNAPSHOT~bde13e8991
dateFormat X
axisFormat %s
section baseline
no_agent (1.48 ms) : 1469, 1492
. : milestone, 1480,
appsec (2.354 ms) : 2310, 2398
. : milestone, 2354,
iast (2.135 ms) : 2079, 2191
. : milestone, 2135,
iast_GLOBAL (2.181 ms) : 2124, 2237
. : milestone, 2181,
profiling (1.993 ms) : 1948, 2038
. : milestone, 1993,
tracing (1.97 ms) : 1927, 2013
. : milestone, 1970,
section candidate
no_agent (1.478 ms) : 1466, 1489
. : milestone, 1478,
appsec (2.363 ms) : 2319, 2407
. : milestone, 2363,
iast (2.14 ms) : 2084, 2197
. : milestone, 2140,
iast_GLOBAL (2.183 ms) : 2127, 2239
. : milestone, 2183,
profiling (1.975 ms) : 1931, 2019
. : milestone, 1975,
tracing (1.96 ms) : 1917, 2002
. : milestone, 1960,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.48.0-SNAPSHOT~a250acae00, baseline=1.48.0-SNAPSHOT~bde13e8991
dateFormat X
axisFormat %s
section baseline
no_agent (15.304 s) : 15304000, 15304000
. : milestone, 15304000,
appsec (14.907 s) : 14907000, 14907000
. : milestone, 14907000,
iast (18.458 s) : 18458000, 18458000
. : milestone, 18458000,
iast_GLOBAL (18.231 s) : 18231000, 18231000
. : milestone, 18231000,
profiling (15.62 s) : 15620000, 15620000
. : milestone, 15620000,
tracing (15.019 s) : 15019000, 15019000
. : milestone, 15019000,
section candidate
no_agent (15.298 s) : 15298000, 15298000
. : milestone, 15298000,
appsec (14.952 s) : 14952000, 14952000
. : milestone, 14952000,
iast (19.019 s) : 19019000, 19019000
. : milestone, 19019000,
iast_GLOBAL (18.284 s) : 18284000, 18284000
. : milestone, 18284000,
profiling (15.566 s) : 15566000, 15566000
. : milestone, 15566000,
tracing (14.825 s) : 14825000, 14825000
. : milestone, 14825000,
|
28280e2
to
64f5869
Compare
64f5869
to
6cdc6fe
Compare
These remaining cases were no-op spans which are already not propagated
6cdc6fe
to
a250aca
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.
Nice to see AgentTracer
/ CoreTracer
cleaned up!
These remaining cases were no-op spans which are already not propagated
Motivation
These remaining cases were no-op spans which are already not propagated
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-981