-
Notifications
You must be signed in to change notification settings - Fork 324
Don't create a process span for agent internal threads #6478
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ebb280c to
39a26b8
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 44 metrics, 10 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.28.0-SNAPSHOT~39a26b859c, baseline=1.28.0-SNAPSHOT~656c6600e0
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.051 s) : 0, 1051394
Total [baseline] (8.713 s) : 0, 8712514
Agent [candidate] (1.053 s) : 0, 1053054
Total [candidate] (8.728 s) : 0, 8728300
section iast
Agent [baseline] (1.178 s) : 0, 1178007
Total [baseline] (9.242 s) : 0, 9242044
Agent [candidate] (1.181 s) : 0, 1180692
Total [candidate] (9.239 s) : 0, 9238761
section iast_TELEMETRY_OFF
Agent [baseline] (1.178 s) : 0, 1177601
Total [baseline] (9.278 s) : 0, 9278180
Agent [candidate] (1.169 s) : 0, 1169078
Total [candidate] (9.282 s) : 0, 9282364
gantt
title insecure-bank - break down per module: candidate=1.28.0-SNAPSHOT~39a26b859c, baseline=1.28.0-SNAPSHOT~656c6600e0
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (664.187 ms) : 0, 664187
BytebuddyAgent [candidate] (665.401 ms) : 0, 665401
GlobalTracer [baseline] (294.748 ms) : 0, 294748
GlobalTracer [candidate] (295.051 ms) : 0, 295051
AppSec [baseline] (50.467 ms) : 0, 50467
AppSec [candidate] (50.628 ms) : 0, 50628
Remote Config [baseline] (657.349 µs) : 0, 657
Remote Config [candidate] (645.223 µs) : 0, 645
Telemetry [baseline] (7.184 ms) : 0, 7184
Telemetry [candidate] (7.156 ms) : 0, 7156
section iast
BytebuddyAgent [baseline] (776.73 ms) : 0, 776730
BytebuddyAgent [candidate] (778.358 ms) : 0, 778358
GlobalTracer [baseline] (285.494 ms) : 0, 285494
GlobalTracer [candidate] (287.286 ms) : 0, 287286
AppSec [baseline] (52.807 ms) : 0, 52807
AppSec [candidate] (53.428 ms) : 0, 53428
IAST [baseline] (20.714 ms) : 0, 20714
IAST [candidate] (19.962 ms) : 0, 19962
Remote Config [baseline] (601.569 µs) : 0, 602
Remote Config [candidate] (599.232 µs) : 0, 599
Telemetry [baseline] (7.26 ms) : 0, 7260
Telemetry [candidate] (6.575 ms) : 0, 6575
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (773.89 ms) : 0, 773890
BytebuddyAgent [candidate] (767.959 ms) : 0, 767959
GlobalTracer [baseline] (287.905 ms) : 0, 287905
GlobalTracer [candidate] (285.952 ms) : 0, 285952
AppSec [baseline] (54.102 ms) : 0, 54102
AppSec [candidate] (53.205 ms) : 0, 53205
IAST [baseline] (20.184 ms) : 0, 20184
IAST [candidate] (20.694 ms) : 0, 20694
Remote Config [baseline] (587.111 µs) : 0, 587
Remote Config [candidate] (583.564 µs) : 0, 584
Telemetry [baseline] (6.387 ms) : 0, 6387
Telemetry [candidate] (6.39 ms) : 0, 6390
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.28.0-SNAPSHOT~39a26b859c, baseline=1.28.0-SNAPSHOT~656c6600e0
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.053 s) : 0, 1053139
Total [baseline] (9.354 s) : 0, 9353593
Agent [candidate] (1.063 s) : 0, 1062588
Total [candidate] (9.35 s) : 0, 9350312
section appsec
Agent [baseline] (1.152 s) : 0, 1151587
Total [baseline] (9.459 s) : 0, 9458914
Agent [candidate] (1.155 s) : 0, 1154983
Total [candidate] (9.493 s) : 0, 9493391
section iast
Agent [baseline] (1.177 s) : 0, 1176980
Total [baseline] (9.584 s) : 0, 9584326
Agent [candidate] (1.187 s) : 0, 1186743
Total [candidate] (9.644 s) : 0, 9644003
section profiling
Agent [baseline] (1.273 s) : 0, 1273002
Total [baseline] (9.591 s) : 0, 9590642
Agent [candidate] (1.277 s) : 0, 1277381
Total [candidate] (9.584 s) : 0, 9583639
gantt
title petclinic - break down per module: candidate=1.28.0-SNAPSHOT~39a26b859c, baseline=1.28.0-SNAPSHOT~656c6600e0
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (665.249 ms) : 0, 665249
BytebuddyAgent [candidate] (671.143 ms) : 0, 671143
GlobalTracer [baseline] (295.292 ms) : 0, 295292
GlobalTracer [candidate] (297.816 ms) : 0, 297816
AppSec [baseline] (50.496 ms) : 0, 50496
AppSec [candidate] (51.058 ms) : 0, 51058
Remote Config [baseline] (658.656 µs) : 0, 659
Remote Config [candidate] (665.442 µs) : 0, 665
Telemetry [baseline] (7.199 ms) : 0, 7199
Telemetry [candidate] (7.314 ms) : 0, 7314
section appsec
BytebuddyAgent [baseline] (665.853 ms) : 0, 665853
BytebuddyAgent [candidate] (666.67 ms) : 0, 666670
GlobalTracer [baseline] (295.447 ms) : 0, 295447
GlobalTracer [candidate] (297.241 ms) : 0, 297241
AppSec [baseline] (148.525 ms) : 0, 148525
AppSec [candidate] (149.144 ms) : 0, 149144
Remote Config [baseline] (643.714 µs) : 0, 644
Remote Config [candidate] (646.678 µs) : 0, 647
Telemetry [baseline] (6.858 ms) : 0, 6858
Telemetry [candidate] (6.913 ms) : 0, 6913
section iast
BytebuddyAgent [baseline] (774.462 ms) : 0, 774462
BytebuddyAgent [candidate] (783.225 ms) : 0, 783225
GlobalTracer [baseline] (286.29 ms) : 0, 286290
GlobalTracer [candidate] (287.803 ms) : 0, 287803
AppSec [baseline] (51.645 ms) : 0, 51645
AppSec [candidate] (51.476 ms) : 0, 51476
IAST [baseline] (21.625 ms) : 0, 21625
IAST [candidate] (21.492 ms) : 0, 21492
Remote Config [baseline] (604.015 µs) : 0, 604
Remote Config [candidate] (625.011 µs) : 0, 625
Telemetry [baseline] (8.054 ms) : 0, 8054
Telemetry [candidate] (7.33 ms) : 0, 7330
section profiling
BytebuddyAgent [baseline] (662.419 ms) : 0, 662419
BytebuddyAgent [candidate] (665.391 ms) : 0, 665391
GlobalTracer [baseline] (374.584 ms) : 0, 374584
GlobalTracer [candidate] (376.032 ms) : 0, 376032
AppSec [baseline] (50.929 ms) : 0, 50929
AppSec [candidate] (50.861 ms) : 0, 50861
Remote Config [baseline] (985.261 µs) : 0, 985
Remote Config [candidate] (1.015 ms) : 0, 1015
Telemetry [baseline] (7.206 ms) : 0, 7206
Telemetry [candidate] (7.25 ms) : 0, 7250
ProfilingAgent [baseline] (122.622 ms) : 0, 122622
ProfilingAgent [candidate] (122.384 ms) : 0, 122384
Profiling [baseline] (122.646 ms) : 0, 122646
Profiling [candidate] (122.409 ms) : 0, 122409
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 8 metrics, 14 unstable metrics. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.28.0-SNAPSHOT~39a26b859c, baseline=1.28.0-SNAPSHOT~656c6600e0
dateFormat X
axisFormat %s
section baseline
no_agent (366.102 µs) : 346, 386
. : milestone, 366,
iast (470.853 µs) : 450, 491
. : milestone, 471,
iast_FULL (534.577 µs) : 514, 555
. : milestone, 535,
iast_INACTIVE (442.485 µs) : 422, 463
. : milestone, 442,
iast_TELEMETRY_OFF (467.584 µs) : 447, 488
. : milestone, 468,
tracing (441.406 µs) : 420, 463
. : milestone, 441,
section candidate
no_agent (361.573 µs) : 342, 382
. : milestone, 362,
iast (470.43 µs) : 450, 491
. : milestone, 470,
iast_FULL (533.271 µs) : 513, 554
. : milestone, 533,
iast_INACTIVE (445.973 µs) : 425, 467
. : milestone, 446,
iast_TELEMETRY_OFF (465.799 µs) : 445, 486
. : milestone, 466,
tracing (436.331 µs) : 416, 457
. : milestone, 436,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.28.0-SNAPSHOT~39a26b859c, baseline=1.28.0-SNAPSHOT~656c6600e0
dateFormat X
axisFormat %s
section baseline
no_agent (1.36 ms) : 1341, 1379
. : milestone, 1360,
appsec (1.77 ms) : 1745, 1796
. : milestone, 1770,
iast (1.531 ms) : 1506, 1555
. : milestone, 1531,
profiling (1.522 ms) : 1496, 1547
. : milestone, 1522,
tracing (1.486 ms) : 1461, 1510
. : milestone, 1486,
section candidate
no_agent (1.355 ms) : 1336, 1374
. : milestone, 1355,
appsec (1.747 ms) : 1722, 1772
. : milestone, 1747,
iast (1.494 ms) : 1470, 1519
. : milestone, 1494,
profiling (1.501 ms) : 1476, 1527
. : milestone, 1501,
tracing (1.497 ms) : 1472, 1521
. : milestone, 1497,
|
richardstartin
approved these changes
Jan 12, 2024
smola
approved these changes
Jan 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Does This Do
Skips creating a process span for process execution that is initialized from one of the agent internal threads.
Motivation
Internal calls to
hostnameand other commands from the agent during setup runs at various times and pollute smoke tests with unrelated traces.