GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix using SpanAttribute annotation on multiple parameters by cecile75 · Pull Request #9412 · DataDog/dd-trace-java

Conversation

@cecile75

@cecile75 cecile75 commented Aug 22, 2025 •
edited by atlassian Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

What Does This Do

Allow multiple span attributes to be set on the same span using the OpenTelemetry annotation @SpanAttribute.

@WithSpan
 public static String sayHelloWithMultipleAttributes(
     @SpanAttribute("custom-tag1") String param1, @SpanAttribute("custom-tag2") String param2) {
   return "hello!";
 }

Result before this PR:
A span with a tag custom-tag1:param1

Result before this PR:
A span with tags custom-tag1:param1 and custom-tag2:param2

Motivation

Customer's reaching out to our support team as only the first @SpanAttribute set was included in the span

Additional Notes

Jira ticket: APMS-16924

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cecile75
Manage multiple SpanAttribute annotations
6518d5c
@cecile75 cecile75 added inst: opentelemetry OpenTelemetry instrumentation type: bug fix Bug fix labels Aug 22, 2025
@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Aug 22, 2025

Copy link
Copy Markdown
Contributor

🎯 Code Coverage
• Patch Coverage: 100.00%
• Total Coverage: 68.77% (+11.18%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 6518d5c | Docs | Was this helpful? Give us feedback!
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pr-commenter

pr-commenter Bot commented Aug 22, 2025

Copy link
Copy Markdown

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master cecile/multiplespanattributes
git_commit_date 1755864261 1755873244
git_commit_sha 0ce85a2 6518d5c
release_version 1.53.0-SNAPSHOT~0ce85a2743 1.53.0-SNAPSHOT~6518d5c919
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1755875208 1755875208
ci_job_id 1094330888 1094330888
ci_pipeline_id 74491654 74491654
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-1-fhulyy9y 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-1-fhulyy9y 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None

Summary

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

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.53.0-SNAPSHOT~6518d5c919, baseline=1.53.0-SNAPSHOT~0ce85a2743

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.057 s) : 0, 1057184
Total [baseline] (8.645 s) : 0, 8645084
Agent [candidate] (1.048 s) : 0, 1048347
Total [candidate] (8.608 s) : 0, 8607611
section iast
Agent [baseline] (1.185 s) : 0, 1185041
Total [baseline] (9.351 s) : 0, 9351417
Agent [candidate] (1.182 s) : 0, 1181822
Total [candidate] (9.426 s) : 0, 9425940
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.057 s -
Agent iast 1.185 s 127.857 ms (12.1%)
Total tracing 8.645 s -
Total iast 9.351 s 706.332 ms (8.2%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.048 s -
Agent iast 1.182 s 133.475 ms (12.7%)
Total tracing 8.608 s -
Total iast 9.426 s 818.328 ms (9.5%)
gantt
    title insecure-bank - break down per module: candidate=1.53.0-SNAPSHOT~6518d5c919, baseline=1.53.0-SNAPSHOT~0ce85a2743

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.473 ms) : 0, 1473
crashtracking [candidate] (1.443 ms) : 0, 1443
BytebuddyAgent [baseline] (740.183 ms) : 0, 740183
BytebuddyAgent [candidate] (732.107 ms) : 0, 732107
GlobalTracer [baseline] (244.656 ms) : 0, 244656
GlobalTracer [candidate] (242.408 ms) : 0, 242408
AppSec [baseline] (30.49 ms) : 0, 30490
AppSec [candidate] (30.257 ms) : 0, 30257
Debugger [baseline] (6.138 ms) : 0, 6138
Debugger [candidate] (6.068 ms) : 0, 6068
Remote Config [baseline] (683.801 µs) : 0, 684
Remote Config [candidate] (664.435 µs) : 0, 664
Telemetry [baseline] (12.402 ms) : 0, 12402
Telemetry [candidate] (14.516 ms) : 0, 14516
section iast
crashtracking [baseline] (1.471 ms) : 0, 1471
crashtracking [candidate] (1.456 ms) : 0, 1456
BytebuddyAgent [baseline] (855.169 ms) : 0, 855169
BytebuddyAgent [candidate] (852.605 ms) : 0, 852605
GlobalTracer [baseline] (233.97 ms) : 0, 233970
GlobalTracer [candidate] (234.739 ms) : 0, 234739
IAST [baseline] (30.679 ms) : 0, 30679
IAST [candidate] (28.684 ms) : 0, 28684
AppSec [baseline] (25.306 ms) : 0, 25306
AppSec [candidate] (27.671 ms) : 0, 27671
Debugger [baseline] (8.442 ms) : 0, 8442
Debugger [candidate] (6.708 ms) : 0, 6708
Remote Config [baseline] (618.963 µs) : 0, 619
Remote Config [candidate] (612.834 µs) : 0, 613
Telemetry [baseline] (8.303 ms) : 0, 8303
Telemetry [candidate] (8.299 ms) : 0, 8299
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.53.0-SNAPSHOT~6518d5c919, baseline=1.53.0-SNAPSHOT~0ce85a2743

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.058 s) : 0, 1057550
Total [baseline] (10.785 s) : 0, 10785494
Agent [candidate] (1.049 s) : 0, 1049212
Total [candidate] (10.703 s) : 0, 10702655
section appsec
Agent [baseline] (1.226 s) : 0, 1225579
Total [baseline] (10.761 s) : 0, 10761091
Agent [candidate] (1.222 s) : 0, 1222055
Total [candidate] (10.764 s) : 0, 10764186
section iast
Agent [baseline] (1.191 s) : 0, 1191308
Total [baseline] (10.894 s) : 0, 10893533
Agent [candidate] (1.18 s) : 0, 1180370
Total [candidate] (10.907 s) : 0, 10906580
section profiling
Agent [baseline] (1.205 s) : 0, 1205491
Total [baseline] (10.978 s) : 0, 10978301
Agent [candidate] (1.211 s) : 0, 1210678
Total [candidate] (10.941 s) : 0, 10941378
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.058 s -
Agent appsec 1.226 s 168.029 ms (15.9%)
Agent iast 1.191 s 133.758 ms (12.6%)
Agent profiling 1.205 s 147.941 ms (14.0%)
Total tracing 10.785 s -
Total appsec 10.761 s -24.403 ms (-0.2%)
Total iast 10.894 s 108.039 ms (1.0%)
Total profiling 10.978 s 192.807 ms (1.8%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.049 s -
Agent appsec 1.222 s 172.843 ms (16.5%)
Agent iast 1.18 s 131.158 ms (12.5%)
Agent profiling 1.211 s 161.466 ms (15.4%)
Total tracing 10.703 s -
Total appsec 10.764 s 61.531 ms (0.6%)
Total iast 10.907 s 203.925 ms (1.9%)
Total profiling 10.941 s 238.723 ms (2.2%)
gantt
    title petclinic - break down per module: candidate=1.53.0-SNAPSHOT~6518d5c919, baseline=1.53.0-SNAPSHOT~0ce85a2743

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.478 ms) : 0, 1478
crashtracking [candidate] (1.462 ms) : 0, 1462
BytebuddyAgent [baseline] (739.041 ms) : 0, 739041
BytebuddyAgent [candidate] (734.638 ms) : 0, 734638
GlobalTracer [baseline] (244.976 ms) : 0, 244976
GlobalTracer [candidate] (242.758 ms) : 0, 242758
AppSec [baseline] (30.779 ms) : 0, 30779
AppSec [candidate] (30.09 ms) : 0, 30090
Debugger [baseline] (6.18 ms) : 0, 6180
Debugger [candidate] (6.064 ms) : 0, 6064
Remote Config [baseline] (694.861 µs) : 0, 695
Remote Config [candidate] (680.345 µs) : 0, 680
Telemetry [baseline] (13.098 ms) : 0, 13098
Telemetry [candidate] (12.291 ms) : 0, 12291
section appsec
crashtracking [baseline] (1.46 ms) : 0, 1460
crashtracking [candidate] (1.451 ms) : 0, 1451
BytebuddyAgent [baseline] (756.643 ms) : 0, 756643
BytebuddyAgent [candidate] (754.406 ms) : 0, 754406
GlobalTracer [baseline] (235.863 ms) : 0, 235863
GlobalTracer [candidate] (234.916 ms) : 0, 234916
AppSec [baseline] (170.282 ms) : 0, 170282
AppSec [candidate] (170.735 ms) : 0, 170735
Debugger [baseline] (7.415 ms) : 0, 7415
Debugger [candidate] (5.725 ms) : 0, 5725
Remote Config [baseline] (648.727 µs) : 0, 649
Remote Config [candidate] (668.503 µs) : 0, 669
Telemetry [baseline] (8.49 ms) : 0, 8490
Telemetry [candidate] (9.304 ms) : 0, 9304
IAST [baseline] (23.632 ms) : 0, 23632
IAST [candidate] (23.701 ms) : 0, 23701
section iast
crashtracking [baseline] (1.467 ms) : 0, 1467
crashtracking [candidate] (1.453 ms) : 0, 1453
BytebuddyAgent [baseline] (860.744 ms) : 0, 860744
BytebuddyAgent [candidate] (851.461 ms) : 0, 851461
GlobalTracer [baseline] (235.042 ms) : 0, 235042
GlobalTracer [candidate] (233.568 ms) : 0, 233568
AppSec [baseline] (25.965 ms) : 0, 25965
AppSec [candidate] (26.714 ms) : 0, 26714
Debugger [baseline] (6.564 ms) : 0, 6564
Debugger [candidate] (6.693 ms) : 0, 6693
Remote Config [baseline] (614.577 µs) : 0, 615
Remote Config [candidate] (592.943 µs) : 0, 593
Telemetry [baseline] (8.315 ms) : 0, 8315
Telemetry [candidate] (8.283 ms) : 0, 8283
IAST [baseline] (31.431 ms) : 0, 31431
IAST [candidate] (30.504 ms) : 0, 30504
section profiling
ProfilingAgent [baseline] (108.938 ms) : 0, 108938
ProfilingAgent [candidate] (110.068 ms) : 0, 110068
crashtracking [baseline] (1.448 ms) : 0, 1448
crashtracking [candidate] (1.472 ms) : 0, 1472
BytebuddyAgent [baseline] (767.394 ms) : 0, 767394
BytebuddyAgent [candidate] (769.581 ms) : 0, 769581
GlobalTracer [baseline] (223.62 ms) : 0, 223620
GlobalTracer [candidate] (225.396 ms) : 0, 225396
AppSec [baseline] (30.372 ms) : 0, 30372
AppSec [candidate] (30.562 ms) : 0, 30562
Debugger [baseline] (7.14 ms) : 0, 7140
Debugger [candidate] (6.406 ms) : 0, 6406
Remote Config [baseline] (703.861 µs) : 0, 704
Remote Config [candidate] (710.375 µs) : 0, 710
Telemetry [baseline] (15.779 ms) : 0, 15779
Telemetry [candidate] (16.04 ms) : 0, 16040
Profiling [baseline] (109.582 ms) : 0, 109582
Profiling [candidate] (110.744 ms) : 0, 110744
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master cecile/multiplespanattributes
git_commit_date 1755864261 1755873244
git_commit_sha 0ce85a2 6518d5c
release_version 1.53.0-SNAPSHOT~0ce85a2743 1.53.0-SNAPSHOT~6518d5c919
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1755875014 1755875014
ci_job_id 1094330890 1094330890
ci_pipeline_id 74491654 74491654
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-2-oakvh1te 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-2-oakvh1te 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

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

scenario Δ mean http_req_duration Δ mean throughput candidate mean http_req_duration candidate mean throughput baseline mean http_req_duration baseline mean throughput
scenario:load:insecure-bank:tracing:high_load worse
[+159.030µs; +388.662µs] or [+2.191%; +5.355%]
unstable
[-98.264op/s; +53.077op/s] or [-15.412%; +8.325%]
7.531ms 615.000op/s 7.258ms 637.594op/s
scenario:load:insecure-bank:no_agent:high_load better
[-275.343µs; -166.651µs] or [-6.198%; -3.752%]
unstable
[-63.217op/s; +170.279op/s] or [-6.117%; +16.476%]
4.221ms 1087.031op/s 4.442ms 1033.500op/s
scenario:load:petclinic:no_agent:high_load worse
[+1.276ms; +1.917ms] or [+3.545%; +5.324%]
unstable
[-14.254op/s; +3.354op/s] or [-10.975%; +2.583%]
37.594ms 124.425op/s 35.997ms 129.875op/s
scenario:load:petclinic:profiling:high_load better
[-2.078ms; -1.077ms] or [-4.255%; -2.205%]
unstable
[-4.078op/s; +10.453op/s] or [-4.255%; +10.907%]
47.260ms 99.025op/s 48.837ms 95.838op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.53.0-SNAPSHOT~6518d5c919, baseline=1.53.0-SNAPSHOT~0ce85a2743
    dateFormat X
    axisFormat %s
