Skip to content

Conversation

@amarziali
Copy link
Contributor

@amarziali amarziali commented Apr 17, 2025

What Does This Do

Adds process tags to stats client payload.

See DataDog/datadog-agent#35746 and #8698

Motivation

Additional Notes

Contributor Checklist

Jira ticket: AIDM-628

@pr-commenter
Copy link

pr-commenter bot commented Apr 17, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/processtags_stats
git_commit_date 1744612276 1744890402
git_commit_sha b00c24e 281251c
release_version 1.49.0-SNAPSHOT~b00c24e26a 1.49.0-SNAPSHOT~281251ce9d
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1744893418 1744893418
ci_job_id 901211555 901211555
ci_pipeline_id 62487717 62487717
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-ksnk1cm3-project-304-concurrent-0-dq9jsvqq 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 06:54:57 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-ksnk1cm3-project-304-concurrent-0-dq9jsvqq 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 06:54:57 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
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, 10 unstable metrics.

Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.49.0-SNAPSHOT~281251ce9d, baseline=1.49.0-SNAPSHOT~b00c24e26a

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.065 s) : 0, 1065334
Total [baseline] (10.496 s) : 0, 10495901
Agent [candidate] (1.06 s) : 0, 1059643
Total [candidate] (10.481 s) : 0, 10480695
section appsec
Agent [baseline] (1.203 s) : 0, 1202656
Total [baseline] (10.841 s) : 0, 10841459
Agent [candidate] (1.198 s) : 0, 1198475
Total [candidate] (10.789 s) : 0, 10788720
section iast
Agent [baseline] (1.184 s) : 0, 1183650
Total [baseline] (11.048 s) : 0, 11047566
Agent [candidate] (1.194 s) : 0, 1193690
Total [candidate] (11.049 s) : 0, 11049348
section profiling
Agent [baseline] (1.292 s) : 0, 1292328
Total [baseline] (10.98 s) : 0, 10980254
Agent [candidate] (1.298 s) : 0, 1297874
Total [candidate] (10.888 s) : 0, 10888307
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.065 s -
Agent appsec 1.203 s 137.322 ms (12.9%)
Agent iast 1.184 s 118.316 ms (11.1%)
Agent profiling 1.292 s 226.994 ms (21.3%)
Total tracing 10.496 s -
Total appsec 10.841 s 345.558 ms (3.3%)
Total iast 11.048 s 551.665 ms (5.3%)
Total profiling 10.98 s 484.353 ms (4.6%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.06 s -
Agent appsec 1.198 s 138.832 ms (13.1%)
Agent iast 1.194 s 134.046 ms (12.7%)
Agent profiling 1.298 s 238.23 ms (22.5%)
Total tracing 10.481 s -
Total appsec 10.789 s 308.026 ms (2.9%)
Total iast 11.049 s 568.653 ms (5.4%)
Total profiling 10.888 s 407.612 ms (3.9%)
gantt
    title petclinic - break down per module: candidate=1.49.0-SNAPSHOT~281251ce9d, baseline=1.49.0-SNAPSHOT~b00c24e26a

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (725.967 ms) : 0, 725967
BytebuddyAgent [candidate] (723.679 ms) : 0, 723679
GlobalTracer [baseline] (240.91 ms) : 0, 240910
GlobalTracer [candidate] (239.144 ms) : 0, 239144
AppSec [baseline] (56.933 ms) : 0, 56933
AppSec [candidate] (55.418 ms) : 0, 55418
Debugger [baseline] (4.386 ms) : 0, 4386
Debugger [candidate] (4.416 ms) : 0, 4416
Remote Config [baseline] (699.118 µs) : 0, 699
Remote Config [candidate] (695.324 µs) : 0, 695
Telemetry [baseline] (12.872 ms) : 0, 12872
Telemetry [candidate] (12.726 ms) : 0, 12726
section appsec
BytebuddyAgent [baseline] (743.378 ms) : 0, 743378
BytebuddyAgent [candidate] (739.028 ms) : 0, 739028
GlobalTracer [baseline] (236.085 ms) : 0, 236085
GlobalTracer [candidate] (235.981 ms) : 0, 235981
AppSec [baseline] (175.949 ms) : 0, 175949
AppSec [candidate] (175.989 ms) : 0, 175989
Debugger [baseline] (4.226 ms) : 0, 4226
Debugger [candidate] (4.228 ms) : 0, 4228
Remote Config [baseline] (624.259 µs) : 0, 624
Remote Config [candidate] (634.771 µs) : 0, 635
Telemetry [baseline] (8.155 ms) : 0, 8155
Telemetry [candidate] (8.213 ms) : 0, 8213
IAST [baseline] (21.56 ms) : 0, 21560
IAST [candidate] (21.988 ms) : 0, 21988
section iast
BytebuddyAgent [baseline] (838.378 ms) : 0, 838378
BytebuddyAgent [candidate] (846.802 ms) : 0, 846802
GlobalTracer [baseline] (229.979 ms) : 0, 229979
GlobalTracer [candidate] (230.906 ms) : 0, 230906
AppSec [baseline] (53.52 ms) : 0, 53520
AppSec [candidate] (55.958 ms) : 0, 55958
Debugger [baseline] (4.213 ms) : 0, 4213
Debugger [candidate] (4.23 ms) : 0, 4230
Remote Config [baseline] (602.897 µs) : 0, 603
Remote Config [candidate] (619.945 µs) : 0, 620
Telemetry [baseline] (8.675 ms) : 0, 8675
Telemetry [candidate] (8.751 ms) : 0, 8751
IAST [baseline] (25.014 ms) : 0, 25014
IAST [candidate] (22.934 ms) : 0, 22934
section profiling
ProfilingAgent [baseline] (101.382 ms) : 0, 101382
ProfilingAgent [candidate] (102.811 ms) : 0, 102811
BytebuddyAgent [baseline] (712.887 ms) : 0, 712887
BytebuddyAgent [candidate] (715.86 ms) : 0, 715860
GlobalTracer [baseline] (359.904 ms) : 0, 359904
GlobalTracer [candidate] (360.762 ms) : 0, 360762
AppSec [baseline] (53.787 ms) : 0, 53787
AppSec [candidate] (53.739 ms) : 0, 53739
Debugger [baseline] (4.371 ms) : 0, 4371
Debugger [candidate] (4.439 ms) : 0, 4439
Remote Config [baseline] (672.718 µs) : 0, 673
Remote Config [candidate] (676.203 µs) : 0, 676
Telemetry [baseline] (8.979 ms) : 0, 8979
Telemetry [candidate] (9.038 ms) : 0, 9038
Profiling [baseline] (101.408 ms) : 0, 101408
Profiling [candidate] (102.836 ms) : 0, 102836
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.49.0-SNAPSHOT~281251ce9d, baseline=1.49.0-SNAPSHOT~b00c24e26a

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.064 s) : 0, 1063993
Total [baseline] (8.7 s) : 0, 8699817
Agent [candidate] (1.059 s) : 0, 1058632
Total [candidate] (8.703 s) : 0, 8702751
section iast
Agent [baseline] (1.189 s) : 0, 1189057
Total [baseline] (9.245 s) : 0, 9244683
Agent [candidate] (1.183 s) : 0, 1182882
Total [candidate] (9.24 s) : 0, 9239895
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.182 s) : 0, 1182212
Total [baseline] (9.251 s) : 0, 9251351
Agent [candidate] (1.186 s) : 0, 1185847
Total [candidate] (9.228 s) : 0, 9227777
section iast_TELEMETRY_OFF
Agent [baseline] (1.176 s) : 0, 1176466
Total [baseline] (9.248 s) : 0, 9247608
Agent [candidate] (1.182 s) : 0, 1182150
Total [candidate] (9.271 s) : 0, 9271180
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.064 s -
Agent iast 1.189 s 125.064 ms (11.8%)
Agent iast_HARDCODED_SECRET_DISABLED 1.182 s 118.219 ms (11.1%)
Agent iast_TELEMETRY_OFF 1.176 s 112.473 ms (10.6%)
Total tracing 8.7 s -
Total iast 9.245 s 544.866 ms (6.3%)
Total iast_HARDCODED_SECRET_DISABLED 9.251 s 551.534 ms (6.3%)
Total iast_TELEMETRY_OFF 9.248 s 547.791 ms (6.3%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.059 s -
Agent iast 1.183 s 124.25 ms (11.7%)
Agent iast_HARDCODED_SECRET_DISABLED 1.186 s 127.215 ms (12.0%)
Agent iast_TELEMETRY_OFF 1.182 s 123.518 ms (11.7%)
Total tracing 8.703 s -
Total iast 9.24 s 537.144 ms (6.2%)
Total iast_HARDCODED_SECRET_DISABLED 9.228 s 525.026 ms (6.0%)
Total iast_TELEMETRY_OFF 9.271 s 568.429 ms (6.5%)
gantt
    title insecure-bank - break down per module: candidate=1.49.0-SNAPSHOT~281251ce9d, baseline=1.49.0-SNAPSHOT~b00c24e26a

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (727.174 ms) : 0, 727174
BytebuddyAgent [candidate] (722.168 ms) : 0, 722168
GlobalTracer [baseline] (240.591 ms) : 0, 240591
GlobalTracer [candidate] (239.208 ms) : 0, 239208
AppSec [baseline] (55.434 ms) : 0, 55434
AppSec [candidate] (55.192 ms) : 0, 55192
Debugger [baseline] (5.12 ms) : 0, 5120
Debugger [candidate] (4.366 ms) : 0, 4366
Remote Config [baseline] (1.382 ms) : 0, 1382
Remote Config [candidate] (1.413 ms) : 0, 1413
Telemetry [baseline] (10.659 ms) : 0, 10659
Telemetry [candidate] (12.803 ms) : 0, 12803
section iast
BytebuddyAgent [baseline] (843.532 ms) : 0, 843532
BytebuddyAgent [candidate] (838.021 ms) : 0, 838021
GlobalTracer [baseline] (230.128 ms) : 0, 230128
GlobalTracer [candidate] (229.26 ms) : 0, 229260
IAST [baseline] (22.884 ms) : 0, 22884
IAST [candidate] (24.195 ms) : 0, 24195
AppSec [baseline] (55.454 ms) : 0, 55454
AppSec [candidate] (54.46 ms) : 0, 54460
Debugger [baseline] (4.234 ms) : 0, 4234
Debugger [candidate] (4.225 ms) : 0, 4225
Remote Config [baseline] (604.665 µs) : 0, 605
Remote Config [candidate] (595.624 µs) : 0, 596
Telemetry [baseline] (8.705 ms) : 0, 8705
Telemetry [candidate] (8.719 ms) : 0, 8719
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (837.82 ms) : 0, 837820
BytebuddyAgent [candidate] (839.487 ms) : 0, 839487
GlobalTracer [baseline] (229.046 ms) : 0, 229046
GlobalTracer [candidate] (230.805 ms) : 0, 230805
IAST [baseline] (24.327 ms) : 0, 24327
IAST [candidate] (23.589 ms) : 0, 23589
AppSec [baseline] (54.126 ms) : 0, 54126
AppSec [candidate] (55.076 ms) : 0, 55076
Debugger [baseline] (4.261 ms) : 0, 4261
Debugger [candidate] (4.236 ms) : 0, 4236
Remote Config [baseline] (613.182 µs) : 0, 613
Remote Config [candidate] (602.405 µs) : 0, 602
Telemetry [baseline] (8.739 ms) : 0, 8739
Telemetry [candidate] (8.675 ms) : 0, 8675
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (833.618 ms) : 0, 833618
BytebuddyAgent [candidate] (837.011 ms) : 0, 837011
GlobalTracer [baseline] (228.855 ms) : 0, 228855
GlobalTracer [candidate] (230.177 ms) : 0, 230177
IAST [baseline] (22.149 ms) : 0, 22149
IAST [candidate] (22.336 ms) : 0, 22336
AppSec [baseline] (55.261 ms) : 0, 55261
AppSec [candidate] (55.784 ms) : 0, 55784
Debugger [baseline] (4.131 ms) : 0, 4131
Debugger [candidate] (4.173 ms) : 0, 4173
Remote Config [baseline] (612.574 µs) : 0, 613
Remote Config [candidate] (627.812 µs) : 0, 628
Telemetry [baseline] (8.523 ms) : 0, 8523
Telemetry [candidate] (8.69 ms) : 0, 8690
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
end_time 2025-04-17T12:07:07 2025-04-17T12:14:50
git_branch master andrea.marziali/processtags_stats
git_commit_date 1744612276 1744890402
git_commit_sha b00c24e 281251c
release_version 1.49.0-SNAPSHOT~b00c24e26a 1.49.0-SNAPSHOT~281251ce9d
start_time 2025-04-17T12:06:53 2025-04-17T12:14:36
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1744892487 1744892487
ci_job_id 901211556 901211556
ci_pipeline_id 62487717 62487717
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-ksnk1cm3-project-304-concurrent-1-loqqo6ia 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 06:54:57 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-ksnk1cm3-project-304-concurrent-1-loqqo6ia 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 06:54:57 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
variant iast iast

Summary

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

Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.49.0-SNAPSHOT~281251ce9d, baseline=1.49.0-SNAPSHOT~b00c24e26a
    dateFormat X
    axisFormat %s
section baseline
no_agent (379.26 µs) : 358, 400
.   : milestone, 379,
iast (507.036 µs) : 485, 529
.   : milestone, 507,
iast_FULL (725.022 µs) : 703, 747
.   : milestone, 725,
iast_GLOBAL (557.657 µs) : 536, 580
.   : milestone, 558,
iast_HARDCODED_SECRET_DISABLED (506.721 µs) : 485, 528
.   : milestone, 507,
iast_INACTIVE (464.269 µs) : 443, 486
.   : milestone, 464,
iast_TELEMETRY_OFF (494.602 µs) : 473, 516
.   : milestone, 495,
tracing (457.98 µs) : 437, 479
.   : milestone, 458,
section candidate
no_agent (376.666 µs) : 356, 397
.   : milestone, 377,
iast (510.119 µs) : 488, 532
.   : milestone, 510,
iast_FULL (728.006 µs) : 706, 750
.   : milestone, 728,
iast_GLOBAL (549.112 µs) : 527, 571
.   : milestone, 549,
iast_HARDCODED_SECRET_DISABLED (515.915 µs) : 494, 538
.   : milestone, 516,
iast_INACTIVE (466.777 µs) : 445, 489
.   : milestone, 467,
iast_TELEMETRY_OFF (500.905 µs) : 479, 523
.   : milestone, 501,
tracing (459.671 µs) : 438, 481
.   : milestone, 460,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 379.26 µs [358.427 µs, 400.093 µs] -
iast 507.036 µs [485.113 µs, 528.96 µs] 127.776 µs (33.7%)
iast_FULL 725.022 µs [703.053 µs, 746.991 µs] 345.762 µs (91.2%)
iast_GLOBAL 557.657 µs [535.799 µs, 579.515 µs] 178.397 µs (47.0%)
iast_HARDCODED_SECRET_DISABLED 506.721 µs [485.259 µs, 528.182 µs] 127.46 µs (33.6%)
iast_INACTIVE 464.269 µs [442.826 µs, 485.713 µs] 85.009 µs (22.4%)
iast_TELEMETRY_OFF 494.602 µs [473.174 µs, 516.029 µs] 115.342 µs (30.4%)
tracing 457.98 µs [436.99 µs, 478.97 µs] 78.72 µs (20.8%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 376.666 µs [356.387 µs, 396.945 µs] -
iast 510.119 µs [488.282 µs, 531.957 µs] 133.453 µs (35.4%)
iast_FULL 728.006 µs [706.089 µs, 749.924 µs] 351.341 µs (93.3%)
iast_GLOBAL 549.112 µs [527.172 µs, 571.053 µs] 172.446 µs (45.8%)
iast_HARDCODED_SECRET_DISABLED 515.915 µs [493.869 µs, 537.962 µs] 139.249 µs (37.0%)
iast_INACTIVE 466.777 µs [444.765 µs, 488.79 µs] 90.112 µs (23.9%)
iast_TELEMETRY_OFF 500.905 µs [478.973 µs, 522.838 µs] 124.239 µs (33.0%)
tracing 459.671 µs [438.03 µs, 481.311 µs] 83.005 µs (22.0%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.49.0-SNAPSHOT~281251ce9d, baseline=1.49.0-SNAPSHOT~b00c24e26a
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.358 ms) : 1338, 1378
.   : milestone, 1358,
appsec (1.71 ms) : 1686, 1733
.   : milestone, 1710,
appsec_no_iast (1.709 ms) : 1685, 1732
.   : milestone, 1709,
code_origins (1.704 ms) : 1675, 1733
.   : milestone, 1704,
iast (1.502 ms) : 1478, 1527
.   : milestone, 1502,
profiling (1.512 ms) : 1486, 1537
.   : milestone, 1512,
tracing (1.485 ms) : 1461, 1509
.   : milestone, 1485,
section candidate
no_agent (1.364 ms) : 1345, 1384
.   : milestone, 1364,
appsec (1.735 ms) : 1712, 1759
.   : milestone, 1735,
appsec_no_iast (1.722 ms) : 1698, 1746
.   : milestone, 1722,
code_origins (1.693 ms) : 1665, 1720
.   : milestone, 1693,
iast (1.518 ms) : 1493, 1544
.   : milestone, 1518,
profiling (1.512 ms) : 1489, 1535
.   : milestone, 1512,
tracing (1.5 ms) : 1473, 1527
.   : milestone, 1500,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.358 ms [1.338 ms, 1.378 ms] -
appsec 1.71 ms [1.686 ms, 1.733 ms] 351.472 µs (25.9%)
appsec_no_iast 1.709 ms [1.685 ms, 1.732 ms] 350.569 µs (25.8%)
code_origins 1.704 ms [1.675 ms, 1.733 ms] 346.176 µs (25.5%)
iast 1.502 ms [1.478 ms, 1.527 ms] 144.053 µs (10.6%)
profiling 1.512 ms [1.486 ms, 1.537 ms] 153.313 µs (11.3%)
tracing 1.485 ms [1.461 ms, 1.509 ms] 126.665 µs (9.3%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.364 ms [1.345 ms, 1.384 ms] -
appsec 1.735 ms [1.712 ms, 1.759 ms] 371.392 µs (27.2%)
appsec_no_iast 1.722 ms [1.698 ms, 1.746 ms] 357.824 µs (26.2%)
code_origins 1.693 ms [1.665 ms, 1.72 ms] 328.602 µs (24.1%)
iast 1.518 ms [1.493 ms, 1.544 ms] 154.085 µs (11.3%)
profiling 1.512 ms [1.489 ms, 1.535 ms] 148.257 µs (10.9%)
tracing 1.5 ms [1.473 ms, 1.527 ms] 135.812 µs (10.0%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/processtags_stats
git_commit_date 1744612276 1744890402
git_commit_sha b00c24e 281251c
release_version 1.49.0-SNAPSHOT~b00c24e26a 1.49.0-SNAPSHOT~281251ce9d
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1744893011 1744893011
ci_job_id 901211557 901211557
ci_pipeline_id 62487717 62487717
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-h1bcm7b9-project-304-concurrent-0-v4e7ug76 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 06:54:57 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-h1bcm7b9-project-304-concurrent-0-v4e7ug76 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 06:54:57 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
variant appsec appsec

Summary

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

Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.49.0-SNAPSHOT~281251ce9d, baseline=1.49.0-SNAPSHOT~b00c24e26a
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.922 s) : 14922000, 14922000
.   : milestone, 14922000,
appsec (14.763 s) : 14763000, 14763000
.   : milestone, 14763000,
iast (18.792 s) : 18792000, 18792000
.   : milestone, 18792000,
iast_GLOBAL (17.897 s) : 17897000, 17897000
.   : milestone, 17897000,
profiling (15.043 s) : 15043000, 15043000
.   : milestone, 15043000,
tracing (15.013 s) : 15013000, 15013000
.   : milestone, 15013000,
section candidate
no_agent (15.437 s) : 15437000, 15437000
.   : milestone, 15437000,
appsec (15.064 s) : 15064000, 15064000
.   : milestone, 15064000,
iast (18.67 s) : 18670000, 18670000
.   : milestone, 18670000,
iast_GLOBAL (17.998 s) : 17998000, 17998000
.   : milestone, 17998000,
profiling (15.164 s) : 15164000, 15164000
.   : milestone, 15164000,
tracing (15.288 s) : 15288000, 15288000
.   : milestone, 15288000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.922 s [14.922 s, 14.922 s] -
appsec 14.763 s [14.763 s, 14.763 s] -159.0 ms (-1.1%)
iast 18.792 s [18.792 s, 18.792 s] 3.87 s (25.9%)
iast_GLOBAL 17.897 s [17.897 s, 17.897 s] 2.975 s (19.9%)
profiling 15.043 s [15.043 s, 15.043 s] 121.0 ms (0.8%)
tracing 15.013 s [15.013 s, 15.013 s] 91.0 ms (0.6%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.437 s [15.437 s, 15.437 s] -
appsec 15.064 s [15.064 s, 15.064 s] -373.0 ms (-2.4%)
iast 18.67 s [18.67 s, 18.67 s] 3.233 s (20.9%)
iast_GLOBAL 17.998 s [17.998 s, 17.998 s] 2.561 s (16.6%)
profiling 15.164 s [15.164 s, 15.164 s] -273.0 ms (-1.8%)
tracing 15.288 s [15.288 s, 15.288 s] -149.0 ms (-1.0%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.49.0-SNAPSHOT~281251ce9d, baseline=1.49.0-SNAPSHOT~b00c24e26a
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.476 ms) : 1465, 1488
.   : milestone, 1476,
appsec (2.335 ms) : 2292, 2379
.   : milestone, 2335,
iast (2.124 ms) : 2068, 2179
.   : milestone, 2124,
iast_GLOBAL (2.166 ms) : 2110, 2222
.   : milestone, 2166,
profiling (1.967 ms) : 1923, 2011
.   : milestone, 1967,
tracing (1.957 ms) : 1915, 2000
.   : milestone, 1957,
section candidate
no_agent (1.475 ms) : 1463, 1486
.   : milestone, 1475,
appsec (2.334 ms) : 2291, 2377
.   : milestone, 2334,
iast (2.107 ms) : 2052, 2163
.   : milestone, 2107,
iast_GLOBAL (2.16 ms) : 2105, 2216
.   : milestone, 2160,
profiling (1.996 ms) : 1950, 2041
.   : milestone, 1996,
tracing (1.945 ms) : 1903, 1987
.   : milestone, 1945,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.476 ms [1.465 ms, 1.488 ms] -
appsec 2.335 ms [2.292 ms, 2.379 ms] 859.123 µs (58.2%)
iast 2.124 ms [2.068 ms, 2.179 ms] 647.464 µs (43.9%)
iast_GLOBAL 2.166 ms [2.11 ms, 2.222 ms] 690.216 µs (46.8%)
profiling 1.967 ms [1.923 ms, 2.011 ms] 491.062 µs (33.3%)
tracing 1.957 ms [1.915 ms, 2.0 ms] 480.929 µs (32.6%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.475 ms [1.463 ms, 1.486 ms] -
appsec 2.334 ms [2.291 ms, 2.377 ms] 858.769 µs (58.2%)
iast 2.107 ms [2.052 ms, 2.163 ms] 632.508 µs (42.9%)
iast_GLOBAL 2.16 ms [2.105 ms, 2.216 ms] 685.235 µs (46.5%)
profiling 1.996 ms [1.95 ms, 2.041 ms] 520.875 µs (35.3%)
tracing 1.945 ms [1.903 ms, 1.987 ms] 469.975 µs (31.9%)

@amarziali amarziali marked this pull request as ready for review April 18, 2025 13:39
@amarziali amarziali requested a review from a team as a code owner April 18, 2025 13:39
@amarziali amarziali requested review from smola and ygree April 18, 2025 13:39
Copy link
Member

@smola smola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 if sync'd in the backend, ideally system-tests should be added.

@amarziali amarziali merged commit 7984628 into andrea.marziali/processtags Apr 28, 2025
192 checks passed
@amarziali amarziali deleted the andrea.marziali/processtags_stats branch April 28, 2025 08:28
@amarziali amarziali modified the milestone: 1.49.0 Apr 28, 2025
amarziali added a commit that referenced this pull request Apr 29, 2025
* Collect process tags for tracing

* fix tests and experimental features

* Only add to first span in chunk

* fix tests

* use the good tag name

* target all spring boot advices

* fix coverage

* Add process tags to client stats payload (#8704)

* Use the correct setting name

* update system test commit

* refactor

* add more tests
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request May 7, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
|
[com.google.cloud:google-cloud-logging](https://github.com/googleapis/java-logging)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`3.22.2` -> `3.22.3` |
|
[com.google.cloud:google-cloud-datastore](https://github.com/googleapis/java-datastore)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.28.0` -> `2.28.1` |
| [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.48.2` -> `1.49.0` |
| [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.36` -> `2.31.37` |
| [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.36` -> `2.31.37` |
|
[software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.36` -> `2.31.37` |
| [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.36` -> `2.31.37` |
| [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.36` -> `2.31.37` |
| [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.36` -> `2.31.37` |
| [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.36` -> `2.31.37` |

---

### Release Notes

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

###
[`v3.22.3`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3223-2025-05-06)

##### Bug Fixes

- **deps:** Update the Java code generator (gapic-generator-java) to
2.56.3
([844f4fa](googleapis/java-logging@844f4fa))

##### Dependencies

- Update dependency com.google.cloud:sdk-platform-java-config to v3.46.3
([#&#8203;1801](googleapis/java-logging#1801))
([d7aa7bc](googleapis/java-logging@d7aa7bc))
- Update dependency com.google.cloud:sdk-platform-java-config to v3.47.0
([#&#8203;1803](googleapis/java-logging#1803))
([5967ffe](googleapis/java-logging@5967ffe))
- Update googleapis/sdk-platform-java action to v2.57.0
([#&#8203;1804](googleapis/java-logging#1804))
([e9a27ec](googleapis/java-logging@e9a27ec))

</details>

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

###
[`v2.28.1`](https://github.com/googleapis/java-datastore/blob/HEAD/CHANGELOG.md#2281-2025-05-06)

##### Dependencies

- Update dependency com.google.cloud:sdk-platform-java-config to v3.47.0
([#&#8203;1841](googleapis/java-datastore#1841))
([ac393e6](googleapis/java-datastore@ac393e6))
- Update googleapis/sdk-platform-java action to v2.57.0
([#&#8203;1842](googleapis/java-datastore#1842))
([0745906](googleapis/java-datastore@0745906))

</details>

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

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

### Components

#### Configuration at Runtime

- ✨ Add process tags as list to remote config payload
([#&#8203;8705](DataDog/dd-trace-java#8705) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Continuous Integration Visibility

- 🐛 Add span propagation for Pekko scheduled tasks
([#&#8203;8765](DataDog/dd-trace-java#8765) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨ Update test.retry_reason to use full name of the feature
([#&#8203;8689](DataDog/dd-trace-java#8689) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- 🧹 Remove unused TestEventsHandler methods
([#&#8203;8674](DataDog/dd-trace-java#8674) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))

#### Dynamic Instrumentation

- 🐛 Fix exclude identifiers normalization
([#&#8203;8742](DataDog/dd-trace-java#8742) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Make source file tracking asynchronous
([#&#8203;8684](DataDog/dd-trace-java#8684) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Add scope filtering for symbol extraction
([#&#8203;8676](DataDog/dd-trace-java#8676) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Add support for [@&#8203;key](https://github.com/key) and
[@&#8203;value](https://github.com/value) for Map filtering
([#&#8203;8669](DataDog/dd-trace-java#8669) -
[@&#8203;jpbempel](https://github.com/jpbempel))

#### Library Injection

- ✨ Add system property to force injection of the tracing
library even though multiple javaagents have been detected
([#&#8203;8697](DataDog/dd-trace-java#8697) -
[@&#8203;cecile75](https://github.com/cecile75))

#### Metrics

- ✨ Allow dogstatsd port to be configurable with
DD_DOGSTATSD_PORT
([#&#8203;8693](DataDog/dd-trace-java#8693) -
[@&#8203;randomanderson](https://github.com/randomanderson))

#### Profiling

- ✨ Bump ddprof-java to 1.25.1
([#&#8203;8750](DataDog/dd-trace-java#8750) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- 🐛 Remove cleanup-on-shutdown for temporary files
([#&#8203;8746](DataDog/dd-trace-java#8746) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- ✨⚡ Replace a regex-based SMAP parser with a hand-crafted
one
([#&#8203;8730](DataDog/dd-trace-java#8730) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- ✨ Improve error reporting on profiler startup
([#&#8203;8714](DataDog/dd-trace-java#8714) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- ✨ Exclude ProxyLeakTask exception from exception profiling
([#&#8203;8666](DataDog/dd-trace-java#8666) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- ✨ Use jvmstat for JDKs 9+ programmatically
([#&#8203;8641](DataDog/dd-trace-java#8641) -
[@&#8203;MattAlp](https://github.com/MattAlp))

#### Telemetry

- ✨ Allow dogstatsd port to be configurable with
DD_DOGSTATSD_PORT
([#&#8203;8693](DataDog/dd-trace-java#8693) -
[@&#8203;randomanderson](https://github.com/randomanderson))
- 🐛 Fix appsec.waf.requests telemetry metric
([#&#8203;8644](DataDog/dd-trace-java#8644) -
[@&#8203;jandro996](https://github.com/jandro996))

#### Tracer core

- ✨ Exclude jackson afterburner dynamic classes from
instrumentation
([#&#8203;8747](DataDog/dd-trace-java#8747) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Introduce Java 8 bytecode bridge for instrumentation API
([#&#8203;8736](DataDog/dd-trace-java#8736) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- ⚡🧹 Use byte-buddy classes optimized for Java8+
([#&#8203;8735](DataDog/dd-trace-java#8735) -
[@&#8203;mcculls](https://github.com/mcculls))
- 🐛 Do not set the hibernate or datanucleus span service name when
disabled
([#&#8203;8727](DataDog/dd-trace-java#8727) -
[@&#8203;ygree](https://github.com/ygree))
- ✨ Update bytebuddy and ASM to support JDK 24
([#&#8203;8720](DataDog/dd-trace-java#8720) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))
- 🐛 Turn off JDK socket support by default
([#&#8203;8715](DataDog/dd-trace-java#8715) -
[@&#8203;mcculls](https://github.com/mcculls))
- 🐛 Log warning when trace buffer overflow occurs
([#&#8203;8712](DataDog/dd-trace-java#8712) -
[@&#8203;ygree](https://github.com/ygree))
- ✨🧪 Introducing an internal integration name
([#&#8203;8708](DataDog/dd-trace-java#8708) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Add process tags to client stats payload
([#&#8203;8704](DataDog/dd-trace-java#8704) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Collect process tags for tracing
([#&#8203;8698](DataDog/dd-trace-java#8698) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Stable Config file: target system properties in
process_arguments and support template variables in YamlParser
([#&#8203;8690](DataDog/dd-trace-java#8690) -
[@&#8203;mtoffl01](https://github.com/mtoffl01))
- ✨⚡ Use prefix trie for proxy ignores
([#&#8203;8678](DataDog/dd-trace-java#8678) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Allow agent to be automatically injected when running aside
Log4J patch agent
([#&#8203;8648](DataDog/dd-trace-java#8648) -
[@&#8203;paullegranddc](https://github.com/paullegranddc))
- ✨ Use jvmstat for JDKs 9+ programmatically
([#&#8203;8641](DataDog/dd-trace-java#8641) -
[@&#8203;MattAlp](https://github.com/MattAlp))

#### Tracer internal logging

- 🐛 Delete print line
([#&#8203;8686](DataDog/dd-trace-java#8686) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))

### Instrumentations

#### Akka instrumentation

- 🐛 Handle reentrant scope cleanup in Akka/Pekko actor
instrumentations
([#&#8203;8722](DataDog/dd-trace-java#8722) -
[@&#8203;mcculls](https://github.com/mcculls))

#### Apache Spark instrumentation

- ✨ Use OpenLineage root parent information to generate trace
id ([#&#8203;8726](DataDog/dd-trace-java#8726)
- [@&#8203;mobuchowski](https://github.com/mobuchowski))
- ✨ Spark job cancellation no longer marks application as
failed
([#&#8203;8701](DataDog/dd-trace-java#8701) -
[@&#8203;paul-laffon-dd](https://github.com/paul-laffon-dd))

#### JDBC instrumentation

- 💡 Add support for sybase tds jdbc driver
([#&#8203;8764](DataDog/dd-trace-java#8764) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Kotlin instrumentation

- 🐛 Take defensive copy of parent scope stack when closing nested
coroutines
([#&#8203;8749](DataDog/dd-trace-java#8749) -
[@&#8203;mcculls](https://github.com/mcculls))

#### Reactor instrumentation

- ✨⚡ Do not inspect reactor context when not needed
([#&#8203;8745](DataDog/dd-trace-java#8745) -
[@&#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**: Enabled.

♻ **Rebasing**: Never, 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: 795f347ae34d056efc1194c2f606cee7bca1beea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: core Tracer core type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants