Report dd-trace-java and its dependencies to telemetry#5698
Merged
Conversation
smola
force-pushed
the
smola/report-tracer-deps
branch
2 times, most recently
from
August 9, 2023 15:40
de530a7 to
1f06b9d
Compare
smola
requested review from
a team and
DDJavierSantos
and removed request for
a team and
ValentinZakharov
August 10, 2023 07:21
smola
force-pushed
the
smola/report-tracer-deps
branch
from
August 10, 2023 07:25
1f06b9d to
1acd1d7
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 8 performance regressions! Performance is the same for 54 cases.
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.20.0-SNAPSHOT~71a6ad3822, baseline=1.20.0-SNAPSHOT~9dd556a58b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (987.23 ms) : 0, 987230
Total [baseline] (9.193 s) : 0, 9193318
Agent [candidate] (984.084 ms) : 0, 984084
Total [candidate] (9.176 s) : 0, 9176016
section appsec
Agent [baseline] (1.077 s) : 0, 1077454
Total [baseline] (9.32 s) : 0, 9320107
Agent [candidate] (1.075 s) : 0, 1075404
Total [candidate] (9.282 s) : 0, 9281832
section iast
Agent [baseline] (1.085 s) : 0, 1085058
Total [baseline] (9.442 s) : 0, 9441790
Agent [candidate] (1.087 s) : 0, 1087170
Total [candidate] (9.454 s) : 0, 9453946
section profiling
Agent [baseline] (1.169 s) : 0, 1169091
Total [baseline] (9.456 s) : 0, 9455625
Agent [candidate] (1.165 s) : 0, 1164940
Total [candidate] (9.541 s) : 0, 9540710
gantt
title petclinic - break down per module: candidate=1.20.0-SNAPSHOT~71a6ad3822, baseline=1.20.0-SNAPSHOT~9dd556a58b
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (612.461 ms) : 0, 612461
BytebuddyAgent [candidate] (608.848 ms) : 0, 608848
GlobalTracer [baseline] (284.18 ms) : 0, 284180
GlobalTracer [candidate] (283.79 ms) : 0, 283790
AppSec [baseline] (50.175 ms) : 0, 50175
AppSec [candidate] (50.636 ms) : 0, 50636
Remote Config [baseline] (673.437 µs) : 0, 673
Remote Config [candidate] (661.663 µs) : 0, 662
Telemetry [baseline] (5.436 ms) : 0, 5436
Telemetry [candidate] (5.989 ms) : 0, 5989
section appsec
BytebuddyAgent [baseline] (614.721 ms) : 0, 614721
BytebuddyAgent [candidate] (612.964 ms) : 0, 612964
GlobalTracer [baseline] (286.113 ms) : 0, 286113
GlobalTracer [candidate] (285.921 ms) : 0, 285921
AppSec [baseline] (136.26 ms) : 0, 136260
AppSec [candidate] (135.688 ms) : 0, 135688
Remote Config [baseline] (734.117 µs) : 0, 734
Remote Config [candidate] (727.5 µs) : 0, 728
Telemetry [baseline] (5.201 ms) : 0, 5201
Telemetry [candidate] (5.733 ms) : 0, 5733
section iast
BytebuddyAgent [baseline] (713.126 ms) : 0, 713126
BytebuddyAgent [candidate] (714.488 ms) : 0, 714488
GlobalTracer [baseline] (270.987 ms) : 0, 270987
GlobalTracer [candidate] (271.423 ms) : 0, 271423
AppSec [baseline] (46.598 ms) : 0, 46598
AppSec [candidate] (46.409 ms) : 0, 46409
Remote Config [baseline] (605.447 µs) : 0, 605
Remote Config [candidate] (603.081 µs) : 0, 603
Telemetry [baseline] (5.19 ms) : 0, 5190
Telemetry [candidate] (5.742 ms) : 0, 5742
IAST [baseline] (14.263 ms) : 0, 14263
IAST [candidate] (14.188 ms) : 0, 14188
section profiling
ProfilingAgent [baseline] (77.575 ms) : 0, 77575
ProfilingAgent [candidate] (76.681 ms) : 0, 76681
BytebuddyAgent [baseline] (631.282 ms) : 0, 631282
BytebuddyAgent [candidate] (627.557 ms) : 0, 627557
GlobalTracer [baseline] (351.041 ms) : 0, 351041
GlobalTracer [candidate] (351.411 ms) : 0, 351411
AppSec [baseline] (49.557 ms) : 0, 49557
AppSec [candidate] (49.483 ms) : 0, 49483
Remote Config [baseline] (662.264 µs) : 0, 662
Remote Config [candidate] (659.832 µs) : 0, 660
Telemetry [baseline] (5.332 ms) : 0, 5332
Telemetry [candidate] (5.921 ms) : 0, 5921
Profiling [baseline] (77.6 ms) : 0, 77600
Profiling [candidate] (76.705 ms) : 0, 76705
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.20.0-SNAPSHOT~71a6ad3822, baseline=1.20.0-SNAPSHOT~9dd556a58b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (992.689 ms) : 0, 992689
Total [baseline] (8.694 s) : 0, 8694162
Agent [candidate] (986.883 ms) : 0, 986883
Total [candidate] (8.641 s) : 0, 8640977
section appsec
Agent [baseline] (1.073 s) : 0, 1073416
Total [baseline] (8.785 s) : 0, 8784758
Agent [candidate] (1.07 s) : 0, 1070298
Total [candidate] (8.752 s) : 0, 8751500
section iast
Agent [baseline] (1.086 s) : 0, 1085695
Total [baseline] (9.164 s) : 0, 9163909
Agent [candidate] (1.086 s) : 0, 1085603
Total [candidate] (9.15 s) : 0, 9149983
section profiling
Agent [baseline] (1.158 s) : 0, 1158213
Total [baseline] (8.873 s) : 0, 8872626
Agent [candidate] (1.16 s) : 0, 1159539
Total [candidate] (8.896 s) : 0, 8896025
gantt
title insecure-bank - break down per module: candidate=1.20.0-SNAPSHOT~71a6ad3822, baseline=1.20.0-SNAPSHOT~9dd556a58b
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (615.397 ms) : 0, 615397
BytebuddyAgent [candidate] (610.931 ms) : 0, 610931
GlobalTracer [baseline] (286.522 ms) : 0, 286522
GlobalTracer [candidate] (284.562 ms) : 0, 284562
AppSec [baseline] (50.134 ms) : 0, 50134
AppSec [candidate] (50.362 ms) : 0, 50362
Remote Config [baseline] (666.6 µs) : 0, 667
Remote Config [candidate] (658.76 µs) : 0, 659
Telemetry [baseline] (5.474 ms) : 0, 5474
Telemetry [candidate] (5.979 ms) : 0, 5979
section appsec
BytebuddyAgent [baseline] (614.161 ms) : 0, 614161
BytebuddyAgent [candidate] (610.476 ms) : 0, 610476
GlobalTracer [baseline] (283.931 ms) : 0, 283931
GlobalTracer [candidate] (284.099 ms) : 0, 284099
AppSec [baseline] (134.968 ms) : 0, 134968
AppSec [candidate] (135.133 ms) : 0, 135133
Remote Config [baseline] (723.325 µs) : 0, 723
Remote Config [candidate] (711.084 µs) : 0, 711
Telemetry [baseline] (5.167 ms) : 0, 5167
Telemetry [candidate] (5.745 ms) : 0, 5745
section iast
BytebuddyAgent [baseline] (713.826 ms) : 0, 713826
BytebuddyAgent [candidate] (713.144 ms) : 0, 713144
GlobalTracer [baseline] (271.326 ms) : 0, 271326
GlobalTracer [candidate] (271.172 ms) : 0, 271172
AppSec [baseline] (46.221 ms) : 0, 46221
AppSec [candidate] (46.434 ms) : 0, 46434
Remote Config [baseline] (606.842 µs) : 0, 607
Remote Config [candidate] (607.94 µs) : 0, 608
Telemetry [baseline] (5.166 ms) : 0, 5166
Telemetry [candidate] (5.71 ms) : 0, 5710
IAST [baseline] (14.21 ms) : 0, 14210
IAST [candidate] (14.205 ms) : 0, 14205
section profiling
ProfilingAgent [baseline] (77.018 ms) : 0, 77018
ProfilingAgent [candidate] (75.788 ms) : 0, 75788
BytebuddyAgent [baseline] (623.565 ms) : 0, 623565
BytebuddyAgent [candidate] (624.401 ms) : 0, 624401
GlobalTracer [baseline] (349.318 ms) : 0, 349318
GlobalTracer [candidate] (350.248 ms) : 0, 350248
AppSec [baseline] (49.307 ms) : 0, 49307
AppSec [candidate] (49.619 ms) : 0, 49619
Remote Config [baseline] (666.177 µs) : 0, 666
Remote Config [candidate] (657.72 µs) : 0, 658
Telemetry [baseline] (5.39 ms) : 0, 5390
Telemetry [candidate] (5.943 ms) : 0, 5943
Profiling [baseline] (77.043 ms) : 0, 77043
Profiling [candidate] (75.812 ms) : 0, 75812
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 24 cases. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.20.0-SNAPSHOT~71a6ad3822, baseline=1.20.0-SNAPSHOT~9dd556a58b
dateFormat X
axisFormat %s
section baseline
no_agent (1.337 ms) : 1317, 1356
. : milestone, 1337,
appsec (1.648 ms) : 1624, 1673
. : milestone, 1648,
iast (1.456 ms) : 1433, 1480
. : milestone, 1456,
profiling (1.47 ms) : 1444, 1496
. : milestone, 1470,
tracing (1.454 ms) : 1430, 1479
. : milestone, 1454,
section candidate
no_agent (1.334 ms) : 1315, 1352
. : milestone, 1334,
appsec (1.658 ms) : 1634, 1682
. : milestone, 1658,
iast (1.457 ms) : 1434, 1481
. : milestone, 1457,
profiling (1.475 ms) : 1449, 1502
. : milestone, 1475,
tracing (1.472 ms) : 1449, 1496
. : milestone, 1472,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.20.0-SNAPSHOT~71a6ad3822, baseline=1.20.0-SNAPSHOT~9dd556a58b
dateFormat X
axisFormat %s
section baseline
no_agent (366.946 µs) : 347, 387
. : milestone, 367,
appsec (672.614 µs) : 652, 693
. : milestone, 673,
iast (470.372 µs) : 449, 492
. : milestone, 470,
iast_FULL (533.012 µs) : 512, 554
. : milestone, 533,
iast_INACTIVE (445.788 µs) : 424, 467
. : milestone, 446,
profiling (438.982 µs) : 418, 460
. : milestone, 439,
tracing (446.17 µs) : 425, 468
. : milestone, 446,
section candidate
no_agent (362.735 µs) : 343, 382
. : milestone, 363,
appsec (669.604 µs) : 649, 690
. : milestone, 670,
iast (465.292 µs) : 444, 486
. : milestone, 465,
iast_FULL (534.797 µs) : 514, 555
. : milestone, 535,
iast_INACTIVE (435.977 µs) : 415, 457
. : milestone, 436,
profiling (451.221 µs) : 429, 473
. : milestone, 451,
tracing (443.271 µs) : 422, 464
. : milestone, 443,
|
While this might be sometimes confusing, we want to report the full picture accurately.
This will ensure we do not reintroduce JAR corruption that was observed in the past.
smola
force-pushed
the
smola/report-tracer-deps
branch
from
August 17, 2023 08:12
1acd1d7 to
71a6ad3
Compare
PerfectSlayer
approved these changes
Aug 17, 2023
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
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
META-INF/mavento not includepom.properties(introduced in 5346d91), which we use to report dependencies to telemetry.Motivation
pom.propertiesfrom dd-trace-java jar.pom.propertiesare not needed to run the tracer, but they hold metadata used by most vulnerability scanners to detect dependencies. This made dd-trace-java dependencies invisible to many vulnerability scanners since dd-trace-java v1.0.0.Additional Notes
DDCache#computeIfAbsentforseenDomains.