Skip to content

Ensure auto-detected service name is the same for every process in the same build #8902

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

Conversation

nikita-tkachenko-datadog
Copy link
Contributor

What Does This Do

When instrumenting a build system (Maven or Gradle) and if service name is not set explicitly by the user, this PR ensures that the service name is the same for the parent and the children processes.

It does this by propagating the service name auto-detected in the parent to the children.

Motivation

Auto-detected service name is based on the name of the JAR detected in the command used to start the process.
For Maven and Gradle the JAR running the tests is not the same as the JAR running the build system itself, which results in different service names being auto-detected for the parent and the children.
Different service names in the same session may break certain features, for example TIA (tests are sent with one service name from the child process, skippable tests are requested with a different service name from the parent).

Contributor Checklist

@nikita-tkachenko-datadog nikita-tkachenko-datadog added type: bug comp: ci visibility Continuous Integration Visibility labels May 30, 2025
@pr-commenter
Copy link

pr-commenter bot commented May 30, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master nikita-tkachenko/child-process-service-propagation
git_commit_date 1746789389 1748604108
git_commit_sha ad6d5fe 2a22043
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~2a2204324c
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1748606633 1748606633
ci_job_id 960764263 960764263
ci_pipeline_id 66518493 66518493
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-x3kj13mk-project-304-concurrent-0-vgjrcq6t 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-x3kj13mk-project-304-concurrent-0-vgjrcq6t 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None
variant iast iast

Summary

Found 2 performance improvements and 1 performance regressions! Performance is the same for 54 metrics, 14 unstable metrics.

scenario Δ mean execution_time candidate mean execution_time baseline mean execution_time
scenario:startup:insecure-bank:iast_TELEMETRY_OFF:AppSec better
[-8.515ms; -3.851ms] or [-15.220%; -6.884%]
49.765ms 55.949ms
scenario:startup:petclinic:profiling:GlobalTracer better
[-24.904ms; -12.619ms] or [-6.546%; -3.317%]
361.688ms 380.450ms
scenario:startup:petclinic:profiling:AppSec worse
[+5.196ms; +9.139ms] or [+9.483%; +16.679%]
61.964ms 54.796ms
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.50.0-SNAPSHOT~2a2204324c, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.032 s) : 0, 1032235
Total [baseline] (10.478 s) : 0, 10478154
Agent [candidate] (1.026 s) : 0, 1026418
Total [candidate] (10.516 s) : 0, 10515998
section appsec
Agent [baseline] (1.164 s) : 0, 1164463
Total [baseline] (10.655 s) : 0, 10655137
Agent [candidate] (1.168 s) : 0, 1167990
Total [candidate] (10.689 s) : 0, 10689441
section iast
Agent [baseline] (1.148 s) : 0, 1147891
Total [baseline] (10.908 s) : 0, 10907866
Agent [candidate] (1.151 s) : 0, 1151158
Total [candidate] (10.944 s) : 0, 10943548
section profiling
Agent [baseline] (1.287 s) : 0, 1286917
Total [baseline] (10.88 s) : 0, 10879740
Agent [candidate] (1.275 s) : 0, 1275435
Total [candidate] (10.862 s) : 0, 10862136
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.032 s -
Agent appsec 1.164 s 132.229 ms (12.8%)
Agent iast 1.148 s 115.656 ms (11.2%)
Agent profiling 1.287 s 254.683 ms (24.7%)
Total tracing 10.478 s -
Total appsec 10.655 s 176.983 ms (1.7%)
Total iast 10.908 s 429.712 ms (4.1%)
Total profiling 10.88 s 401.586 ms (3.8%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.026 s -
Agent appsec 1.168 s 141.572 ms (13.8%)
Agent iast 1.151 s 124.74 ms (12.2%)
Agent profiling 1.275 s 249.016 ms (24.3%)
Total tracing 10.516 s -
Total appsec 10.689 s 173.443 ms (1.6%)
Total iast 10.944 s 427.551 ms (4.1%)
Total profiling 10.862 s 346.138 ms (3.3%)
gantt
    title petclinic - break down per module: candidate=1.50.0-SNAPSHOT~2a2204324c, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (691.171 ms) : 0, 691171
BytebuddyAgent [candidate] (687.041 ms) : 0, 687041
GlobalTracer [baseline] (242.559 ms) : 0, 242559
GlobalTracer [candidate] (240.553 ms) : 0, 240553
AppSec [baseline] (55.642 ms) : 0, 55642
AppSec [candidate] (57.164 ms) : 0, 57164
Debugger [baseline] (9.17 ms) : 0, 9170
Debugger [candidate] (6.188 ms) : 0, 6188
Remote Config [baseline] (691.122 µs) : 0, 691
Remote Config [candidate] (727.75 µs) : 0, 728
Telemetry [baseline] (9.145 ms) : 0, 9145
Telemetry [candidate] (11.149 ms) : 0, 11149
section appsec
BytebuddyAgent [baseline] (702.374 ms) : 0, 702374
BytebuddyAgent [candidate] (704.536 ms) : 0, 704536
GlobalTracer [baseline] (237.082 ms) : 0, 237082
GlobalTracer [candidate] (238.545 ms) : 0, 238545
AppSec [baseline] (176.171 ms) : 0, 176171
AppSec [candidate] (176.596 ms) : 0, 176596
Debugger [baseline] (6.323 ms) : 0, 6323
Debugger [candidate] (5.939 ms) : 0, 5939
Remote Config [baseline] (620.609 µs) : 0, 621
Remote Config [candidate] (641.61 µs) : 0, 642
Telemetry [baseline] (7.421 ms) : 0, 7421
Telemetry [candidate] (7.352 ms) : 0, 7352
IAST [baseline] (21.827 ms) : 0, 21827
IAST [candidate] (21.693 ms) : 0, 21693
section iast
BytebuddyAgent [baseline] (801.988 ms) : 0, 801988
BytebuddyAgent [candidate] (803.598 ms) : 0, 803598
GlobalTracer [baseline] (230.44 ms) : 0, 230440
GlobalTracer [candidate] (231.49 ms) : 0, 231490
AppSec [baseline] (49.097 ms) : 0, 49097
AppSec [candidate] (51.544 ms) : 0, 51544
Debugger [baseline] (5.867 ms) : 0, 5867
Debugger [candidate] (5.905 ms) : 0, 5905
Remote Config [baseline] (591.386 µs) : 0, 591
Remote Config [candidate] (587.828 µs) : 0, 588
Telemetry [baseline] (7.842 ms) : 0, 7842
Telemetry [candidate] (7.869 ms) : 0, 7869
IAST [baseline] (28.642 ms) : 0, 28642
IAST [candidate] (26.635 ms) : 0, 26635
section profiling
BytebuddyAgent [baseline] (675.668 ms) : 0, 675668
BytebuddyAgent [candidate] (679.749 ms) : 0, 679749
GlobalTracer [baseline] (380.45 ms) : 0, 380450
GlobalTracer [candidate] (361.688 ms) : 0, 361688
AppSec [baseline] (54.796 ms) : 0, 54796
AppSec [candidate] (61.964 ms) : 0, 61964
Debugger [baseline] (6.177 ms) : 0, 6177
Debugger [candidate] (6.117 ms) : 0, 6117
Remote Config [baseline] (658.232 µs) : 0, 658
Remote Config [candidate] (642.089 µs) : 0, 642
Telemetry [baseline] (8.161 ms) : 0, 8161
Telemetry [candidate] (8.079 ms) : 0, 8079
ProfilingAgent [baseline] (110.363 ms) : 0, 110363
ProfilingAgent [candidate] (106.005 ms) : 0, 106005
Profiling [baseline] (110.389 ms) : 0, 110389
Profiling [candidate] (106.03 ms) : 0, 106030
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.50.0-SNAPSHOT~2a2204324c, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.022 s) : 0, 1021960
Total [baseline] (8.646 s) : 0, 8646498
Agent [candidate] (1.021 s) : 0, 1021006
Total [candidate] (8.639 s) : 0, 8639476
section iast
Agent [baseline] (1.148 s) : 0, 1148245
Total [baseline] (9.233 s) : 0, 9232819
Agent [candidate] (1.167 s) : 0, 1166848
Total [candidate] (9.288 s) : 0, 9287940
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.157 s) : 0, 1157304
Total [baseline] (9.233 s) : 0, 9233032
Agent [candidate] (1.16 s) : 0, 1159952
Total [candidate] (9.215 s) : 0, 9215450
section iast_TELEMETRY_OFF
Agent [baseline] (1.152 s) : 0, 1151842
Total [baseline] (9.2 s) : 0, 9199810
Agent [candidate] (1.157 s) : 0, 1157404
Total [candidate] (9.279 s) : 0, 9279145
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.022 s -
Agent iast 1.148 s 126.286 ms (12.4%)
Agent iast_HARDCODED_SECRET_DISABLED 1.157 s 135.345 ms (13.2%)
Agent iast_TELEMETRY_OFF 1.152 s 129.882 ms (12.7%)
Total tracing 8.646 s -
Total iast 9.233 s 586.322 ms (6.8%)
Total iast_HARDCODED_SECRET_DISABLED 9.233 s 586.534 ms (6.8%)
Total iast_TELEMETRY_OFF 9.2 s 553.312 ms (6.4%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.021 s -
Agent iast 1.167 s 145.842 ms (14.3%)
Agent iast_HARDCODED_SECRET_DISABLED 1.16 s 138.945 ms (13.6%)
Agent iast_TELEMETRY_OFF 1.157 s 136.398 ms (13.4%)
Total tracing 8.639 s -
Total iast 9.288 s 648.465 ms (7.5%)
Total iast_HARDCODED_SECRET_DISABLED 9.215 s 575.974 ms (6.7%)
Total iast_TELEMETRY_OFF 9.279 s 639.669 ms (7.4%)
gantt
    title insecure-bank - break down per module: candidate=1.50.0-SNAPSHOT~2a2204324c, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (682.525 ms) : 0, 682525
BytebuddyAgent [candidate] (683.225 ms) : 0, 683225
GlobalTracer [baseline] (240.009 ms) : 0, 240009
GlobalTracer [candidate] (240.426 ms) : 0, 240426
AppSec [baseline] (55.035 ms) : 0, 55035
AppSec [candidate] (56.53 ms) : 0, 56530
Debugger [baseline] (11.197 ms) : 0, 11197
Debugger [candidate] (6.19 ms) : 0, 6190
Remote Config [baseline] (689.682 µs) : 0, 690
Remote Config [candidate] (758.245 µs) : 0, 758
Telemetry [baseline] (8.915 ms) : 0, 8915
Telemetry [candidate] (10.4 ms) : 0, 10400
section iast
BytebuddyAgent [baseline] (802.14 ms) : 0, 802140
BytebuddyAgent [candidate] (815.048 ms) : 0, 815048
GlobalTracer [baseline] (229.956 ms) : 0, 229956
GlobalTracer [candidate] (233.907 ms) : 0, 233907
IAST [baseline] (29.022 ms) : 0, 29022
IAST [candidate] (28.071 ms) : 0, 28071
AppSec [baseline] (49.251 ms) : 0, 49251
AppSec [candidate] (51.414 ms) : 0, 51414
Debugger [baseline] (5.876 ms) : 0, 5876
Debugger [candidate] (5.97 ms) : 0, 5970
Remote Config [baseline] (594.323 µs) : 0, 594
Remote Config [candidate] (609.203 µs) : 0, 609
Telemetry [baseline] (7.865 ms) : 0, 7865
Telemetry [candidate] (8.035 ms) : 0, 8035
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (807.92 ms) : 0, 807920
BytebuddyAgent [candidate] (809.675 ms) : 0, 809675
GlobalTracer [baseline] (231.712 ms) : 0, 231712
GlobalTracer [candidate] (232.825 ms) : 0, 232825
IAST [baseline] (27.752 ms) : 0, 27752
IAST [candidate] (27.78 ms) : 0, 27780
AppSec [baseline] (51.686 ms) : 0, 51686
AppSec [candidate] (51.351 ms) : 0, 51351
Debugger [baseline] (5.949 ms) : 0, 5949
Debugger [candidate] (5.948 ms) : 0, 5948
Remote Config [baseline] (609.158 µs) : 0, 609
Remote Config [candidate] (593.735 µs) : 0, 594
Telemetry [baseline] (7.954 ms) : 0, 7954
Telemetry [candidate] (7.994 ms) : 0, 7994
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (804.009 ms) : 0, 804009
BytebuddyAgent [candidate] (806.885 ms) : 0, 806885
GlobalTracer [baseline] (231.232 ms) : 0, 231232
GlobalTracer [candidate] (233.35 ms) : 0, 233350
IAST [baseline] (22.63 ms) : 0, 22630
IAST [candidate] (29.091 ms) : 0, 29091
AppSec [baseline] (55.949 ms) : 0, 55949
AppSec [candidate] (49.765 ms) : 0, 49765
Debugger [baseline] (5.982 ms) : 0, 5982
Debugger [candidate] (5.989 ms) : 0, 5989
Remote Config [baseline] (627.032 µs) : 0, 627
Remote Config [candidate] (613.954 µs) : 0, 614
Telemetry [baseline] (7.741 ms) : 0, 7741
Telemetry [candidate] (7.943 ms) : 0, 7943
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
end_time 2025-05-30T11:32:21 2025-05-30T11:40:03
git_branch master nikita-tkachenko/child-process-service-propagation
git_commit_date 1746789389 1748604108
git_commit_sha ad6d5fe 2a22043
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~2a2204324c
start_time 2025-05-30T11:32:07 2025-05-30T11:39:49
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1748605600 1748605600
ci_job_id 960764264 960764264
ci_pipeline_id 66518493 66518493
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-x3kj13mk-project-304-concurrent-1-0kv5zaiz 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-x3kj13mk-project-304-concurrent-1-0kv5zaiz 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 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 petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~2a2204324c, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.349 ms) : 1329, 1368
.   : milestone, 1349,
appsec (1.741 ms) : 1717, 1765
.   : milestone, 1741,
appsec_no_iast (1.726 ms) : 1702, 1749
.   : milestone, 1726,
code_origins (1.66 ms) : 1632, 1687
.   : milestone, 1660,
iast (1.492 ms) : 1468, 1515
.   : milestone, 1492,
profiling (1.514 ms) : 1490, 1538
.   : milestone, 1514,
tracing (1.496 ms) : 1472, 1521
.   : milestone, 1496,
section candidate
no_agent (1.366 ms) : 1346, 1385
.   : milestone, 1366,
appsec (1.733 ms) : 1709, 1757
.   : milestone, 1733,
appsec_no_iast (1.736 ms) : 1712, 1760
.   : milestone, 1736,
code_origins (1.65 ms) : 1623, 1677
.   : milestone, 1650,
iast (1.524 ms) : 1499, 1549
.   : milestone, 1524,
profiling (1.544 ms) : 1519, 1569
.   : milestone, 1544,
tracing (1.492 ms) : 1469, 1515
.   : milestone, 1492,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.349 ms [1.329 ms, 1.368 ms] -
appsec 1.741 ms [1.717 ms, 1.765 ms] 392.609 µs (29.1%)
appsec_no_iast 1.726 ms [1.702 ms, 1.749 ms] 376.992 µs (28.0%)
code_origins 1.66 ms [1.632 ms, 1.687 ms] 310.969 µs (23.1%)
iast 1.492 ms [1.468 ms, 1.515 ms] 143.016 µs (10.6%)
profiling 1.514 ms [1.49 ms, 1.538 ms] 165.133 µs (12.2%)
tracing 1.496 ms [1.472 ms, 1.521 ms] 147.796 µs (11.0%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.366 ms [1.346 ms, 1.385 ms] -
appsec 1.733 ms [1.709 ms, 1.757 ms] 367.292 µs (26.9%)
appsec_no_iast 1.736 ms [1.712 ms, 1.76 ms] 370.591 µs (27.1%)
code_origins 1.65 ms [1.623 ms, 1.677 ms] 284.516 µs (20.8%)
iast 1.524 ms [1.499 ms, 1.549 ms] 158.653 µs (11.6%)
profiling 1.544 ms [1.519 ms, 1.569 ms] 178.153 µs (13.0%)
tracing 1.492 ms [1.469 ms, 1.515 ms] 126.32 µs (9.2%)
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~2a2204324c, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (382.046 µs) : 362, 402
.   : milestone, 382,
iast (511.15 µs) : 489, 533
.   : milestone, 511,
iast_FULL (731.088 µs) : 709, 753
.   : milestone, 731,
iast_GLOBAL (558.125 µs) : 536, 580
.   : milestone, 558,
iast_HARDCODED_SECRET_DISABLED (508.033 µs) : 485, 531
.   : milestone, 508,
iast_INACTIVE (462.747 µs) : 440, 485
.   : milestone, 463,
iast_TELEMETRY_OFF (514.021 µs) : 491, 537
.   : milestone, 514,
tracing (459.345 µs) : 437, 481
.   : milestone, 459,
section candidate
no_agent (379.891 µs) : 359, 400
.   : milestone, 380,
iast (516.92 µs) : 495, 539
.   : milestone, 517,
iast_FULL (735.191 µs) : 713, 757
.   : milestone, 735,
iast_GLOBAL (553.324 µs) : 532, 575
.   : milestone, 553,
iast_HARDCODED_SECRET_DISABLED (506.884 µs) : 485, 528
.   : milestone, 507,
iast_INACTIVE (466.161 µs) : 443, 489
.   : milestone, 466,
iast_TELEMETRY_OFF (495.49 µs) : 474, 517
.   : milestone, 495,
tracing (458.148 µs) : 436, 480
.   : milestone, 458,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 382.046 µs [362.445 µs, 401.646 µs] -
iast 511.15 µs [489.304 µs, 532.995 µs] 129.104 µs (33.8%)
iast_FULL 731.088 µs [709.109 µs, 753.066 µs] 349.042 µs (91.4%)
iast_GLOBAL 558.125 µs [536.293 µs, 579.957 µs] 176.079 µs (46.1%)
iast_HARDCODED_SECRET_DISABLED 508.033 µs [485.038 µs, 531.028 µs] 125.987 µs (33.0%)
iast_INACTIVE 462.747 µs [440.083 µs, 485.411 µs] 80.701 µs (21.1%)
iast_TELEMETRY_OFF 514.021 µs [490.608 µs, 537.433 µs] 131.975 µs (34.5%)
tracing 459.345 µs [437.237 µs, 481.453 µs] 77.299 µs (20.2%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 379.891 µs [359.312 µs, 400.471 µs] -
iast 516.92 µs [494.714 µs, 539.126 µs] 137.028 µs (36.1%)
iast_FULL 735.191 µs [713.175 µs, 757.207 µs] 355.299 µs (93.5%)
iast_GLOBAL 553.324 µs [531.797 µs, 574.852 µs] 173.433 µs (45.7%)
iast_HARDCODED_SECRET_DISABLED 506.884 µs [485.273 µs, 528.495 µs] 126.993 µs (33.4%)
iast_INACTIVE 466.161 µs [443.316 µs, 489.005 µs] 86.269 µs (22.7%)
iast_TELEMETRY_OFF 495.49 µs [473.917 µs, 517.063 µs] 115.599 µs (30.4%)
tracing 458.148 µs [436.041 µs, 480.255 µs] 78.257 µs (20.6%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master nikita-tkachenko/child-process-service-propagation
git_commit_date 1746789389 1748604108
git_commit_sha ad6d5fe 2a22043
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~2a2204324c
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1748606248 1748606248
ci_job_id 960764265 960764265
ci_pipeline_id 66518493 66518493
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-x3kj13mk-project-304-concurrent-2-9uszp0bx 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-x3kj13mk-project-304-concurrent-2-9uszp0bx 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 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 tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~2a2204324c, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.472 ms) : 1460, 1483
.   : milestone, 1472,
appsec (2.394 ms) : 2346, 2442
.   : milestone, 2394,
iast (2.178 ms) : 2117, 2238
.   : milestone, 2178,
iast_GLOBAL (2.217 ms) : 2156, 2278
.   : milestone, 2217,
profiling (2.018 ms) : 1970, 2066
.   : milestone, 2018,
tracing (2.003 ms) : 1955, 2050
.   : milestone, 2003,
section candidate
no_agent (1.473 ms) : 1461, 1484
.   : milestone, 1473,
appsec (2.395 ms) : 2346, 2443
.   : milestone, 2395,
iast (2.178 ms) : 2117, 2239
.   : milestone, 2178,
iast_GLOBAL (2.229 ms) : 2167, 2291
.   : milestone, 2229,
profiling (2.046 ms) : 1996, 2097
.   : milestone, 2046,
tracing (2.023 ms) : 1975, 2071
.   : milestone, 2023,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.472 ms [1.46 ms, 1.483 ms] -
appsec 2.394 ms [2.346 ms, 2.442 ms] 922.425 µs (62.7%)
iast 2.178 ms [2.117 ms, 2.238 ms] 706.084 µs (48.0%)
iast_GLOBAL 2.217 ms [2.156 ms, 2.278 ms] 745.606 µs (50.7%)
profiling 2.018 ms [1.97 ms, 2.066 ms] 546.484 µs (37.1%)
tracing 2.003 ms [1.955 ms, 2.05 ms] 531.087 µs (36.1%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.473 ms [1.461 ms, 1.484 ms] -
appsec 2.395 ms [2.346 ms, 2.443 ms] 922.083 µs (62.6%)
iast 2.178 ms [2.117 ms, 2.239 ms] 705.065 µs (47.9%)
iast_GLOBAL 2.229 ms [2.167 ms, 2.291 ms] 756.231 µs (51.4%)
profiling 2.046 ms [1.996 ms, 2.097 ms] 573.817 µs (39.0%)
tracing 2.023 ms [1.975 ms, 2.071 ms] 550.515 µs (37.4%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~2a2204324c, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.919 s) : 14919000, 14919000
.   : milestone, 14919000,
appsec (14.74 s) : 14740000, 14740000
.   : milestone, 14740000,
iast (18.735 s) : 18735000, 18735000
.   : milestone, 18735000,
iast_GLOBAL (18.1 s) : 18100000, 18100000
.   : milestone, 18100000,
profiling (14.834 s) : 14834000, 14834000
.   : milestone, 14834000,
tracing (14.976 s) : 14976000, 14976000
.   : milestone, 14976000,
section candidate
no_agent (14.939 s) : 14939000, 14939000
.   : milestone, 14939000,
appsec (14.929 s) : 14929000, 14929000
.   : milestone, 14929000,
iast (18.037 s) : 18037000, 18037000
.   : milestone, 18037000,
iast_GLOBAL (17.971 s) : 17971000, 17971000
.   : milestone, 17971000,
profiling (14.934 s) : 14934000, 14934000
.   : milestone, 14934000,
tracing (14.968 s) : 14968000, 14968000
.   : milestone, 14968000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.919 s [14.919 s, 14.919 s] -
appsec 14.74 s [14.74 s, 14.74 s] -179.0 ms (-1.2%)
iast 18.735 s [18.735 s, 18.735 s] 3.816 s (25.6%)
iast_GLOBAL 18.1 s [18.1 s, 18.1 s] 3.181 s (21.3%)
profiling 14.834 s [14.834 s, 14.834 s] -85.0 ms (-0.6%)
tracing 14.976 s [14.976 s, 14.976 s] 57.0 ms (0.4%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.939 s [14.939 s, 14.939 s] -
appsec 14.929 s [14.929 s, 14.929 s] -10.0 ms (-0.1%)
iast 18.037 s [18.037 s, 18.037 s] 3.098 s (20.7%)
iast_GLOBAL 17.971 s [17.971 s, 17.971 s] 3.032 s (20.3%)
profiling 14.934 s [14.934 s, 14.934 s] -5.0 ms (-0.0%)
tracing 14.968 s [14.968 s, 14.968 s] 29.0 ms (0.2%)

@nikita-tkachenko-datadog nikita-tkachenko-datadog marked this pull request as ready for review May 30, 2025 12:42
@nikita-tkachenko-datadog nikita-tkachenko-datadog requested review from a team as code owners May 30, 2025 12:42
@nikita-tkachenko-datadog nikita-tkachenko-datadog merged commit 3b2874e into master May 30, 2025
507 of 508 checks passed
@nikita-tkachenko-datadog nikita-tkachenko-datadog deleted the nikita-tkachenko/child-process-service-propagation branch May 30, 2025 12:42
@github-actions github-actions bot added this to the 1.50.0 milestone May 30, 2025
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Jun 20, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
| [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.49.0` -> `1.50.0` |

---

### Release Notes

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

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

### Deprecation Notice

> \[!NOTE]
> `DD_RUNTIME_ID_ENABLED` has been deprecated and will be removed in
future releases. Please use `DD_RUNTIME_METRICS_RUNTIME_ID_ENABLED`
instead.

### Components

#### Application Security Management (WAF)

- 🐛 Add String length truncation limit to ObjectIntrospector and
update truncation metrics
([#&#8203;8825](DataDog/dd-trace-java#8825) -
[@&#8203;jandro996](https://github.com/jandro996))
- 🐛 Adapt standalone ASM to support API Security
([#&#8203;8804](DataDog/dd-trace-java#8804) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Add appsec.waf.input\_truncated metric
([#&#8203;8791](DataDog/dd-trace-java#8791) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Extended appsec request body collection
([#&#8203;8748](DataDog/dd-trace-java#8748) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Extended appsec request/response headers collection
([#&#8203;8724](DataDog/dd-trace-java#8724) -
[@&#8203;jandro996](https://github.com/jandro996))

#### Build & Tooling

- ✨ Add artifacts to public s3 bucket
([#&#8203;8947](DataDog/dd-trace-java#8947) -
[@&#8203;randomanderson](https://github.com/randomanderson))

#### Continuous Integration Visibility

- ✨ Improve PR information building
([#&#8203;8908](DataDog/dd-trace-java#8908) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Truncate span stack traces when Test Optimization is
enabled
([#&#8203;8903](DataDog/dd-trace-java#8903) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- 🐛 Ensure auto-detected service name is the same for every process
in the same build
([#&#8203;8902](DataDog/dd-trace-java#8902) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- 🐛 Use tag as fallback in api requests if no branch is available
([#&#8203;8876](DataDog/dd-trace-java#8876) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Add support for JUnit 5.13-RC1
([#&#8203;8865](DataDog/dd-trace-java#8865),
[#&#8203;8871](DataDog/dd-trace-java#8871) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Implement attempt to fix v3 and v4 and bump capability
version
([#&#8203;8824](DataDog/dd-trace-java#8824) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- 🧹 Align retry logic for all test framework instrumentations
([#&#8203;8803](DataDog/dd-trace-java#8803) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- 🐛 Always build ci workspace without trailing separator
([#&#8203;8788](DataDog/dd-trace-java#8788) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Add commit discrepancies telemetry when building repository
git information
([#&#8203;8763](DataDog/dd-trace-java#8763) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))

#### Data Streams Monitoring

- 💡 Surface process tags in dsm payloads and use them for base hash
calculation
([#&#8203;8836](DataDog/dd-trace-java#8836) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Dynamic Instrumentation

- ✨ Optimized allocations for collection filter functions
([#&#8203;8896](DataDog/dd-trace-java#8896) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Fix SymDB upload size check
([#&#8203;8887](DataDog/dd-trace-java#8887) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Add support for Set in filter function
([#&#8203;8873](DataDog/dd-trace-java#8873) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Add support for isDefined in log template
([#&#8203;8859](DataDog/dd-trace-java#8859) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Fix Max captured frames for Exception Replay
([#&#8203;8856](DataDog/dd-trace-java#8856) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Remove static inherited fields collection
([#&#8203;8832](DataDog/dd-trace-java#8832) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 💡 Add process tags to dynamic instrumentation intake payload
([#&#8203;8779](DataDog/dd-trace-java#8779) -
[@&#8203;amarziali](https://github.com/amarziali))

#### GraalVM native-image

- ✨ Add support for GraalVM Native GC metrics
([#&#8203;8913](DataDog/dd-trace-java#8913) -
[@&#8203;ygree](https://github.com/ygree))
- ✨ Add JMXFetch support for GraalVM Native
([#&#8203;8569](DataDog/dd-trace-java#8569) -
[@&#8203;ygree](https://github.com/ygree))

#### JMX fetch

- ✨ Add support for GraalVM Native GC metrics
([#&#8203;8913](DataDog/dd-trace-java#8913) -
[@&#8203;ygree](https://github.com/ygree))

#### Library Injection

- ✨ Deny oracle db jvm based tools
([#&#8203;8909](DataDog/dd-trace-java#8909) -
[@&#8203;bric3](https://github.com/bric3))

#### OpenTracing

- 🐛 Fix OT packaging for exception replay
([#&#8203;8912](DataDog/dd-trace-java#8912) -
[@&#8203;jpbempel](https://github.com/jpbempel))

#### Profiling

- ✨ Bump ddprof to 1.27.0
([#&#8203;8893](DataDog/dd-trace-java#8893) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- Properly handle the adaptive sampling interval overflow by
[@&#8203;jbachorik](https://github.com/jbachorik) in
DataDog/java-profiler#213
- Fix [#&#8203;200](DataDog/dd-trace-java#200)
Crash related to aligned\_alloc and free in context by
[@&#8203;yanglong1010](https://github.com/yanglong1010) in
DataDog/java-profiler#208
- Explicitly initialize empty context page by
[@&#8203;jbachorik](https://github.com/jbachorik) in
DataDog/java-profiler#210
- Re-connect crash recursion protection with VM stackwalker by
[@&#8203;jbachorik](https://github.com/jbachorik) in
DataDog/java-profiler#214
- ✨ Enable ZSTD compression for profiling
([#&#8203;8862](DataDog/dd-trace-java#8862) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- ✨ Extend JPS re-implementation to J9 family
([#&#8203;8813](DataDog/dd-trace-java#8813) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- 💡 Collect process tags for profiling upload requests
([#&#8203;8780](DataDog/dd-trace-java#8780) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Telemetry

- 💡 Surface process tags on telemetry payloads
([#&#8203;8837](DataDog/dd-trace-java#8837) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Trace context propagation

- ✨ Migrating all HttpClient Instrumentations to Inject Full
Context
([#&#8203;8826](DataDog/dd-trace-java#8826) -
[@&#8203;mhlidd](https://github.com/mhlidd))
- ✨ Migrating all HttpServer Instrumentations to Extract full
Context
([#&#8203;8820](DataDog/dd-trace-java#8820) -
[@&#8203;mhlidd](https://github.com/mhlidd))
- ✨ Add context API support OTel propagators
([#&#8203;8770](DataDog/dd-trace-java#8770) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Tracer core

- ✨⚡ Skip JAXB generated classes classloader
([#&#8203;9003](DataDog/dd-trace-java#9003) -
[@&#8203;bric3](https://github.com/bric3))
- ✨ Add DD\_RUNTIME\_METRICS\_RUNTIME\_ID\_ENABLED alias for
runtime id generation
([#&#8203;8981](DataDog/dd-trace-java#8981) -
[@&#8203;amarziali](https://github.com/amarziali))
- 🐛 Use resolved address for peer.hostname when available without
hitting the cache
([#&#8203;8915](DataDog/dd-trace-java#8915) -
[@&#8203;amarziali](https://github.com/amarziali))
- 💡 Surface server name process tag for tomcat
([#&#8203;8894](DataDog/dd-trace-java#8894) -
[@&#8203;amarziali](https://github.com/amarziali))
- 💡 Surface websphere cell and server name on process tags
([#&#8203;8880](DataDog/dd-trace-java#8880) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Added special lightweight pre-main class that skips
installation on incompatible JVMs.
([#&#8203;8855](DataDog/dd-trace-java#8855) -
[@&#8203;AlexeyKuznetsov-DD](https://github.com/AlexeyKuznetsov-DD))
- 💡 Add entrypoint type to process tags
([#&#8203;8839](DataDog/dd-trace-java#8839) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Extend JPS re-implementation to J9 family
([#&#8203;8813](DataDog/dd-trace-java#8813) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- ✨ Notify listeners when the scope top changes after switching
scope stacks
([#&#8203;8797](DataDog/dd-trace-java#8797) -
[@&#8203;mcculls](https://github.com/mcculls))
- ✨ Read hsperfdata for Java PIDs if jvmstat is unavailable
([#&#8203;8792](DataDog/dd-trace-java#8792) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- 🐛 Turn JDK socket support on by default
([#&#8203;8752](DataDog/dd-trace-java#8752) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))
- ✨ Simplify context propagation
([#&#8203;8719](DataDog/dd-trace-java#8719) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- ✨ Add JSON parsing support
([#&#8203;8579](DataDog/dd-trace-java#8579) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Tracer internal logging

- ✨ Fix printing format of span identifiers
([#&#8203;8897](DataDog/dd-trace-java#8897) -
[@&#8203;vandonr](https://github.com/vandonr))

#### Tracer public API

- 💡 Track the source of installation
([#&#8203;8956](DataDog/dd-trace-java#8956) -
[@&#8203;mabdinur](https://github.com/mabdinur))
- ✨ Enforce size limit on application\_monitoring.yaml files
([#&#8203;8789](DataDog/dd-trace-java#8789) -
[@&#8203;mtoffl01](https://github.com/mtoffl01))
- ✨ Enabling baggage cache to support limits and non-ascii
characters
([#&#8203;8713](DataDog/dd-trace-java#8713) -
[@&#8203;mhlidd](https://github.com/mhlidd))

### Instrumentations

#### AWS Lambda instrumentation

- ✨ Pass Lambda Request ID to Extension
([#&#8203;8814](DataDog/dd-trace-java#8814) -
[@&#8203;nhulston](https://github.com/nhulston))

#### Core Java language instrumentation

- ✨ Ensure ClassloadingInstrumentation is always applied even
with `DD_TRACE_ENABLED=false`
([#&#8203;8863](DataDog/dd-trace-java#8863) -
[@&#8203;mcculls](https://github.com/mcculls))

#### Eclipse Vert.x instrumentation

- 🐛 Do not override route with / in vertx instrumentation
([#&#8203;8881](DataDog/dd-trace-java#8881) -
[@&#8203;vandonr](https://github.com/vandonr))

#### IBM Liberty

- 🐛 Fix error mark on http status for IBM liberty
([#&#8203;8822](DataDog/dd-trace-java#8822) -
[@&#8203;amarziali](https://github.com/amarziali))

#### JDBC instrumentation

- 🐛 Do not prepend DBM <> APM trace comment in SQLCommenter if there
is a pg plan hint
([#&#8203;8864](DataDog/dd-trace-java#8864) -
[@&#8203;edengorevoy](https://github.com/edengorevoy))

#### JMS instrumentation

- ✨ Add jms as an extra integration name where there is JMS
involved
([#&#8203;8933](DataDog/dd-trace-java#8933) -
[@&#8203;vandonr](https://github.com/vandonr))

#### Kotlin instrumentation

- ✨ Enable kotlin\_coroutine integration by default
([#&#8203;8848](DataDog/dd-trace-java#8848) -
[@&#8203;mcculls](https://github.com/mcculls))
- 🧹 Rework Kotlin coroutines instrumentation around coroutine
context
([#&#8203;8774](DataDog/dd-trace-java#8774) -
[@&#8203;mcculls](https://github.com/mcculls))

#### OpenTelemetry instrumentation

- 🐛 Support WithSpan inheritContext attribute
([#&#8203;8858](DataDog/dd-trace-java#8858) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Add context API support OTel propagators
([#&#8203;8770](DataDog/dd-trace-java#8770) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Play Framework instrumentation

- 🐛 Fix the Play Framework's span resource name priority so that the
client JAX-RS 404 cannot override it
([#&#8203;8591](DataDog/dd-trace-java#8591) -
[@&#8203;ygree](https://github.com/ygree))

#### Quarkus Instrumentation

- 🐛 Ignore quarkus jaxrs stubs and cdi wrapper proxies
([#&#8203;8891](DataDog/dd-trace-java#8891) -
[@&#8203;amarziali](https://github.com/amarziali))

#### ServiceTalk

- ✨ Improve ServiceTalk Captured Context API Instrumentation
for v0.42.56+
([#&#8203;8821](DataDog/dd-trace-java#8821) -
[@&#8203;ygree](https://github.com/ygree))

#### Spring instrumentation

- ✨ Supporting Baggage for Instrumentations used in Weblog
Tests
([#&#8203;8773](DataDog/dd-trace-java#8773) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### WebSocket Instrumentation

- 💡 Trace websocket for spring webflux reactive handlers
([#&#8203;8831](DataDog/dd-trace-java#8831) -
[@&#8203;amarziali](https://github.com/amarziali))
- 💡:test\_tube: WebSocket support for Netty
([#&#8203;8632](DataDog/dd-trace-java#8632) -
[@&#8203;ValentinZakharov](https://github.com/ValentinZakharov))

#### Zio Instrumentation

- 🧹 Cleanup Zio fiber instrumentation to avoid repeated activation
of continuation
([#&#8203;8798](DataDog/dd-trace-java#8798) -
[@&#8203;mcculls](https://github.com/mcculls))

</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.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- 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: 9207366cdb6a1bd098082305d354a0a3c4622d7a
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: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants