Fix Datadog-Entity-ID detection by skipping a root inode#6858
Merged
Conversation
110fcff to
330acea
Compare
dougqh
reviewed
Mar 29, 2024
dougqh
approved these changes
Mar 29, 2024
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 51 metrics, 12 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.32.0-SNAPSHOT~330aceae50, baseline=1.32.0-SNAPSHOT~08d7b46260
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.074 s) : 0, 1073658
Total [baseline] (8.538 s) : 0, 8538272
Agent [candidate] (1.077 s) : 0, 1076807
Total [candidate] (8.574 s) : 0, 8573778
section iast
Agent [baseline] (1.195 s) : 0, 1195387
Total [baseline] (9.044 s) : 0, 9044040
Agent [candidate] (1.208 s) : 0, 1208202
Total [candidate] (9.136 s) : 0, 9136460
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.203 s) : 0, 1203449
Total [baseline] (9.023 s) : 0, 9022716
Agent [candidate] (1.207 s) : 0, 1207224
Total [candidate] (9.025 s) : 0, 9025422
section iast_TELEMETRY_OFF
Agent [baseline] (1.204 s) : 0, 1204366
Total [baseline] (9.085 s) : 0, 9084774
Agent [candidate] (1.195 s) : 0, 1195264
Total [candidate] (9.087 s) : 0, 9086870
gantt
title insecure-bank - break down per module: candidate=1.32.0-SNAPSHOT~330aceae50, baseline=1.32.0-SNAPSHOT~08d7b46260
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (684.457 ms) : 0, 684457
BytebuddyAgent [candidate] (685.698 ms) : 0, 685698
GlobalTracer [baseline] (296.81 ms) : 0, 296810
GlobalTracer [candidate] (298.526 ms) : 0, 298526
AppSec [baseline] (49.649 ms) : 0, 49649
AppSec [candidate] (49.918 ms) : 0, 49918
Remote Config [baseline] (661.358 µs) : 0, 661
Remote Config [candidate] (658.561 µs) : 0, 659
Telemetry [baseline] (7.674 ms) : 0, 7674
Telemetry [candidate] (7.678 ms) : 0, 7678
section iast
BytebuddyAgent [baseline] (792.713 ms) : 0, 792713
BytebuddyAgent [candidate] (800.236 ms) : 0, 800236
GlobalTracer [baseline] (287.617 ms) : 0, 287617
GlobalTracer [candidate] (290.954 ms) : 0, 290954
AppSec [baseline] (50.802 ms) : 0, 50802
AppSec [candidate] (51.463 ms) : 0, 51463
IAST [baseline] (21.317 ms) : 0, 21317
IAST [candidate] (22.901 ms) : 0, 22901
Remote Config [baseline] (586.5 µs) : 0, 587
Remote Config [candidate] (578.744 µs) : 0, 579
Telemetry [baseline] (8.123 ms) : 0, 8123
Telemetry [candidate] (7.397 ms) : 0, 7397
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (797.474 ms) : 0, 797474
BytebuddyAgent [candidate] (799.675 ms) : 0, 799675
GlobalTracer [baseline] (289.618 ms) : 0, 289618
GlobalTracer [candidate] (290.809 ms) : 0, 290809
AppSec [baseline] (51.146 ms) : 0, 51146
AppSec [candidate] (51.989 ms) : 0, 51989
IAST [baseline] (23.466 ms) : 0, 23466
IAST [candidate] (22.944 ms) : 0, 22944
Remote Config [baseline] (581.451 µs) : 0, 581
Remote Config [candidate] (577.156 µs) : 0, 577
Telemetry [baseline] (6.578 ms) : 0, 6578
Telemetry [candidate] (6.685 ms) : 0, 6685
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (798.199 ms) : 0, 798199
BytebuddyAgent [candidate] (791.309 ms) : 0, 791309
GlobalTracer [baseline] (290.342 ms) : 0, 290342
GlobalTracer [candidate] (288.888 ms) : 0, 288888
AppSec [baseline] (49.806 ms) : 0, 49806
AppSec [candidate] (53.218 ms) : 0, 53218
IAST [baseline] (23.316 ms) : 0, 23316
IAST [candidate] (19.743 ms) : 0, 19743
Remote Config [baseline] (599.825 µs) : 0, 600
Remote Config [candidate] (576.25 µs) : 0, 576
Telemetry [baseline] (7.382 ms) : 0, 7382
Telemetry [candidate] (7.366 ms) : 0, 7366
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.32.0-SNAPSHOT~330aceae50, baseline=1.32.0-SNAPSHOT~08d7b46260
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.081 s) : 0, 1080622
Total [baseline] (10.456 s) : 0, 10456197
Agent [candidate] (1.076 s) : 0, 1075516
Total [candidate] (10.344 s) : 0, 10344403
section appsec
Agent [baseline] (1.197 s) : 0, 1196700
Total [baseline] (10.586 s) : 0, 10585501
Agent [candidate] (1.197 s) : 0, 1196566
Total [candidate] (10.513 s) : 0, 10512802
section iast
Agent [baseline] (1.196 s) : 0, 1196250
Total [baseline] (10.822 s) : 0, 10821552
Agent [candidate] (1.208 s) : 0, 1207883
Total [candidate] (10.793 s) : 0, 10792740
section profiling
Agent [baseline] (1.28 s) : 0, 1279960
Total [baseline] (10.67 s) : 0, 10670078
Agent [candidate] (1.267 s) : 0, 1267345
Total [candidate] (10.617 s) : 0, 10617332
gantt
title petclinic - break down per module: candidate=1.32.0-SNAPSHOT~330aceae50, baseline=1.32.0-SNAPSHOT~08d7b46260
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (688.962 ms) : 0, 688962
BytebuddyAgent [candidate] (685.086 ms) : 0, 685086
GlobalTracer [baseline] (298.776 ms) : 0, 298776
GlobalTracer [candidate] (298.058 ms) : 0, 298058
AppSec [baseline] (49.966 ms) : 0, 49966
AppSec [candidate] (49.697 ms) : 0, 49697
Remote Config [baseline] (661.841 µs) : 0, 662
Remote Config [candidate] (658.303 µs) : 0, 658
Telemetry [baseline] (7.649 ms) : 0, 7649
Telemetry [candidate] (7.672 ms) : 0, 7672
section appsec
BytebuddyAgent [baseline] (694.205 ms) : 0, 694205
BytebuddyAgent [candidate] (694.492 ms) : 0, 694492
GlobalTracer [baseline] (292.132 ms) : 0, 292132
GlobalTracer [candidate] (292.033 ms) : 0, 292033
AppSec [baseline] (149.792 ms) : 0, 149792
AppSec [candidate] (149.615 ms) : 0, 149615
IAST [baseline] (18.852 ms) : 0, 18852
IAST [candidate] (18.691 ms) : 0, 18691
Remote Config [baseline] (609.673 µs) : 0, 610
Remote Config [candidate] (609.876 µs) : 0, 610
Telemetry [baseline] (6.824 ms) : 0, 6824
Telemetry [candidate] (6.762 ms) : 0, 6762
section iast
BytebuddyAgent [baseline] (792.925 ms) : 0, 792925
BytebuddyAgent [candidate] (800.36 ms) : 0, 800360
GlobalTracer [baseline] (288.089 ms) : 0, 288089
GlobalTracer [candidate] (290.946 ms) : 0, 290946
AppSec [baseline] (51.626 ms) : 0, 51626
AppSec [candidate] (50.125 ms) : 0, 50125
IAST [baseline] (22.046 ms) : 0, 22046
IAST [candidate] (23.913 ms) : 0, 23913
Remote Config [baseline] (583.762 µs) : 0, 584
Remote Config [candidate] (583.009 µs) : 0, 583
Telemetry [baseline] (6.639 ms) : 0, 6639
Telemetry [candidate] (7.341 ms) : 0, 7341
section profiling
BytebuddyAgent [baseline] (684.679 ms) : 0, 684679
BytebuddyAgent [candidate] (676.893 ms) : 0, 676893
GlobalTracer [baseline] (383.289 ms) : 0, 383289
GlobalTracer [candidate] (380.653 ms) : 0, 380653
AppSec [baseline] (50.642 ms) : 0, 50642
AppSec [candidate] (50.151 ms) : 0, 50151
Remote Config [baseline] (715.636 µs) : 0, 716
Remote Config [candidate] (694.621 µs) : 0, 695
Telemetry [baseline] (7.591 ms) : 0, 7591
Telemetry [candidate] (7.498 ms) : 0, 7498
ProfilingAgent [baseline] (96.047 ms) : 0, 96047
ProfilingAgent [candidate] (95.297 ms) : 0, 95297
Profiling [baseline] (96.071 ms) : 0, 96071
Profiling [candidate] (95.32 ms) : 0, 95320
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.32.0-SNAPSHOT~330aceae50, baseline=1.32.0-SNAPSHOT~08d7b46260
dateFormat X
axisFormat %s
section baseline
no_agent (365.904 µs) : 346, 386
. : milestone, 366,
iast (479.739 µs) : 459, 501
. : milestone, 480,
iast_FULL (543.286 µs) : 523, 564
. : milestone, 543,
iast_GLOBAL (500.543 µs) : 479, 522
. : milestone, 501,
iast_HARDCODED_SECRET_DISABLED (477.331 µs) : 456, 498
. : milestone, 477,
iast_INACTIVE (452.114 µs) : 431, 474
. : milestone, 452,
iast_TELEMETRY_OFF (475.836 µs) : 454, 497
. : milestone, 476,
tracing (447.738 µs) : 428, 468
. : milestone, 448,
section candidate
no_agent (367.847 µs) : 348, 387
. : milestone, 368,
iast (475.54 µs) : 455, 497
. : milestone, 476,
iast_FULL (539.024 µs) : 519, 560
. : milestone, 539,
iast_GLOBAL (496.351 µs) : 476, 517
. : milestone, 496,
iast_HARDCODED_SECRET_DISABLED (475.608 µs) : 455, 496
. : milestone, 476,
iast_INACTIVE (443.683 µs) : 423, 464
. : milestone, 444,
iast_TELEMETRY_OFF (472.43 µs) : 452, 493
. : milestone, 472,
tracing (439.011 µs) : 419, 459
. : milestone, 439,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.32.0-SNAPSHOT~330aceae50, baseline=1.32.0-SNAPSHOT~08d7b46260
dateFormat X
axisFormat %s
section baseline
no_agent (1.346 ms) : 1327, 1366
. : milestone, 1346,
appsec (1.749 ms) : 1725, 1774
. : milestone, 1749,
appsec_no_iast (1.717 ms) : 1692, 1742
. : milestone, 1717,
iast (1.506 ms) : 1484, 1529
. : milestone, 1506,
profiling (1.49 ms) : 1466, 1514
. : milestone, 1490,
tracing (1.484 ms) : 1460, 1507
. : milestone, 1484,
section candidate
no_agent (1.342 ms) : 1322, 1361
. : milestone, 1342,
appsec (1.74 ms) : 1715, 1765
. : milestone, 1740,
appsec_no_iast (1.696 ms) : 1671, 1721
. : milestone, 1696,
iast (1.485 ms) : 1462, 1508
. : milestone, 1485,
profiling (1.544 ms) : 1518, 1570
. : milestone, 1544,
tracing (1.466 ms) : 1443, 1489
. : milestone, 1466,
|
330acea to
014671d
Compare
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
Fixes Datadog-Entity-ID detection by skipping a root inode
Motivation
It was returning the root inode
Additional Notes
Jira ticket: APMJAVA-1283