section baseline
no_agent (4.442 ms) : 4392, 4493
.   : milestone, 4442,
iast (9.251 ms) : 9093, 9410
.   : milestone, 9251,
iast_FULL (13.969 ms) : 13688, 14251
.   : milestone, 13969,
iast_GLOBAL (9.993 ms) : 9821, 10164
.   : milestone, 9993,
profiling (8.716 ms) : 8573, 8858
.   : milestone, 8716,
tracing (7.258 ms) : 7158, 7357
.   : milestone, 7258,
section candidate
no_agent (4.221 ms) : 4171, 4272
.   : milestone, 4221,
iast (9.347 ms) : 9187, 9508
.   : milestone, 9347,
iast_FULL (14.068 ms) : 13785, 14350
.   : milestone, 14068,
iast_GLOBAL (9.946 ms) : 9776, 10117
.   : milestone, 9946,
profiling (8.775 ms) : 8630, 8920
.   : milestone, 8775,
tracing (7.531 ms) : 7418, 7645
.   : milestone, 7531,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.442 ms [4.392 ms, 4.493 ms] -
iast 9.251 ms [9.093 ms, 9.41 ms] 4.809 ms (108.3%)
iast_FULL 13.969 ms [13.688 ms, 14.251 ms] 9.527 ms (214.5%)
iast_GLOBAL 9.993 ms [9.821 ms, 10.164 ms] 5.551 ms (125.0%)
profiling 8.716 ms [8.573 ms, 8.858 ms] 4.274 ms (96.2%)
tracing 7.258 ms [7.158 ms, 7.357 ms] 2.815 ms (63.4%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.221 ms [4.171 ms, 4.272 ms] -
iast 9.347 ms [9.187 ms, 9.508 ms] 5.126 ms (121.4%)
iast_FULL 14.068 ms [13.785 ms, 14.35 ms] 9.846 ms (233.3%)
iast_GLOBAL 9.946 ms [9.776 ms, 10.117 ms] 5.725 ms (135.6%)
profiling 8.775 ms [8.63 ms, 8.92 ms] 4.554 ms (107.9%)
tracing 7.531 ms [7.418 ms, 7.645 ms] 3.31 ms (78.4%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.53.0-SNAPSHOT~6518d5c919, baseline=1.53.0-SNAPSHOT~0ce85a2743
    dateFormat X
    axisFormat %s
section baseline
no_agent (35.997 ms) : 35713, 36282
.   : milestone, 35997,
appsec (47.02 ms) : 46598, 47443
.   : milestone, 47020,
code_origins (45.613 ms) : 45207, 46019
.   : milestone, 45613,
iast (43.241 ms) : 42880, 43602
.   : milestone, 43241,
profiling (48.837 ms) : 48349, 49325
.   : milestone, 48837,
tracing (43.936 ms) : 43567, 44305
.   : milestone, 43936,
section candidate
no_agent (37.594 ms) : 37283, 37904
.   : milestone, 37594,
appsec (46.428 ms) : 46026, 46830
.   : milestone, 46428,
code_origins (45.744 ms) : 45354, 46135
.   : milestone, 45744,
iast (44.237 ms) : 43851, 44623
.   : milestone, 44237,
profiling (47.26 ms) : 46819, 47701
.   : milestone, 47260,
tracing (44.175 ms) : 43792, 44557
.   : milestone, 44175,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 35.997 ms [35.713 ms, 36.282 ms] -
appsec 47.02 ms [46.598 ms, 47.443 ms] 11.023 ms (30.6%)
code_origins 45.613 ms [45.207 ms, 46.019 ms] 9.616 ms (26.7%)
iast 43.241 ms [42.88 ms, 43.602 ms] 7.244 ms (20.1%)
profiling 48.837 ms [48.349 ms, 49.325 ms] 12.84 ms (35.7%)
tracing 43.936 ms [43.567 ms, 44.305 ms] 7.939 ms (22.1%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 37.594 ms [37.283 ms, 37.904 ms] -
appsec 46.428 ms [46.026 ms, 46.83 ms] 8.834 ms (23.5%)
code_origins 45.744 ms [45.354 ms, 46.135 ms] 8.151 ms (21.7%)
iast 44.237 ms [43.851 ms, 44.623 ms] 6.644 ms (17.7%)
profiling 47.26 ms [46.819 ms, 47.701 ms] 9.666 ms (25.7%)
tracing 44.175 ms [43.792 ms, 44.557 ms] 6.581 ms (17.5%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master cecile/multiplespanattributes
git_commit_date 1755864261 1755873244
git_commit_sha 0ce85a2 6518d5c
release_version 1.53.0-SNAPSHOT~0ce85a2743 1.53.0-SNAPSHOT~6518d5c919
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1755875578 1755875578
ci_job_id 1094330892 1094330892
ci_pipeline_id 74491654 74491654
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-awyk8cst 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-awyk8cst 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

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

Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.53.0-SNAPSHOT~6518d5c919, baseline=1.53.0-SNAPSHOT~0ce85a2743
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.952 s) : 14952000, 14952000
.   : milestone, 14952000,
appsec (14.993 s) : 14993000, 14993000
.   : milestone, 14993000,
iast (18.298 s) : 18298000, 18298000
.   : milestone, 18298000,
iast_GLOBAL (18.266 s) : 18266000, 18266000
.   : milestone, 18266000,
profiling (15.904 s) : 15904000, 15904000
.   : milestone, 15904000,
tracing (15.013 s) : 15013000, 15013000
.   : milestone, 15013000,
section candidate
no_agent (15.429 s) : 15429000, 15429000
.   : milestone, 15429000,
appsec (14.915 s) : 14915000, 14915000
.   : milestone, 14915000,
iast (18.372 s) : 18372000, 18372000
.   : milestone, 18372000,
iast_GLOBAL (17.713 s) : 17713000, 17713000
.   : milestone, 17713000,
profiling (15.412 s) : 15412000, 15412000
.   : milestone, 15412000,
tracing (14.747 s) : 14747000, 14747000
.   : milestone, 14747000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.952 s [14.952 s, 14.952 s] -
appsec 14.993 s [14.993 s, 14.993 s] 41.0 ms (0.3%)
iast 18.298 s [18.298 s, 18.298 s] 3.346 s (22.4%)
iast_GLOBAL 18.266 s [18.266 s, 18.266 s] 3.314 s (22.2%)
profiling 15.904 s [15.904 s, 15.904 s] 952.0 ms (6.4%)
tracing 15.013 s [15.013 s, 15.013 s] 61.0 ms (0.4%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.429 s [15.429 s, 15.429 s] -
appsec 14.915 s [14.915 s, 14.915 s] -514.0 ms (-3.3%)
iast 18.372 s [18.372 s, 18.372 s] 2.943 s (19.1%)
iast_GLOBAL 17.713 s [17.713 s, 17.713 s] 2.284 s (14.8%)
profiling 15.412 s [15.412 s, 15.412 s] -17.0 ms (-0.1%)
tracing 14.747 s [14.747 s, 14.747 s] -682.0 ms (-4.4%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.53.0-SNAPSHOT~6518d5c919, baseline=1.53.0-SNAPSHOT~0ce85a2743
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.469 ms) : 1458, 1481
.   : milestone, 1469,
appsec (3.667 ms) : 3449, 3885
.   : milestone, 3667,
iast (2.196 ms) : 2132, 2259
.   : milestone, 2196,
iast_GLOBAL (2.244 ms) : 2181, 2308
.   : milestone, 2244,
profiling (2.059 ms) : 2007, 2112
.   : milestone, 2059,
tracing (2.015 ms) : 1966, 2065
.   : milestone, 2015,
section candidate
no_agent (1.472 ms) : 1460, 1483
.   : milestone, 1472,
appsec (3.633 ms) : 3417, 3849
.   : milestone, 3633,
iast (2.188 ms) : 2125, 2251
.   : milestone, 2188,
iast_GLOBAL (2.246 ms) : 2182, 2309
.   : milestone, 2246,
profiling (2.058 ms) : 2006, 2110
.   : milestone, 2058,
tracing (2.03 ms) : 1980, 2080
.   : milestone, 2030,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.469 ms [1.458 ms, 1.481 ms] -
appsec 3.667 ms [3.449 ms, 3.885 ms] 2.198 ms (149.6%)
iast 2.196 ms [2.132 ms, 2.259 ms] 726.358 µs (49.4%)
iast_GLOBAL 2.244 ms [2.181 ms, 2.308 ms] 775.13 µs (52.8%)
profiling 2.059 ms [2.007 ms, 2.112 ms] 590.068 µs (40.2%)
tracing 2.015 ms [1.966 ms, 2.065 ms] 546.095 µs (37.2%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.472 ms [1.46 ms, 1.483 ms] -
appsec 3.633 ms [3.417 ms, 3.849 ms] 2.162 ms (146.9%)
iast 2.188 ms [2.125 ms, 2.251 ms] 716.368 µs (48.7%)
iast_GLOBAL 2.246 ms [2.182 ms, 2.309 ms] 773.916 µs (52.6%)
profiling 2.058 ms [2.006 ms, 2.11 ms] 586.365 µs (39.8%)
tracing 2.03 ms [1.98 ms, 2.08 ms] 558.025 µs (37.9%)
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cecile75
cecile75 marked this pull request as ready for review August 22, 2025 15:19
@cecile75
cecile75 requested a review from a team as a code owner August 22, 2025 15:19
mhlidd
mhlidd approved these changes Aug 22, 2025
View reviewed changes
mcculls
mcculls approved these changes Aug 22, 2025
View reviewed changes
@cecile75
cecile75 merged commit da2930a into master Aug 22, 2025
@cecile75
cecile75 deleted the cecile/multiplespanattributes branch August 22, 2025 19:48
@github-actions github-actions Bot added this to the 1.53.0 milestone Aug 22, 2025
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Sep 4, 2025
@github-cash-renovate-jvm @svc-squareup-copybara
This PR contains the following updates:
4dfd061
| 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.52.1` -> `1.53.0` |

---

### Release Notes

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

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

### Components

#### Application Security Management (WAF)

- 🐛 Fix NullPointerException log in AppSec
([#&#8203;9355](DataDog/dd-trace-java#9355) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Add Forwarded header as a source to client IP resolution
([#&#8203;9310](DataDog/dd-trace-java#9310) -
[@&#8203;jandro996](https://github.com/jandro996))

#### Build & Tooling

- 📖 Update CODEOWNERS
([#&#8203;9294](DataDog/dd-trace-java#9294) -
[@&#8203;mhlidd](https://github.com/mhlidd))
- ✨ Add dependency on Maven Central deployment to OCI publish
jobs
([#&#8203;9204](DataDog/dd-trace-java#9204) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))

#### Continuous Integration Visibility

- ✨ Upload code coverage reports to Datadog
([#&#8203;9425](DataDog/dd-trace-java#9425) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨⚡ Do not follow symlinks by default when building
repository index
([#&#8203;9318](DataDog/dd-trace-java#9318) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨ Improve tag propagation between test event levels
([#&#8203;9278](DataDog/dd-trace-java#9278) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))

#### Data Streams Monitoring

- ✨ Create container hash tags propagation
([#&#8203;9282](DataDog/dd-trace-java#9282) -
[@&#8203;ygree](https://github.com/ygree))

#### Database Monitoring

- 🐛 Prevent crash in SQL Server's JDBC when tracing execute methods
with generated keys
([#&#8203;9321](DataDog/dd-trace-java#9321) -
[@&#8203;na-ji](https://github.com/na-ji))
- ✨ Create container hash tags propagation
([#&#8203;9282](DataDog/dd-trace-java#9282) -
[@&#8203;ygree](https://github.com/ygree))

#### GraalVM native-image

- 🐛 Update GraalVM config to reflect TempLocationManager's new
package
([#&#8203;9337](DataDog/dd-trace-java#9337) -
[@&#8203;luneo7](https://github.com/luneo7) - thanks for the
contribution!)

#### Metrics

- 🐛 Add reflect config for CSS and graalvm
([#&#8203;9449](DataDog/dd-trace-java#9449) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Align CSS health metrics
([#&#8203;9444](DataDog/dd-trace-java#9444) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Aggregate peer tags for consumer span kind
([#&#8203;9442](DataDog/dd-trace-java#9442) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Implement health metrics for client stats
([#&#8203;9377](DataDog/dd-trace-java#9377) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Add peer tags, span kind and trace root flag to MetricKey
bucket
([#&#8203;9178](DataDog/dd-trace-java#9178) -
[@&#8203;bric3](https://github.com/bric3))

#### Profiling

- ✨ Create a profile flare reporter (requires tracing or CI vis
to be enabled)
([#&#8203;9433](DataDog/dd-trace-java#9433) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- 🐛 Properly fall-back on UDS profiling URL
([#&#8203;9401](DataDog/dd-trace-java#9401) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- 🐛 Properly handle trace agent IPv6 URL in profiling
([#&#8203;9334](DataDog/dd-trace-java#9334) -
[@&#8203;jbachorik](https://github.com/jbachorik))

#### Realtime User Monitoring

- 🐛 Avoid multiple injections on dispatch on jboss
([#&#8203;9392](DataDog/dd-trace-java#9392) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Support async servlet for RUM injection
([#&#8203;9333](DataDog/dd-trace-java#9333) -
[@&#8203;amarziali](https://github.com/amarziali))
- 🐛 Improve RUM injection matching and avoid truncating responses
([#&#8203;9323](DataDog/dd-trace-java#9323) -
[@&#8203;amarziali](https://github.com/amarziali))
- 💡 Add telemetry for the RUM injector
([#&#8203;9267](DataDog/dd-trace-java#9267) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))
- ✨ Make rum injector stream/writer more resilient to errors
([#&#8203;9184](DataDog/dd-trace-java#9184) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Telemetry

- 🐛 Remediate error logs
([#&#8203;9459](DataDog/dd-trace-java#9459) -
[@&#8203;ygree](https://github.com/ygree))
- ✨ Report config\_id for Hands Off Config files
([#&#8203;9299](DataDog/dd-trace-java#9299) -
[@&#8203;mtoffl01](https://github.com/mtoffl01))
- ✨ Adding Config Inversion Telemetry component
([#&#8203;9244](DataDog/dd-trace-java#9244) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### Trace context propagation

- 🧹 Migrate instrumentations to Context API
([#&#8203;9384](DataDog/dd-trace-java#9384),
[#&#8203;9378](DataDog/dd-trace-java#9378),
[#&#8203;9358](DataDog/dd-trace-java#9358) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- ✨🔍 Add baggage propagation telemetry
([#&#8203;9289](DataDog/dd-trace-java#9289) -
[@&#8203;rachelyangdog](https://github.com/rachelyangdog))
- 🧹 Improve Instrumenter API to use Context instead of Span
([#&#8203;9211](DataDog/dd-trace-java#9211) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Tracer core

- 💡:test\_tube: Enable process level tags for java 21 applications
([#&#8203;9458](DataDog/dd-trace-java#9458) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Move base and peer service adder before span is published
([#&#8203;9408](DataDog/dd-trace-java#9408) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Add ErrorPriorities level for manual instrumentation
([#&#8203;9387](DataDog/dd-trace-java#9387) -
[@&#8203;cecile75](https://github.com/cecile75))
- ✨ Throw InvalidBooleanValueException in
ConfigConverter.booleanValueOf
([#&#8203;9370](DataDog/dd-trace-java#9370) -
[@&#8203;mtoffl01](https://github.com/mtoffl01))
- 🐛 Avoid NPE on featureDiscovery creation
([#&#8203;9353](DataDog/dd-trace-java#9353) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Stable Config improvements
([#&#8203;9259](DataDog/dd-trace-java#9259) -
[@&#8203;mtoffl01](https://github.com/mtoffl01))

### Instrumentations

#### gRPC instrumentation

- 🐛 Changing GRPC instrumentation codes from `status.code` to
`grpc.status.code`
([#&#8203;9367](DataDog/dd-trace-java#9367) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### JDBC instrumentation

- 🐛 Prevent crash in SQL Server's JDBC when tracing execute methods
with generated keys
([#&#8203;9321](DataDog/dd-trace-java#9321) -
[@&#8203;na-ji](https://github.com/na-ji))

#### Kotlin instrumentation

- 🐛 Take defensive copy of original scope stack when restoring on
different thread
([#&#8203;9403](DataDog/dd-trace-java#9403) -
[@&#8203;mcculls](https://github.com/mcculls))

#### OpenTelemetry instrumentation

- 🐛 Fix using SpanAttribute annotation on multiple parameters
([#&#8203;9412](DataDog/dd-trace-java#9412) -
[@&#8203;cecile75](https://github.com/cecile75))

</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: e23ec866cef91afc6b5226d5f0dc7da538d947e8
eizus pushed a commit to cdrxyz/misk that referenced this pull request Jul 18, 2026
@github-cash-renovate-jvm @svc-squareup-copybara
This PR contains the following updates:
4253c95
| 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.52.1` -> `1.53.0` |

---

### Release Notes

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

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

### Components

#### Application Security Management (WAF)

- 🐛 Fix NullPointerException log in AppSec
([#&#8203;9355](DataDog/dd-trace-java#9355) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Add Forwarded header as a source to client IP resolution
([#&#8203;9310](DataDog/dd-trace-java#9310) -
[@&#8203;jandro996](https://github.com/jandro996))

#### Build & Tooling

- 📖 Update CODEOWNERS
([#&#8203;9294](DataDog/dd-trace-java#9294) -
[@&#8203;mhlidd](https://github.com/mhlidd))
- ✨ Add dependency on Maven Central deployment to OCI publish
jobs
([#&#8203;9204](DataDog/dd-trace-java#9204) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))

#### Continuous Integration Visibility

- ✨ Upload code coverage reports to Datadog
([#&#8203;9425](DataDog/dd-trace-java#9425) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨⚡ Do not follow symlinks by default when building
repository index
([#&#8203;9318](DataDog/dd-trace-java#9318) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨ Improve tag propagation between test event levels
([#&#8203;9278](DataDog/dd-trace-java#9278) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))

#### Data Streams Monitoring

- ✨ Create container hash tags propagation
([#&#8203;9282](DataDog/dd-trace-java#9282) -
[@&#8203;ygree](https://github.com/ygree))

#### Database Monitoring

- 🐛 Prevent crash in SQL Server's JDBC when tracing execute methods
with generated keys
([#&#8203;9321](DataDog/dd-trace-java#9321) -
[@&#8203;na-ji](https://github.com/na-ji))
- ✨ Create container hash tags propagation
([#&#8203;9282](DataDog/dd-trace-java#9282) -
[@&#8203;ygree](https://github.com/ygree))

#### GraalVM native-image

- 🐛 Update GraalVM config to reflect TempLocationManager's new
package
([#&#8203;9337](DataDog/dd-trace-java#9337) -
[@&#8203;luneo7](https://github.com/luneo7) - thanks for the
contribution!)

#### Metrics

- 🐛 Add reflect config for CSS and graalvm
([#&#8203;9449](DataDog/dd-trace-java#9449) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Align CSS health metrics
([#&#8203;9444](DataDog/dd-trace-java#9444) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Aggregate peer tags for consumer span kind
([#&#8203;9442](DataDog/dd-trace-java#9442) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Implement health metrics for client stats
([#&#8203;9377](DataDog/dd-trace-java#9377) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Add peer tags, span kind and trace root flag to MetricKey
bucket
([#&#8203;9178](DataDog/dd-trace-java#9178) -
[@&#8203;bric3](https://github.com/bric3))

#### Profiling

- ✨ Create a profile flare reporter (requires tracing or CI vis
to be enabled)
([#&#8203;9433](DataDog/dd-trace-java#9433) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- 🐛 Properly fall-back on UDS profiling URL
([#&#8203;9401](DataDog/dd-trace-java#9401) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- 🐛 Properly handle trace agent IPv6 URL in profiling
([#&#8203;9334](DataDog/dd-trace-java#9334) -
[@&#8203;jbachorik](https://github.com/jbachorik))

#### Realtime User Monitoring

- 🐛 Avoid multiple injections on dispatch on jboss
([#&#8203;9392](DataDog/dd-trace-java#9392) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Support async servlet for RUM injection
([#&#8203;9333](DataDog/dd-trace-java#9333) -
[@&#8203;amarziali](https://github.com/amarziali))
- 🐛 Improve RUM injection matching and avoid truncating responses
([#&#8203;9323](DataDog/dd-trace-java#9323) -
[@&#8203;amarziali](https://github.com/amarziali))
- 💡 Add telemetry for the RUM injector
([#&#8203;9267](DataDog/dd-trace-java#9267) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))
- ✨ Make rum injector stream/writer more resilient to errors
([#&#8203;9184](DataDog/dd-trace-java#9184) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Telemetry

- 🐛 Remediate error logs
([#&#8203;9459](DataDog/dd-trace-java#9459) -
[@&#8203;ygree](https://github.com/ygree))
- ✨ Report config\_id for Hands Off Config files
([#&#8203;9299](DataDog/dd-trace-java#9299) -
[@&#8203;mtoffl01](https://github.com/mtoffl01))
- ✨ Adding Config Inversion Telemetry component
([#&#8203;9244](DataDog/dd-trace-java#9244) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### Trace context propagation

- 🧹 Migrate instrumentations to Context API
([#&#8203;9384](DataDog/dd-trace-java#9384),
[#&#8203;9378](DataDog/dd-trace-java#9378),
[#&#8203;9358](DataDog/dd-trace-java#9358) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- ✨🔍 Add baggage propagation telemetry
([#&#8203;9289](DataDog/dd-trace-java#9289) -
[@&#8203;rachelyangdog](https://github.com/rachelyangdog))
- 🧹 Improve Instrumenter API to use Context instead of Span
([#&#8203;9211](DataDog/dd-trace-java#9211) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Tracer core

- 💡:test\_tube: Enable process level tags for java 21 applications
([#&#8203;9458](DataDog/dd-trace-java#9458) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Move base and peer service adder before span is published
([#&#8203;9408](DataDog/dd-trace-java#9408) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Add ErrorPriorities level for manual instrumentation
([#&#8203;9387](DataDog/dd-trace-java#9387) -
[@&#8203;cecile75](https://github.com/cecile75))
- ✨ Throw InvalidBooleanValueException in
ConfigConverter.booleanValueOf
([#&#8203;9370](DataDog/dd-trace-java#9370) -
[@&#8203;mtoffl01](https://github.com/mtoffl01))
- 🐛 Avoid NPE on featureDiscovery creation
([#&#8203;9353](DataDog/dd-trace-java#9353) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Stable Config improvements
([#&#8203;9259](DataDog/dd-trace-java#9259) -
[@&#8203;mtoffl01](https://github.com/mtoffl01))

### Instrumentations

#### gRPC instrumentation

- 🐛 Changing GRPC instrumentation codes from `status.code` to
`grpc.status.code`
([#&#8203;9367](DataDog/dd-trace-java#9367) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### JDBC instrumentation

- 🐛 Prevent crash in SQL Server's JDBC when tracing execute methods
with generated keys
([#&#8203;9321](DataDog/dd-trace-java#9321) -
[@&#8203;na-ji](https://github.com/na-ji))

#### Kotlin instrumentation

- 🐛 Take defensive copy of original scope stack when restoring on
different thread
([#&#8203;9403](DataDog/dd-trace-java#9403) -
[@&#8203;mcculls](https://github.com/mcculls))

#### OpenTelemetry instrumentation

- 🐛 Fix using SpanAttribute annotation on multiple parameters
([#&#8203;9412](DataDog/dd-trace-java#9412) -
[@&#8203;cecile75](https://github.com/cecile75))

</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: e23ec866cef91afc6b5226d5f0dc7da538d947e8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@mcculls mcculls mcculls approved these changes
@mhlidd mhlidd mhlidd approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

inst: opentelemetry OpenTelemetry instrumentation type: bug fix Bug fix

Projects

None yet

Milestone

1.53.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@cecile75 @mcculls @mhlidd
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.