Skip to content
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

Add debug logging to Android Gradle module layout logic #8251

Merged

Conversation

nikita-tkachenko-datadog
Copy link
Contributor

What Does This Do

Adds some debug logging to the logic that determines module layouts for Android Gradle projects.

Motivation

Simplify debugging issues in Android Gradle projects.

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@pr-commenter
Copy link

pr-commenter bot commented Jan 20, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master nikita-tkachenko/android-plugin-logging
git_commit_date 1737373742 1737377206
git_commit_sha a69247f 04509c8
release_version 1.46.0-SNAPSHOT~a69247f0aa 1.46.0-SNAPSHOT~04509c8c11
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1737379782 1737379782
ci_job_id 772649841 772649841
ci_pipeline_id 53471831 53471831
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
module Agent Agent
parent None None
variant iast iast

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 61 metrics, 2 unstable metrics.

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.46.0-SNAPSHOT~04509c8c11, baseline=1.46.0-SNAPSHOT~a69247f0aa

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.056 s) : 0, 1056237
Total [baseline] (8.63 s) : 0, 8629521
Agent [candidate] (1.057 s) : 0, 1057486
Total [candidate] (8.636 s) : 0, 8636010
section iast
Agent [baseline] (1.199 s) : 0, 1198602
Total [baseline] (9.216 s) : 0, 9216484
Agent [candidate] (1.188 s) : 0, 1188037
Total [candidate] (9.194 s) : 0, 9194205
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.184 s) : 0, 1184061
Total [baseline] (9.133 s) : 0, 9133129
Agent [candidate] (1.187 s) : 0, 1186678
Total [candidate] (9.185 s) : 0, 9184875
section iast_TELEMETRY_OFF
Agent [baseline] (1.18 s) : 0, 1180390
Total [baseline] (9.237 s) : 0, 9237103
Agent [candidate] (1.184 s) : 0, 1183818
Total [candidate] (9.179 s) : 0, 9179182
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.056 s -
Agent iast 1.199 s 142.365 ms (13.5%)
Agent iast_HARDCODED_SECRET_DISABLED 1.184 s 127.824 ms (12.1%)
Agent iast_TELEMETRY_OFF 1.18 s 124.153 ms (11.8%)
Total tracing 8.63 s -
Total iast 9.216 s 586.963 ms (6.8%)
Total iast_HARDCODED_SECRET_DISABLED 9.133 s 503.608 ms (5.8%)
Total iast_TELEMETRY_OFF 9.237 s 607.583 ms (7.0%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.057 s -
Agent iast 1.188 s 130.551 ms (12.3%)
Agent iast_HARDCODED_SECRET_DISABLED 1.187 s 129.192 ms (12.2%)
Agent iast_TELEMETRY_OFF 1.184 s 126.331 ms (11.9%)
Total tracing 8.636 s -
Total iast 9.194 s 558.195 ms (6.5%)
Total iast_HARDCODED_SECRET_DISABLED 9.185 s 548.866 ms (6.4%)
Total iast_TELEMETRY_OFF 9.179 s 543.172 ms (6.3%)
gantt
    title insecure-bank - break down per module: candidate=1.46.0-SNAPSHOT~04509c8c11, baseline=1.46.0-SNAPSHOT~a69247f0aa

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (715.051 ms) : 0, 715051
BytebuddyAgent [candidate] (715.314 ms) : 0, 715314
GlobalTracer [baseline] (256.124 ms) : 0, 256124
GlobalTracer [candidate] (256.476 ms) : 0, 256476
AppSec [baseline] (55.82 ms) : 0, 55820
AppSec [candidate] (55.536 ms) : 0, 55536
Remote Config [baseline] (731.245 µs) : 0, 731
Remote Config [candidate] (729.631 µs) : 0, 730
Telemetry [baseline] (13.522 ms) : 0, 13522
Telemetry [candidate] (14.403 ms) : 0, 14403
section iast
BytebuddyAgent [baseline] (843.959 ms) : 0, 843959
BytebuddyAgent [candidate] (835.351 ms) : 0, 835351
GlobalTracer [baseline] (249.127 ms) : 0, 249127
GlobalTracer [candidate] (247.928 ms) : 0, 247928
AppSec [baseline] (58.698 ms) : 0, 58698
AppSec [candidate] (58.68 ms) : 0, 58680
Remote Config [baseline] (681.45 µs) : 0, 681
Remote Config [candidate] (660.027 µs) : 0, 660
Telemetry [baseline] (9.006 ms) : 0, 9006
Telemetry [candidate] (8.783 ms) : 0, 8783
IAST [baseline] (21.848 ms) : 0, 21848
IAST [candidate] (21.559 ms) : 0, 21559
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (832.544 ms) : 0, 832544
BytebuddyAgent [candidate] (834.439 ms) : 0, 834439
GlobalTracer [baseline] (246.596 ms) : 0, 246596
GlobalTracer [candidate] (247.769 ms) : 0, 247769
AppSec [baseline] (58.473 ms) : 0, 58473
AppSec [candidate] (58.09 ms) : 0, 58090
Remote Config [baseline] (663.576 µs) : 0, 664
Remote Config [candidate] (681.206 µs) : 0, 681
Telemetry [baseline] (8.872 ms) : 0, 8872
Telemetry [candidate] (8.855 ms) : 0, 8855
IAST [baseline] (21.892 ms) : 0, 21892
IAST [candidate] (21.764 ms) : 0, 21764
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (830.253 ms) : 0, 830253
BytebuddyAgent [candidate] (833.566 ms) : 0, 833566
GlobalTracer [baseline] (246.739 ms) : 0, 246739
GlobalTracer [candidate] (247.13 ms) : 0, 247130
AppSec [baseline] (58.115 ms) : 0, 58115
AppSec [candidate] (58.152 ms) : 0, 58152
Remote Config [baseline] (655.532 µs) : 0, 656
Remote Config [candidate] (664.229 µs) : 0, 664
Telemetry [baseline] (8.678 ms) : 0, 8678
Telemetry [candidate] (8.558 ms) : 0, 8558
IAST [baseline] (20.885 ms) : 0, 20885
IAST [candidate] (20.653 ms) : 0, 20653
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.46.0-SNAPSHOT~04509c8c11, baseline=1.46.0-SNAPSHOT~a69247f0aa

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.057 s) : 0, 1056797
Total [baseline] (10.449 s) : 0, 10449329
Agent [candidate] (1.06 s) : 0, 1060282
Total [candidate] (10.479 s) : 0, 10478794
section appsec
Agent [baseline] (1.19 s) : 0, 1189707
Total [baseline] (10.703 s) : 0, 10702567
Agent [candidate] (1.193 s) : 0, 1192951
Total [candidate] (10.709 s) : 0, 10708670
section iast
Agent [baseline] (1.193 s) : 0, 1192948
Total [baseline] (11.006 s) : 0, 11005506
Agent [candidate] (1.188 s) : 0, 1187865
Total [candidate] (10.982 s) : 0, 10982193
section profiling
Agent [baseline] (1.257 s) : 0, 1256575
Total [baseline] (10.829 s) : 0, 10829066
Agent [candidate] (1.257 s) : 0, 1257051
Total [candidate] (10.862 s) : 0, 10862417
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.057 s -
Agent appsec 1.19 s 132.91 ms (12.6%)
Agent iast 1.193 s 136.151 ms (12.9%)
Agent profiling 1.257 s 199.778 ms (18.9%)
Total tracing 10.449 s -
Total appsec 10.703 s 253.238 ms (2.4%)
Total iast 11.006 s 556.177 ms (5.3%)
Total profiling 10.829 s 379.737 ms (3.6%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.06 s -
Agent appsec 1.193 s 132.669 ms (12.5%)
Agent iast 1.188 s 127.583 ms (12.0%)
Agent profiling 1.257 s 196.769 ms (18.6%)
Total tracing 10.479 s -
Total appsec 10.709 s 229.876 ms (2.2%)
Total iast 10.982 s 503.4 ms (4.8%)
Total profiling 10.862 s 383.624 ms (3.7%)
gantt
    title petclinic - break down per module: candidate=1.46.0-SNAPSHOT~04509c8c11, baseline=1.46.0-SNAPSHOT~a69247f0aa

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (713.967 ms) : 0, 713967
BytebuddyAgent [candidate] (716.231 ms) : 0, 716231
GlobalTracer [baseline] (255.967 ms) : 0, 255967
GlobalTracer [candidate] (256.583 ms) : 0, 256583
AppSec [baseline] (57.524 ms) : 0, 57524
AppSec [candidate] (55.823 ms) : 0, 55823
Remote Config [baseline] (746.922 µs) : 0, 747
Remote Config [candidate] (749.601 µs) : 0, 750
Telemetry [baseline] (13.57 ms) : 0, 13570
Telemetry [candidate] (15.801 ms) : 0, 15801
section appsec
BytebuddyAgent [baseline] (732.828 ms) : 0, 732828
BytebuddyAgent [candidate] (733.528 ms) : 0, 733528
GlobalTracer [baseline] (252.882 ms) : 0, 252882
GlobalTracer [candidate] (254.295 ms) : 0, 254295
AppSec [baseline] (170.413 ms) : 0, 170413
AppSec [candidate] (171.41 ms) : 0, 171410
Remote Config [baseline] (671.445 µs) : 0, 671
Remote Config [candidate] (660.815 µs) : 0, 661
Telemetry [baseline] (8.21 ms) : 0, 8210
Telemetry [candidate] (8.196 ms) : 0, 8196
IAST [baseline] (19.453 ms) : 0, 19453
IAST [candidate] (19.421 ms) : 0, 19421
section iast
BytebuddyAgent [baseline] (838.809 ms) : 0, 838809
BytebuddyAgent [candidate] (835.056 ms) : 0, 835056
GlobalTracer [baseline] (248.859 ms) : 0, 248859
GlobalTracer [candidate] (248.109 ms) : 0, 248109
AppSec [baseline] (58.746 ms) : 0, 58746
AppSec [candidate] (58.407 ms) : 0, 58407
Remote Config [baseline] (679.287 µs) : 0, 679
Remote Config [candidate] (676.638 µs) : 0, 677
Telemetry [baseline] (9.006 ms) : 0, 9006
Telemetry [candidate] (8.856 ms) : 0, 8856
IAST [baseline] (21.861 ms) : 0, 21861
IAST [candidate] (21.651 ms) : 0, 21651
section profiling
BytebuddyAgent [baseline] (704.555 ms) : 0, 704555
BytebuddyAgent [candidate] (704.68 ms) : 0, 704680
GlobalTracer [baseline] (350.44 ms) : 0, 350440
GlobalTracer [candidate] (350.975 ms) : 0, 350975
AppSec [baseline] (54.841 ms) : 0, 54841
AppSec [candidate] (54.384 ms) : 0, 54384
Remote Config [baseline] (704.677 µs) : 0, 705
Remote Config [candidate] (717.773 µs) : 0, 718
Telemetry [baseline] (8.718 ms) : 0, 8718
Telemetry [candidate] (8.811 ms) : 0, 8811
ProfilingAgent [baseline] (95.284 ms) : 0, 95284
ProfilingAgent [candidate] (95.456 ms) : 0, 95456
Profiling [baseline] (95.308 ms) : 0, 95308
Profiling [candidate] (95.482 ms) : 0, 95482
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
end_time 2025-01-20T12:59:37 2025-01-20T13:06:43
git_branch master nikita-tkachenko/android-plugin-logging
git_commit_date 1737373742 1737377206
git_commit_sha a69247f 04509c8
release_version 1.46.0-SNAPSHOT~a69247f0aa 1.46.0-SNAPSHOT~04509c8c11
start_time 2025-01-20T12:59:23 2025-01-20T13:06:29
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1737378762 1737378762
ci_job_id 772649843 772649843
ci_pipeline_id 53471831 53471831
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
variant iast iast

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 13 metrics, 15 unstable metrics.

Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.46.0-SNAPSHOT~04509c8c11, baseline=1.46.0-SNAPSHOT~a69247f0aa
    dateFormat X
    axisFormat %s
section baseline
no_agent (381.444 µs) : 361, 402
.   : milestone, 381,
iast (510.528 µs) : 488, 533
.   : milestone, 511,
iast_FULL (745.613 µs) : 724, 767
.   : milestone, 746,
iast_GLOBAL (554.812 µs) : 533, 577
.   : milestone, 555,
iast_HARDCODED_SECRET_DISABLED (509.635 µs) : 488, 532
.   : milestone, 510,
iast_INACTIVE (463.561 µs) : 442, 485
.   : milestone, 464,
iast_TELEMETRY_OFF (497.029 µs) : 475, 519
.   : milestone, 497,
tracing (453.608 µs) : 433, 474
.   : milestone, 454,
section candidate
no_agent (384.016 µs) : 364, 404
.   : milestone, 384,
iast (507.522 µs) : 486, 529
.   : milestone, 508,
iast_FULL (739.8 µs) : 718, 762
.   : milestone, 740,
iast_GLOBAL (559.401 µs) : 536, 583
.   : milestone, 559,
iast_HARDCODED_SECRET_DISABLED (515.551 µs) : 494, 537
.   : milestone, 516,
iast_INACTIVE (458.476 µs) : 437, 480
.   : milestone, 458,
iast_TELEMETRY_OFF (500.525 µs) : 479, 522
.   : milestone, 501,
tracing (455.71 µs) : 435, 476
.   : milestone, 456,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 381.444 µs [361.297 µs, 401.59 µs] -
iast 510.528 µs [488.45 µs, 532.607 µs] 129.085 µs (33.8%)
iast_FULL 745.613 µs [723.777 µs, 767.448 µs] 364.169 µs (95.5%)
iast_GLOBAL 554.812 µs [533.103 µs, 576.521 µs] 173.368 µs (45.5%)
iast_HARDCODED_SECRET_DISABLED 509.635 µs [487.614 µs, 531.655 µs] 128.191 µs (33.6%)
iast_INACTIVE 463.561 µs [442.261 µs, 484.861 µs] 82.118 µs (21.5%)
iast_TELEMETRY_OFF 497.029 µs [475.293 µs, 518.765 µs] 115.585 µs (30.3%)
tracing 453.608 µs [432.88 µs, 474.337 µs] 72.165 µs (18.9%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 384.016 µs [363.865 µs, 404.168 µs] -
iast 507.522 µs [485.64 µs, 529.403 µs] 123.505 µs (32.2%)
iast_FULL 739.8 µs [717.917 µs, 761.682 µs] 355.784 µs (92.6%)
iast_GLOBAL 559.401 µs [536.154 µs, 582.649 µs] 175.385 µs (45.7%)
iast_HARDCODED_SECRET_DISABLED 515.551 µs [493.75 µs, 537.352 µs] 131.535 µs (34.3%)
iast_INACTIVE 458.476 µs [437.214 µs, 479.739 µs] 74.46 µs (19.4%)
iast_TELEMETRY_OFF 500.525 µs [478.607 µs, 522.444 µs] 116.509 µs (30.3%)
tracing 455.71 µs [435.086 µs, 476.333 µs] 71.694 µs (18.7%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.46.0-SNAPSHOT~04509c8c11, baseline=1.46.0-SNAPSHOT~a69247f0aa
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.363 ms) : 1343, 1383
.   : milestone, 1363,
appsec (1.757 ms) : 1733, 1781
.   : milestone, 1757,
appsec_no_iast (1.742 ms) : 1717, 1767
.   : milestone, 1742,
iast (1.522 ms) : 1497, 1547
.   : milestone, 1522,
profiling (1.552 ms) : 1528, 1577
.   : milestone, 1552,
tracing (1.491 ms) : 1467, 1516
.   : milestone, 1491,
section candidate
no_agent (1.368 ms) : 1348, 1387
.   : milestone, 1368,
appsec (1.754 ms) : 1729, 1778
.   : milestone, 1754,
appsec_no_iast (1.772 ms) : 1747, 1796
.   : milestone, 1772,
iast (1.487 ms) : 1462, 1512
.   : milestone, 1487,
profiling (1.522 ms) : 1498, 1545
.   : milestone, 1522,
tracing (1.484 ms) : 1459, 1509
.   : milestone, 1484,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.363 ms [1.343 ms, 1.383 ms] -
appsec 1.757 ms [1.733 ms, 1.781 ms] 394.353 µs (28.9%)
appsec_no_iast 1.742 ms [1.717 ms, 1.767 ms] 379.614 µs (27.9%)
iast 1.522 ms [1.497 ms, 1.547 ms] 159.615 µs (11.7%)
profiling 1.552 ms [1.528 ms, 1.577 ms] 189.604 µs (13.9%)
tracing 1.491 ms [1.467 ms, 1.516 ms] 128.704 µs (9.4%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.368 ms [1.348 ms, 1.387 ms] -
appsec 1.754 ms [1.729 ms, 1.778 ms] 385.763 µs (28.2%)
appsec_no_iast 1.772 ms [1.747 ms, 1.796 ms] 403.829 µs (29.5%)
iast 1.487 ms [1.462 ms, 1.512 ms] 119.08 µs (8.7%)
profiling 1.522 ms [1.498 ms, 1.545 ms] 154.037 µs (11.3%)
tracing 1.484 ms [1.459 ms, 1.509 ms] 116.132 µs (8.5%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master nikita-tkachenko/android-plugin-logging
git_commit_date 1737373742 1737377206
git_commit_sha a69247f 04509c8
release_version 1.46.0-SNAPSHOT~a69247f0aa 1.46.0-SNAPSHOT~04509c8c11
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1737379304 1737379304
ci_job_id 772649846 772649846
ci_pipeline_id 53471831 53471831
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
variant appsec appsec

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics.

Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.46.0-SNAPSHOT~04509c8c11, baseline=1.46.0-SNAPSHOT~a69247f0aa
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.469 ms) : 1458, 1481
.   : milestone, 1469,
appsec (2.344 ms) : 2302, 2387
.   : milestone, 2344,
iast (2.097 ms) : 2042, 2151
.   : milestone, 2097,
iast_GLOBAL (2.149 ms) : 2094, 2203
.   : milestone, 2149,
profiling (1.956 ms) : 1913, 2000
.   : milestone, 1956,
tracing (1.941 ms) : 1899, 1983
.   : milestone, 1941,
section candidate
no_agent (1.467 ms) : 1456, 1479
.   : milestone, 1467,
appsec (2.363 ms) : 2320, 2406
.   : milestone, 2363,
iast (2.106 ms) : 2051, 2160
.   : milestone, 2106,
iast_GLOBAL (2.151 ms) : 2097, 2206
.   : milestone, 2151,
profiling (2.463 ms) : 2275, 2651
.   : milestone, 2463,
tracing (1.952 ms) : 1910, 1994
.   : milestone, 1952,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.469 ms [1.458 ms, 1.481 ms] -
appsec 2.344 ms [2.302 ms, 2.387 ms] 874.856 µs (59.5%)
iast 2.097 ms [2.042 ms, 2.151 ms] 627.174 µs (42.7%)
iast_GLOBAL 2.149 ms [2.094 ms, 2.203 ms] 679.205 µs (46.2%)
profiling 1.956 ms [1.913 ms, 2.0 ms] 486.642 µs (33.1%)
tracing 1.941 ms [1.899 ms, 1.983 ms] 471.774 µs (32.1%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.467 ms [1.456 ms, 1.479 ms] -
appsec 2.363 ms [2.32 ms, 2.406 ms] 895.876 µs (61.1%)
iast 2.106 ms [2.051 ms, 2.16 ms] 638.41 µs (43.5%)
iast_GLOBAL 2.151 ms [2.097 ms, 2.206 ms] 683.923 µs (46.6%)
profiling 2.463 ms [2.275 ms, 2.651 ms] 995.651 µs (67.9%)
tracing 1.952 ms [1.91 ms, 1.994 ms] 484.376 µs (33.0%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.46.0-SNAPSHOT~04509c8c11, baseline=1.46.0-SNAPSHOT~a69247f0aa
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.425 s) : 15425000, 15425000
.   : milestone, 15425000,
appsec (15.009 s) : 15009000, 15009000
.   : milestone, 15009000,
iast (18.637 s) : 18637000, 18637000
.   : milestone, 18637000,
iast_GLOBAL (18.25 s) : 18250000, 18250000
.   : milestone, 18250000,
profiling (15.114 s) : 15114000, 15114000
.   : milestone, 15114000,
tracing (14.969 s) : 14969000, 14969000
.   : milestone, 14969000,
section candidate
no_agent (15.211 s) : 15211000, 15211000
.   : milestone, 15211000,
appsec (14.963 s) : 14963000, 14963000
.   : milestone, 14963000,
iast (18.662 s) : 18662000, 18662000
.   : milestone, 18662000,
iast_GLOBAL (18.13 s) : 18130000, 18130000
.   : milestone, 18130000,
profiling (15.618 s) : 15618000, 15618000
.   : milestone, 15618000,
tracing (15.012 s) : 15012000, 15012000
.   : milestone, 15012000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.425 s [15.425 s, 15.425 s] -
appsec 15.009 s [15.009 s, 15.009 s] -416.0 ms (-2.7%)
iast 18.637 s [18.637 s, 18.637 s] 3.212 s (20.8%)
iast_GLOBAL 18.25 s [18.25 s, 18.25 s] 2.825 s (18.3%)
profiling 15.114 s [15.114 s, 15.114 s] -311.0 ms (-2.0%)
tracing 14.969 s [14.969 s, 14.969 s] -456.0 ms (-3.0%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.211 s [15.211 s, 15.211 s] -
appsec 14.963 s [14.963 s, 14.963 s] -248.0 ms (-1.6%)
iast 18.662 s [18.662 s, 18.662 s] 3.451 s (22.7%)
iast_GLOBAL 18.13 s [18.13 s, 18.13 s] 2.919 s (19.2%)
profiling 15.618 s [15.618 s, 15.618 s] 407.0 ms (2.7%)
tracing 15.012 s [15.012 s, 15.012 s] -199.0 ms (-1.3%)

@nikita-tkachenko-datadog nikita-tkachenko-datadog marked this pull request as ready for review January 20, 2025 13:38
@nikita-tkachenko-datadog nikita-tkachenko-datadog requested a review from a team as a code owner January 20, 2025 13:38
@nikita-tkachenko-datadog nikita-tkachenko-datadog merged commit cc8f172 into master Jan 20, 2025
171 of 172 checks passed
@nikita-tkachenko-datadog nikita-tkachenko-datadog deleted the nikita-tkachenko/android-plugin-logging branch January 20, 2025 13:43
@github-actions github-actions bot added this to the 1.46.0 milestone Jan 20, 2025
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Jan 31, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
|
[com.google.cloud:google-cloud-datastore](https://github.com/googleapis/java-datastore)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`2.25.4` -> `2.26.0` |
| [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.45.2` -> `1.46.0` |
| [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.45.2` -> `1.46.0` |
| [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.30.9` -> `2.30.10` |
|
[software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.30.9` -> `2.30.10` |
| [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.30.9` -> `2.30.10` |
| [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.30.9` -> `2.30.10` |
| [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.30.9` -> `2.30.10` |
| [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.30.9` -> `2.30.10` |

---

### Release Notes

<details>
<summary>googleapis/java-datastore
(com.google.cloud:google-cloud-datastore)</summary>

###
[`v2.26.0`](https://github.com/googleapis/java-datastore/blob/HEAD/CHANGELOG.md#2260-2025-01-29)

##### Features

- Add firestoreInDatastoreMode for datastore emulator
([#&#8203;1698](googleapis/java-datastore#1698))
([50f106d](googleapis/java-datastore@50f106d))

##### Dependencies

- Update dependency com.google.cloud:sdk-platform-java-config to v3.42.0
([#&#8203;1725](googleapis/java-datastore#1725))
([1cbaf22](googleapis/java-datastore@1cbaf22))

</details>

<details>
<summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary>

###
[`v1.46.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.46.0):
1.46.0

##### Breaking Changes

> \[!WARNING]
> jnr-unixsocket is now an external dependency of dd-trace-ot and must
be included when deploying dd-trace-ot.

> \[!NOTE]
> The API `TracerScope.setAsync(boolean)`, used to manually control
asynchronous span propagation, does no more apply to the scope instance
but to the active span scope.

##### Components

##### Application Security Management (IAST)

- 🐛 Fix String.replace instrumentation for IAST
([#&#8203;8281](DataDog/dd-trace-java#8281) -
[@&#8203;Mariovido](https://github.com/Mariovido))
- ✨ Apply the standard nomenclature to the stacktrace configs
([#&#8203;8244](DataDog/dd-trace-java#8244) -
[@&#8203;jandro996](https://github.com/jandro996))
- 🐛 Exclude false positive weak randomness
([#&#8203;8232](DataDog/dd-trace-java#8232) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Propagation of translateEscapes of String class
([#&#8203;8186](DataDog/dd-trace-java#8186) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))
- ✨ Add security control metrics
([#&#8203;8175](DataDog/dd-trace-java#8175) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Increase IAST propagation to StringBuffer setLength
([#&#8203;8128](DataDog/dd-trace-java#8128) -
[@&#8203;Mariovido](https://github.com/Mariovido))
- ✨ Add IAST taint tracking for DB values
([#&#8203;8072](DataDog/dd-trace-java#8072) -
[@&#8203;Mariovido](https://github.com/Mariovido))

##### Application Security Management (WAF)

- 🐛 Prevents a NPE when there is no subscriber for user events
([#&#8203;8258](DataDog/dd-trace-java#8258) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Apply the standard nomenclature to the stacktrace configs
([#&#8203;8244](DataDog/dd-trace-java#8244) -
[@&#8203;jandro996](https://github.com/jandro996))
- 🐛 Ensure cached subscriptions are cleared on reconfiguration via
RC ([#&#8203;8229](DataDog/dd-trace-java#8229)
-
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Add support for session tracking in Vertx
([#&#8203;8167](DataDog/dd-trace-java#8167) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Create span tag: \_dd.appsec.rasp.timeout
([#&#8203;8269](DataDog/dd-trace-java#8269) -
[@&#8203;Mariovido](https://github.com/Mariovido))

##### Build & Tooling

- 🐛 Ensure shaded helpers have unique names when injected into
class-loaders
([#&#8203;8192](DataDog/dd-trace-java#8192) -
[@&#8203;mcculls](https://github.com/mcculls))

##### Configuration at Runtime

- 🐛 Remove filtering of `DD_SERVICE` and `DD_ENV` from the tracer
([#&#8203;8176](DataDog/dd-trace-java#8176) -
[@&#8203;mhlidd](https://github.com/mhlidd))

##### Continuous Integration Visibility

- 🧹 Generalize TestRetryPolicy to TestExecutionPolicy
([#&#8203;8302](DataDog/dd-trace-java#8302) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- 🧹 Parallelize CI Visibility settings requests
([#&#8203;8299](DataDog/dd-trace-java#8299) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- 🧹 Generalize test retry logic
([#&#8203;8289](DataDog/dd-trace-java#8289) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- 🧹 Generalize tests skipping logic
([#&#8203;8288](DataDog/dd-trace-java#8288) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- 🧹 Remove skip and shouldBeSkipped methods from TestEventsHandler
in favor of isSkippable
([#&#8203;8286](DataDog/dd-trace-java#8286) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨⚡ Optimize Git repository information computation
([#&#8203;8270](DataDog/dd-trace-java#8270) -
[@&#8203;dougqh](https://github.com/dougqh))
- ✨ Always request known tests from the backend
([#&#8203;8268](DataDog/dd-trace-java#8268) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨ Fix NPE when trying to get retry analyzer in Test NG
([#&#8203;8253](DataDog/dd-trace-java#8253) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- 🐛 Set test framework and test framework version tags atomically
([#&#8203;8252](DataDog/dd-trace-java#8252) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨ Add debug logging to Android Gradle module layout logic
([#&#8203;8251](DataDog/dd-trace-java#8251) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- 🐛 Fix source and destination folders computation for Android
Gradle projects
([#&#8203;8190](DataDog/dd-trace-java#8190) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨ Add basic Scala Weaver sbt support
([#&#8203;8189](DataDog/dd-trace-java#8189) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Implement impacted tests detection
([#&#8203;8188](DataDog/dd-trace-java#8188) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))

##### Data Streams Monitoring

- ✨ Change hash computation for protobuf to better represent
impacting changes + save proto number in schema
([#&#8203;8201](DataDog/dd-trace-java#8201) -
[@&#8203;vandonr](https://github.com/vandonr))

##### Database Monitoring

- Add peer service tag in dbm sql commenter
([#&#8203;7913](DataDog/dd-trace-java#7913) -
[@&#8203;jordan-wong](https://github.com/jordan-wong))

##### Dynamic Instrumentation

- ✨ Add support for SymDB to scan directories
([#&#8203;8306](DataDog/dd-trace-java#8306) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Add SymDB report for any jar scanning failures
([#&#8203;8300](DataDog/dd-trace-java#8300) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Use two budgets depending on type
([#&#8203;8283](DataDog/dd-trace-java#8283) -
[@&#8203;evanchooly](https://github.com/evanchooly))
- ✨ Institute a 10 snapshot per probe per trace budget
([#&#8203;8277](DataDog/dd-trace-java#8277) -
[@&#8203;evanchooly](https://github.com/evanchooly))
- 🐛 Avoid double snapshots for Exception Replay
([#&#8203;8273](DataDog/dd-trace-java#8273) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Simplify code origins. Separate out snapshot generation.
([#&#8203;8263](DataDog/dd-trace-java#8263) -
[@&#8203;evanchooly](https://github.com/evanchooly))
- ✨ Add Exception probe custom instrumentation
([#&#8203;8230](DataDog/dd-trace-java#8230) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Enhance log probes to honor debug session tags
([#&#8203;8215](DataDog/dd-trace-java#8215) -
[@&#8203;evanchooly](https://github.com/evanchooly))
- 🐛 Don't redact env tokens from debugger probe snapshots
([#&#8203;8211](DataDog/dd-trace-java#8211) -
[@&#8203;watson](https://github.com/watson))
- ✨⚡ Move Trace/SpanId capture at commit time
([#&#8203;8184](DataDog/dd-trace-java#8184) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Capture values at entry for method probe
([#&#8203;8169](DataDog/dd-trace-java#8169) -
[@&#8203;jpbempel](https://github.com/jpbempel))

##### JMX fetch

- 🐛 Mute JMXFetch Shutdown in progress error
([#&#8203;8068](DataDog/dd-trace-java#8068) -
[@&#8203;ygree](https://github.com/ygree))

##### OpenTracing

- ⚠️🧹 Make jnr-unixsocket an explicit dependency of
dd-trace-ot
([#&#8203;8307](DataDog/dd-trace-java#8307) -
[@&#8203;mcculls](https://github.com/mcculls))

##### Profiling

- 🐛 Avoid unsupported API call for creating folders on windows
([#&#8203;8304](DataDog/dd-trace-java#8304) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- ✨ Tag profiles for serverless
([#&#8203;8279](DataDog/dd-trace-java#8279) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- ✨ add queue type and length to queue events
([#&#8203;8242](DataDog/dd-trace-java#8242) -
[@&#8203;richardstartin](https://github.com/richardstartin))
- 🐛 TempLocationManager Fixes and Improvements
([#&#8203;8191](DataDog/dd-trace-java#8191) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- ✨ Bump ddprof to 1.18.0
([#&#8203;8173](DataDog/dd-trace-java#8173) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- ✨ Report profiler initialization and configuration errors to
telemetry
([#&#8203;8171](DataDog/dd-trace-java#8171) -
[@&#8203;jbachorik](https://github.com/jbachorik))

##### Telemetry

- ✨ Add pending traces report in tracer flares
([#&#8203;8053](DataDog/dd-trace-java#8053) -
[@&#8203;mhlidd](https://github.com/mhlidd))

##### Testing

- ✨ Test http server requests in parallel
([#&#8203;8222](DataDog/dd-trace-java#8222) -
[@&#8203;amarziali](https://github.com/amarziali))

##### Trace context propagation

- ✨ Add non default propagator registration
([#&#8203;8310](DataDog/dd-trace-java#8310) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

##### Tracer core

- ✨ Probe for existence of IBMSASL or ACCP security providers
([#&#8203;8276](DataDog/dd-trace-java#8276) -
[@&#8203;mcculls](https://github.com/mcculls))
- ✨⚡ Overhead improvement to agent feedback based sampling
([#&#8203;8265](DataDog/dd-trace-java#8265) -
[@&#8203;dougqh](https://github.com/dougqh))
- 🧹 Move async propagation API from scope to tracer
([#&#8203;8231](DataDog/dd-trace-java#8231) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- ✨ Introduce context propagation API
([#&#8203;8161](DataDog/dd-trace-java#8161) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- ✨🧪 Use env-entry to add tags per webapp deployment
([#&#8203;8138](DataDog/dd-trace-java#8138) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Introduce context helpers API
([#&#8203;8134](DataDog/dd-trace-java#8134) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- ✨ Support IPv6 values for `DD_AGENT_HOST` and
`DD_TRACE_AGENT_URL`
([#&#8203;7984](DataDog/dd-trace-java#7984) -
[@&#8203;mhlidd](https://github.com/mhlidd))

##### Instrumentations

##### Apache HttpComponents

- 🐛 Properly finish spans and support latest apache httpclient5
([#&#8203;8272](DataDog/dd-trace-java#8272) -
[@&#8203;amarziali](https://github.com/amarziali))

##### AWS Lambda instrumentation

- 🐛 Properly capture lambda payloads for all handler types.
([#&#8203;8264](DataDog/dd-trace-java#8264) -
[@&#8203;purple4reina](https://github.com/purple4reina))

##### AWS S3 instrumentation

- 💡 Create S3 instrumentation + add span pointers
([#&#8203;8075](DataDog/dd-trace-java#8075) -
[@&#8203;nhulston](https://github.com/nhulston))

##### AWS SDK instrumentation

- 🐛 Revert "Add avoid double instrumenting lambda non-streaming
handlers."
([#&#8203;8247](DataDog/dd-trace-java#8247) -
[@&#8203;nhulston](https://github.com/nhulston))

##### Cassandra

- ✨ Allow extracting keyspace from statement result
([#&#8203;8239](DataDog/dd-trace-java#8239) -
[@&#8203;amarziali](https://github.com/amarziali))

##### Core Java language instrumentation

- ✨ Propagation of translateEscapes of String class
([#&#8203;8186](DataDog/dd-trace-java#8186) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))

##### Eclipse Vert.x instrumentation

- 🐛 Fix vertx worker propagation and error handling
([#&#8203;8237](DataDog/dd-trace-java#8237) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Support vertx 5
([#&#8203;8220](DataDog/dd-trace-java#8220) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Add support for session tracking in Vertx
([#&#8203;8167](DataDog/dd-trace-java#8167) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))

##### Kafka instrumentation

- 🐛 Prevent possible NPE calculating Kafka record header size
([#&#8203;8292](DataDog/dd-trace-java#8292) -
[@&#8203;ygree](https://github.com/ygree))

##### Mule instrumentation

- 🐛 Fix crash using Mule with JPMS
([#&#8203;8187](DataDog/dd-trace-java#8187) -
[@&#8203;amarziali](https://github.com/amarziali))

##### Protocol Buffer instrumentation

- ✨ Change hash computation for protobuf to better represent
impacting changes + save proto number in schema
([#&#8203;8201](DataDog/dd-trace-java#8201) -
[@&#8203;vandonr](https://github.com/vandonr))

##### Spring instrumentation

- 🐛 Preserve getQualifier from spring scheduling runnables
([#&#8203;8293](DataDog/dd-trace-java#8293) -
[@&#8203;amarziali](https://github.com/amarziali))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am
every weekday" in timezone Australia/Melbourne, Automerge - At any time
(no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

GitOrigin-RevId: bb09d47e4eed77a003f630273b4d0a84003eb899
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: ci visibility Continuous Integration Visibility type: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants