-
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
Trace Maven and Gradle build tasks #7721
Merged
nikita-tkachenko-datadog
merged 4 commits into
master
from
nikita-tkachenko/build-tasks-tracing
Oct 8, 2024
Merged
Trace Maven and Gradle build tasks #7721
nikita-tkachenko-datadog
merged 4 commits into
master
from
nikita-tkachenko/build-tasks-tracing
Oct 8, 2024
Conversation
This file contains 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
nikita-tkachenko-datadog
added
the
comp: ci visibility
Continuous Integration Visibility
label
Oct 3, 2024
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 petclinicgantt
title petclinic - global startup overhead: candidate=1.41.0-SNAPSHOT~93a5ea4f89, baseline=1.41.0-SNAPSHOT~e5e542705f
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.064 s) : 0, 1063705
Total [baseline] (10.391 s) : 0, 10390552
Agent [candidate] (1.073 s) : 0, 1073223
Total [candidate] (10.412 s) : 0, 10412005
section appsec
Agent [baseline] (1.197 s) : 0, 1197272
Total [baseline] (10.561 s) : 0, 10560635
Agent [candidate] (1.205 s) : 0, 1204919
Total [candidate] (10.588 s) : 0, 10587639
section iast
Agent [baseline] (1.2 s) : 0, 1200197
Total [baseline] (10.88 s) : 0, 10880201
Agent [candidate] (1.196 s) : 0, 1195990
Total [candidate] (10.83 s) : 0, 10830039
section profiling
Agent [baseline] (1.264 s) : 0, 1263820
Total [baseline] (10.573 s) : 0, 10572829
Agent [candidate] (1.267 s) : 0, 1267403
Total [candidate] (10.621 s) : 0, 10621267
gantt
title petclinic - break down per module: candidate=1.41.0-SNAPSHOT~93a5ea4f89, baseline=1.41.0-SNAPSHOT~e5e542705f
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (678.913 ms) : 0, 678913
BytebuddyAgent [candidate] (684.318 ms) : 0, 684318
GlobalTracer [baseline] (309.642 ms) : 0, 309642
GlobalTracer [candidate] (313.221 ms) : 0, 313221
AppSec [baseline] (53.355 ms) : 0, 53355
AppSec [candidate] (53.678 ms) : 0, 53678
Remote Config [baseline] (658.329 µs) : 0, 658
Remote Config [candidate] (656.01 µs) : 0, 656
Telemetry [baseline] (7.566 ms) : 0, 7566
Telemetry [candidate] (7.657 ms) : 0, 7657
section appsec
BytebuddyAgent [baseline] (696.4 ms) : 0, 696400
BytebuddyAgent [candidate] (701.777 ms) : 0, 701777
GlobalTracer [baseline] (306.506 ms) : 0, 306506
GlobalTracer [candidate] (307.65 ms) : 0, 307650
AppSec [baseline] (161.913 ms) : 0, 161913
AppSec [candidate] (162.538 ms) : 0, 162538
Remote Config [baseline] (634.122 µs) : 0, 634
Remote Config [candidate] (638.233 µs) : 0, 638
Telemetry [baseline] (8.536 ms) : 0, 8536
Telemetry [candidate] (7.797 ms) : 0, 7797
IAST [baseline] (19.352 ms) : 0, 19352
IAST [candidate] (21.621 ms) : 0, 21621
section iast
BytebuddyAgent [baseline] (799.554 ms) : 0, 799554
BytebuddyAgent [candidate] (796.406 ms) : 0, 796406
GlobalTracer [baseline] (300.933 ms) : 0, 300933
GlobalTracer [candidate] (300.117 ms) : 0, 300117
AppSec [baseline] (54.559 ms) : 0, 54559
AppSec [candidate] (55.262 ms) : 0, 55262
Remote Config [baseline] (612.749 µs) : 0, 613
Remote Config [candidate] (615.336 µs) : 0, 615
Telemetry [baseline] (7.111 ms) : 0, 7111
Telemetry [candidate] (7.118 ms) : 0, 7118
IAST [baseline] (23.704 ms) : 0, 23704
IAST [candidate] (22.821 ms) : 0, 22821
section profiling
BytebuddyAgent [baseline] (674.093 ms) : 0, 674093
BytebuddyAgent [candidate] (673.801 ms) : 0, 673801
GlobalTracer [baseline] (392.493 ms) : 0, 392493
GlobalTracer [candidate] (394.908 ms) : 0, 394908
AppSec [baseline] (54.431 ms) : 0, 54431
AppSec [candidate] (54.936 ms) : 0, 54936
Remote Config [baseline] (643.44 µs) : 0, 643
Remote Config [candidate] (658.947 µs) : 0, 659
Telemetry [baseline] (7.377 ms) : 0, 7377
Telemetry [candidate] (7.471 ms) : 0, 7471
ProfilingAgent [baseline] (96.289 ms) : 0, 96289
ProfilingAgent [candidate] (97.125 ms) : 0, 97125
Profiling [baseline] (96.313 ms) : 0, 96313
Profiling [candidate] (97.149 ms) : 0, 97149
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.41.0-SNAPSHOT~93a5ea4f89, baseline=1.41.0-SNAPSHOT~e5e542705f
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.065 s) : 0, 1065388
Total [baseline] (8.526 s) : 0, 8525928
Agent [candidate] (1.072 s) : 0, 1071526
Total [candidate] (8.562 s) : 0, 8562275
section iast
Agent [baseline] (1.201 s) : 0, 1201189
Total [baseline] (9.099 s) : 0, 9099018
Agent [candidate] (1.193 s) : 0, 1192777
Total [candidate] (9.057 s) : 0, 9056605
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.192 s) : 0, 1191971
Total [baseline] (9.06 s) : 0, 9060371
Agent [candidate] (1.191 s) : 0, 1191261
Total [candidate] (9.061 s) : 0, 9061052
section iast_TELEMETRY_OFF
Agent [baseline] (1.204 s) : 0, 1204370
Total [baseline] (9.082 s) : 0, 9082251
Agent [candidate] (1.199 s) : 0, 1199344
Total [candidate] (9.11 s) : 0, 9110323
gantt
title insecure-bank - break down per module: candidate=1.41.0-SNAPSHOT~93a5ea4f89, baseline=1.41.0-SNAPSHOT~e5e542705f
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (679.509 ms) : 0, 679509
BytebuddyAgent [candidate] (684.218 ms) : 0, 684218
GlobalTracer [baseline] (310.474 ms) : 0, 310474
GlobalTracer [candidate] (311.512 ms) : 0, 311512
AppSec [baseline] (53.465 ms) : 0, 53465
AppSec [candidate] (53.754 ms) : 0, 53754
Remote Config [baseline] (668.344 µs) : 0, 668
Remote Config [candidate] (662.879 µs) : 0, 663
Telemetry [baseline] (7.669 ms) : 0, 7669
Telemetry [candidate] (7.662 ms) : 0, 7662
section iast
BytebuddyAgent [baseline] (800.364 ms) : 0, 800364
BytebuddyAgent [candidate] (794.076 ms) : 0, 794076
GlobalTracer [baseline] (301.046 ms) : 0, 301046
GlobalTracer [candidate] (299.37 ms) : 0, 299370
AppSec [baseline] (56.253 ms) : 0, 56253
AppSec [candidate] (54.795 ms) : 0, 54795
IAST [baseline] (22.047 ms) : 0, 22047
IAST [candidate] (23.261 ms) : 0, 23261
Remote Config [baseline] (611.072 µs) : 0, 611
Remote Config [candidate] (602.187 µs) : 0, 602
Telemetry [baseline] (7.137 ms) : 0, 7137
Telemetry [candidate] (7.043 ms) : 0, 7043
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (793.589 ms) : 0, 793589
BytebuddyAgent [candidate] (792.736 ms) : 0, 792736
GlobalTracer [baseline] (299.221 ms) : 0, 299221
GlobalTracer [candidate] (299.226 ms) : 0, 299226
AppSec [baseline] (53.694 ms) : 0, 53694
AppSec [candidate] (54.983 ms) : 0, 54983
IAST [baseline] (24.223 ms) : 0, 24223
IAST [candidate] (22.919 ms) : 0, 22919
Remote Config [baseline] (604.028 µs) : 0, 604
Remote Config [candidate] (610.075 µs) : 0, 610
Telemetry [baseline] (7.026 ms) : 0, 7026
Telemetry [candidate] (7.108 ms) : 0, 7108
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (801.809 ms) : 0, 801809
BytebuddyAgent [candidate] (798.643 ms) : 0, 798643
GlobalTracer [baseline] (302.429 ms) : 0, 302429
GlobalTracer [candidate] (301.218 ms) : 0, 301218
AppSec [baseline] (52.839 ms) : 0, 52839
AppSec [candidate] (54.866 ms) : 0, 54866
IAST [baseline] (25.93 ms) : 0, 25930
IAST [candidate] (23.281 ms) : 0, 23281
Remote Config [baseline] (595.591 µs) : 0, 596
Remote Config [candidate] (613.719 µs) : 0, 614
Telemetry [baseline] (6.958 ms) : 0, 6958
Telemetry [candidate] (6.943 ms) : 0, 6943
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 16 unstable metrics. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.41.0-SNAPSHOT~93a5ea4f89, baseline=1.41.0-SNAPSHOT~e5e542705f
dateFormat X
axisFormat %s
section baseline
no_agent (373.217 µs) : 354, 393
. : milestone, 373,
iast (483.088 µs) : 462, 504
. : milestone, 483,
iast_FULL (553.321 µs) : 532, 575
. : milestone, 553,
iast_GLOBAL (509.553 µs) : 488, 531
. : milestone, 510,
iast_HARDCODED_SECRET_DISABLED (491.338 µs) : 469, 513
. : milestone, 491,
iast_INACTIVE (448.093 µs) : 427, 469
. : milestone, 448,
iast_TELEMETRY_OFF (469.774 µs) : 449, 491
. : milestone, 470,
tracing (445.052 µs) : 424, 466
. : milestone, 445,
section candidate
no_agent (370.822 µs) : 351, 390
. : milestone, 371,
iast (485.063 µs) : 464, 507
. : milestone, 485,
iast_FULL (551.324 µs) : 530, 573
. : milestone, 551,
iast_GLOBAL (510.441 µs) : 488, 533
. : milestone, 510,
iast_HARDCODED_SECRET_DISABLED (486.382 µs) : 465, 508
. : milestone, 486,
iast_INACTIVE (448.613 µs) : 427, 470
. : milestone, 449,
iast_TELEMETRY_OFF (465.812 µs) : 445, 487
. : milestone, 466,
tracing (442.816 µs) : 423, 463
. : milestone, 443,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.41.0-SNAPSHOT~93a5ea4f89, baseline=1.41.0-SNAPSHOT~e5e542705f
dateFormat X
axisFormat %s
section baseline
no_agent (1.324 ms) : 1304, 1344
. : milestone, 1324,
appsec (1.725 ms) : 1702, 1748
. : milestone, 1725,
appsec_no_iast (1.717 ms) : 1693, 1740
. : milestone, 1717,
iast (1.48 ms) : 1456, 1503
. : milestone, 1480,
profiling (1.483 ms) : 1460, 1507
. : milestone, 1483,
tracing (1.472 ms) : 1447, 1496
. : milestone, 1472,
section candidate
no_agent (1.343 ms) : 1324, 1363
. : milestone, 1343,
appsec (1.693 ms) : 1669, 1718
. : milestone, 1693,
appsec_no_iast (1.702 ms) : 1678, 1726
. : milestone, 1702,
iast (1.491 ms) : 1468, 1514
. : milestone, 1491,
profiling (1.532 ms) : 1506, 1559
. : milestone, 1532,
tracing (1.456 ms) : 1431, 1481
. : milestone, 1456,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.41.0-SNAPSHOT~93a5ea4f89, baseline=1.41.0-SNAPSHOT~e5e542705f
dateFormat X
axisFormat %s
section baseline
no_agent (1.456 ms) : 1445, 1467
. : milestone, 1456,
appsec (2.303 ms) : 2263, 2343
. : milestone, 2303,
iast (2.061 ms) : 2009, 2113
. : milestone, 2061,
iast_GLOBAL (2.096 ms) : 2045, 2147
. : milestone, 2096,
profiling (2.374 ms) : 2193, 2555
. : milestone, 2374,
tracing (1.896 ms) : 1857, 1935
. : milestone, 1896,
section candidate
no_agent (1.457 ms) : 1445, 1468
. : milestone, 1457,
appsec (2.303 ms) : 2263, 2344
. : milestone, 2303,
iast (2.051 ms) : 1999, 2102
. : milestone, 2051,
iast_GLOBAL (2.085 ms) : 2034, 2136
. : milestone, 2085,
profiling (1.919 ms) : 1878, 1959
. : milestone, 1919,
tracing (1.9 ms) : 1861, 1940
. : milestone, 1900,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.41.0-SNAPSHOT~93a5ea4f89, baseline=1.41.0-SNAPSHOT~e5e542705f
dateFormat X
axisFormat %s
section baseline
no_agent (15.078 s) : 15078000, 15078000
. : milestone, 15078000,
appsec (15.089 s) : 15089000, 15089000
. : milestone, 15089000,
iast (18.835 s) : 18835000, 18835000
. : milestone, 18835000,
iast_GLOBAL (17.999 s) : 17999000, 17999000
. : milestone, 17999000,
profiling (15.242 s) : 15242000, 15242000
. : milestone, 15242000,
tracing (15.151 s) : 15151000, 15151000
. : milestone, 15151000,
section candidate
no_agent (14.851 s) : 14851000, 14851000
. : milestone, 14851000,
appsec (15.185 s) : 15185000, 15185000
. : milestone, 15185000,
iast (18.513 s) : 18513000, 18513000
. : milestone, 18513000,
iast_GLOBAL (17.985 s) : 17985000, 17985000
. : milestone, 17985000,
profiling (15.191 s) : 15191000, 15191000
. : milestone, 15191000,
tracing (15.144 s) : 15144000, 15144000
. : milestone, 15144000,
|
Base automatically changed from
nikita-tkachenko/junit-5-suite-setup-teardown
to
master
October 4, 2024 12:45
nikita-tkachenko-datadog
force-pushed
the
nikita-tkachenko/build-tasks-tracing
branch
from
October 4, 2024 12:49
04348ff
to
c1ca9f1
Compare
anmarchenko
approved these changes
Oct 8, 2024
nikita-tkachenko-datadog
deleted the
nikita-tkachenko/build-tasks-tracing
branch
October 8, 2024 15:16
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
Adds basic support for tracing build system tasks other than tests execution (compilation, resources processing, artifacts assembly, cleanup, etc).
The tasks are reported as regular APM spans.
Maven and Gradle are supported.
Motivation
Allowing Test Visibility customers to examine their build tasks execution.
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: SDTEST-983