Skip to content

Conversation

mhlidd
Copy link
Contributor

@mhlidd mhlidd commented Jun 30, 2025

What Does This Do

Adds support for feature request to allow "wildcard" in DD_TRACE_HEADER_TAGS to set all headers as span tags. This PR enables this feature for only Http response headers. Modifications are made in handing the header tags to allow for the * character, and also in the handing of response headers to potentially set them as tags. Note: If the wildcard is used, all other mappings are discarded.

Motivation

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@pr-commenter
Copy link

pr-commenter bot commented Jun 30, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master mhlidd/update_trace_header_tags
git_commit_date 1751472328 1751483264
git_commit_sha 0c891b7 61ad64f
release_version 1.51.0-SNAPSHOT~0c891b79c1 1.51.0-SNAPSHOT~61ad64f1cf
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1751485155 1751485155
ci_job_id 1010867790 1010867790
ci_pipeline_id 69487517 69487517
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-quixwkwb-project-304-concurrent-0-7ooli3zo 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-quixwkwb-project-304-concurrent-0-7ooli3zo 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 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 44 metrics, 9 unstable metrics.

Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.51.0-SNAPSHOT~61ad64f1cf, baseline=1.51.0-SNAPSHOT~0c891b79c1

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.002 s) : 0, 1001912
Total [baseline] (10.652 s) : 0, 10651757
Agent [candidate] (994.265 ms) : 0, 994265
Total [candidate] (10.627 s) : 0, 10627039
section appsec
Agent [baseline] (1.175 s) : 0, 1175111
Total [baseline] (10.697 s) : 0, 10697158
Agent [candidate] (1.176 s) : 0, 1175604
Total [candidate] (10.7 s) : 0, 10700298
section iast
Agent [baseline] (1.133 s) : 0, 1132568
Total [baseline] (10.809 s) : 0, 10809075
Agent [candidate] (1.14 s) : 0, 1139777
Total [candidate] (10.782 s) : 0, 10782349
section profiling
Agent [baseline] (1.244 s) : 0, 1243655
Total [baseline] (10.932 s) : 0, 10932382
Agent [candidate] (1.263 s) : 0, 1262542
Total [candidate] (11.026 s) : 0, 11026234
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.002 s -
Agent appsec 1.175 s 173.199 ms (17.3%)
Agent iast 1.133 s 130.656 ms (13.0%)
Agent profiling 1.244 s 241.743 ms (24.1%)
Total tracing 10.652 s -
Total appsec 10.697 s 45.4 ms (0.4%)
Total iast 10.809 s 157.318 ms (1.5%)
Total profiling 10.932 s 280.624 ms (2.6%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 994.265 ms -
Agent appsec 1.176 s 181.339 ms (18.2%)
Agent iast 1.14 s 145.512 ms (14.6%)
Agent profiling 1.263 s 268.277 ms (27.0%)
Total tracing 10.627 s -
Total appsec 10.7 s 73.259 ms (0.7%)
Total iast 10.782 s 155.311 ms (1.5%)
Total profiling 11.026 s 399.195 ms (3.8%)
gantt
    title petclinic - break down per module: candidate=1.51.0-SNAPSHOT~61ad64f1cf, baseline=1.51.0-SNAPSHOT~0c891b79c1

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (692.142 ms) : 0, 692142
BytebuddyAgent [candidate] (686.963 ms) : 0, 686963
GlobalTracer [baseline] (243.243 ms) : 0, 243243
GlobalTracer [candidate] (241.593 ms) : 0, 241593
AppSec [baseline] (30.662 ms) : 0, 30662
AppSec [candidate] (30.11 ms) : 0, 30110
Debugger [baseline] (6.093 ms) : 0, 6093
Debugger [candidate] (6.017 ms) : 0, 6017
Remote Config [baseline] (686.373 µs) : 0, 686
Remote Config [candidate] (665.825 µs) : 0, 666
Telemetry [baseline] (8.264 ms) : 0, 8264
Telemetry [candidate] (8.157 ms) : 0, 8157
section appsec
BytebuddyAgent [baseline] (710.959 ms) : 0, 710959
BytebuddyAgent [candidate] (711.44 ms) : 0, 711440
GlobalTracer [baseline] (235.709 ms) : 0, 235709
GlobalTracer [candidate] (235.638 ms) : 0, 235638
IAST [baseline] (22.06 ms) : 0, 22060
IAST [candidate] (22.294 ms) : 0, 22294
AppSec [baseline] (170.991 ms) : 0, 170991
AppSec [candidate] (171.033 ms) : 0, 171033
Debugger [baseline] (5.803 ms) : 0, 5803
Debugger [candidate] (5.776 ms) : 0, 5776
Remote Config [baseline] (622.673 µs) : 0, 623
Remote Config [candidate] (603.218 µs) : 0, 603
Telemetry [baseline] (8.135 ms) : 0, 8135
Telemetry [candidate] (8.067 ms) : 0, 8067
section iast
BytebuddyAgent [baseline] (808.668 ms) : 0, 808668
BytebuddyAgent [candidate] (814.319 ms) : 0, 814319
GlobalTracer [baseline] (232.802 ms) : 0, 232802
GlobalTracer [candidate] (234.634 ms) : 0, 234634
IAST [baseline] (29.482 ms) : 0, 29482
IAST [candidate] (28.116 ms) : 0, 28116
AppSec [baseline] (26.258 ms) : 0, 26258
AppSec [candidate] (27.502 ms) : 0, 27502
Debugger [baseline] (5.926 ms) : 0, 5926
Debugger [candidate] (5.832 ms) : 0, 5832
Remote Config [baseline] (591.892 µs) : 0, 592
Remote Config [candidate] (588.629 µs) : 0, 589
Telemetry [baseline] (8.048 ms) : 0, 8048
Telemetry [candidate] (7.929 ms) : 0, 7929
section profiling
BytebuddyAgent [baseline] (678.599 ms) : 0, 678599
BytebuddyAgent [candidate] (690.39 ms) : 0, 690390
GlobalTracer [baseline] (361.133 ms) : 0, 361133
GlobalTracer [candidate] (365.3 ms) : 0, 365300
AppSec [baseline] (33.552 ms) : 0, 33552
AppSec [candidate] (32.058 ms) : 0, 32058
Debugger [baseline] (10.517 ms) : 0, 10517
Debugger [candidate] (9.958 ms) : 0, 9958
Remote Config [baseline] (672.091 µs) : 0, 672
Remote Config [candidate] (698.38 µs) : 0, 698
Telemetry [baseline] (7.963 ms) : 0, 7963
Telemetry [candidate] (10.341 ms) : 0, 10341
ProfilingAgent [baseline] (102.752 ms) : 0, 102752
ProfilingAgent [candidate] (104.479 ms) : 0, 104479
Profiling [baseline] (102.777 ms) : 0, 102777
Profiling [candidate] (104.504 ms) : 0, 104504
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.51.0-SNAPSHOT~61ad64f1cf, baseline=1.51.0-SNAPSHOT~0c891b79c1

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (996.512 ms) : 0, 996512
Total [baseline] (8.599 s) : 0, 8599025
Agent [candidate] (1.002 s) : 0, 1002458
Total [candidate] (8.542 s) : 0, 8541570
section iast
Agent [baseline] (1.134 s) : 0, 1133940
Total [baseline] (9.274 s) : 0, 9273860
Agent [candidate] (1.14 s) : 0, 1139545
Total [candidate] (9.287 s) : 0, 9287402
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 996.512 ms -
Agent iast 1.134 s 137.428 ms (13.8%)
Total tracing 8.599 s -
Total iast 9.274 s 674.835 ms (7.8%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.002 s -
Agent iast 1.14 s 137.087 ms (13.7%)
Total tracing 8.542 s -
Total iast 9.287 s 745.832 ms (8.7%)
gantt
    title insecure-bank - break down per module: candidate=1.51.0-SNAPSHOT~61ad64f1cf, baseline=1.51.0-SNAPSHOT~0c891b79c1

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (688.361 ms) : 0, 688361
BytebuddyAgent [candidate] (692.633 ms) : 0, 692633
GlobalTracer [baseline] (242.007 ms) : 0, 242007
GlobalTracer [candidate] (243.292 ms) : 0, 243292
AppSec [baseline] (30.447 ms) : 0, 30447
AppSec [candidate] (30.609 ms) : 0, 30609
Debugger [baseline] (6.053 ms) : 0, 6053
Debugger [candidate] (6.073 ms) : 0, 6073
Remote Config [baseline] (681.309 µs) : 0, 681
Remote Config [candidate] (686.446 µs) : 0, 686
Telemetry [baseline] (8.188 ms) : 0, 8188
Telemetry [candidate] (8.273 ms) : 0, 8273
section iast
BytebuddyAgent [baseline] (809.68 ms) : 0, 809680
BytebuddyAgent [candidate] (814.356 ms) : 0, 814356
GlobalTracer [baseline] (233.059 ms) : 0, 233059
GlobalTracer [candidate] (233.815 ms) : 0, 233815
IAST [baseline] (25.637 ms) : 0, 25637
IAST [candidate] (24.925 ms) : 0, 24925
AppSec [baseline] (30.397 ms) : 0, 30397
AppSec [candidate] (31.156 ms) : 0, 31156
Debugger [baseline] (5.847 ms) : 0, 5847
Debugger [candidate] (5.833 ms) : 0, 5833
Remote Config [baseline] (588.992 µs) : 0, 589
Remote Config [candidate] (586.663 µs) : 0, 587
Telemetry [baseline] (7.961 ms) : 0, 7961
Telemetry [candidate] (8.009 ms) : 0, 8009
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master mhlidd/update_trace_header_tags
git_commit_date 1751472328 1751483264
git_commit_sha 0c891b7 61ad64f
release_version 1.51.0-SNAPSHOT~0c891b79c1 1.51.0-SNAPSHOT~61ad64f1cf
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1751484722 1751484722
ci_job_id 1010867791 1010867791
ci_pipeline_id 69487517 69487517
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-519kcdbq-project-304-concurrent-0-n5f7c8pk 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-519kcdbq-project-304-concurrent-0-n5f7c8pk 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 2 performance improvements and 1 performance regressions! Performance is the same for 9 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:petclinic:tracing:high_load better
[-2.019ms; -1.224ms] or [-4.566%; -2.769%]
unstable
[-3.503op/s; +11.528op/s] or [-3.313%; +10.900%]
42.600ms 109.775op/s 44.222ms 105.763op/s
scenario:load:petclinic:appsec:high_load worse
[+2.970ms; +3.936ms] or [+6.417%; +8.503%]
unstable
[-14.058op/s; -0.067op/s] or [-13.899%; -0.067%]
49.745ms 94.075op/s 46.292ms 101.138op/s
scenario:load:petclinic:code_origins:high_load better
[-3.076ms; -2.235ms] or [-6.575%; -4.778%]
unstable
[-0.988op/s; +12.988op/s] or [-0.988%; +12.990%]
44.130ms 105.987op/s 46.785ms 99.987op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.51.0-SNAPSHOT~61ad64f1cf, baseline=1.51.0-SNAPSHOT~0c891b79c1
    dateFormat X
    axisFormat %s
section baseline
no_agent (4.4 ms) : 4351, 4449
.   : milestone, 4400,
iast (9.206 ms) : 9056, 9355
.   : milestone, 9206,
iast_FULL (13.876 ms) : 13601, 14151
.   : milestone, 13876,
iast_GLOBAL (10.451 ms) : 10268, 10634
.   : milestone, 10451,
profiling (8.723 ms) : 8593, 8854
.   : milestone, 8723,
tracing (7.868 ms) : 7758, 7978
.   : milestone, 7868,
section candidate
no_agent (4.33 ms) : 4277, 4383
.   : milestone, 4330,
iast (9.283 ms) : 9128, 9437
.   : milestone, 9283,
iast_FULL (14.255 ms) : 13967, 14542
.   : milestone, 14255,
iast_GLOBAL (10.316 ms) : 10129, 10502
.   : milestone, 10316,
profiling (8.885 ms) : 8740, 9030
.   : milestone, 8885,
tracing (8.008 ms) : 7889, 8128
.   : milestone, 8008,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.4 ms [4.351 ms, 4.449 ms] -
iast 9.206 ms [9.056 ms, 9.355 ms] 4.806 ms (109.2%)
iast_FULL 13.876 ms [13.601 ms, 14.151 ms] 9.476 ms (215.4%)
iast_GLOBAL 10.451 ms [10.268 ms, 10.634 ms] 6.05 ms (137.5%)
profiling 8.723 ms [8.593 ms, 8.854 ms] 4.323 ms (98.3%)
tracing 7.868 ms [7.758 ms, 7.978 ms] 3.468 ms (78.8%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.33 ms [4.277 ms, 4.383 ms] -
iast 9.283 ms [9.128 ms, 9.437 ms] 4.953 ms (114.4%)
iast_FULL 14.255 ms [13.967 ms, 14.542 ms] 9.925 ms (229.2%)
iast_GLOBAL 10.316 ms [10.129 ms, 10.502 ms] 5.986 ms (138.3%)
profiling 8.885 ms [8.74 ms, 9.03 ms] 4.556 ms (105.2%)
tracing 8.008 ms [7.889 ms, 8.128 ms] 3.679 ms (85.0%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.51.0-SNAPSHOT~61ad64f1cf, baseline=1.51.0-SNAPSHOT~0c891b79c1
    dateFormat X
    axisFormat %s
section baseline
no_agent (38.149 ms) : 37846, 38453
.   : milestone, 38149,
appsec (46.292 ms) : 45864, 46719
.   : milestone, 46292,
code_origins (46.785 ms) : 46382, 47189
.   : milestone, 46785,
iast (44.947 ms) : 44548, 45346
.   : milestone, 44947,
profiling (49.237 ms) : 48744, 49729
.   : milestone, 49237,
tracing (44.222 ms) : 43841, 44603
.   : milestone, 44222,
section candidate
no_agent (38.665 ms) : 38353, 38977
.   : milestone, 38665,
appsec (49.745 ms) : 49276, 50214
.   : milestone, 49745,
code_origins (44.13 ms) : 43753, 44507
.   : milestone, 44130,
iast (44.088 ms) : 43698, 44479
.   : milestone, 44088,
profiling (48.62 ms) : 48149, 49091
.   : milestone, 48620,
tracing (42.6 ms) : 42243, 42958
.   : milestone, 42600,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 38.149 ms [37.846 ms, 38.453 ms] -
appsec 46.292 ms [45.864 ms, 46.719 ms] 8.142 ms (21.3%)
code_origins 46.785 ms [46.382 ms, 47.189 ms] 8.636 ms (22.6%)
iast 44.947 ms [44.548 ms, 45.346 ms] 6.798 ms (17.8%)
profiling 49.237 ms [48.744 ms, 49.729 ms] 11.087 ms (29.1%)
tracing 44.222 ms [43.841 ms, 44.603 ms] 6.073 ms (15.9%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 38.665 ms [38.353 ms, 38.977 ms] -
appsec 49.745 ms [49.276 ms, 50.214 ms] 11.08 ms (28.7%)
code_origins 44.13 ms [43.753 ms, 44.507 ms] 5.465 ms (14.1%)
iast 44.088 ms [43.698 ms, 44.479 ms] 5.424 ms (14.0%)
profiling 48.62 ms [48.149 ms, 49.091 ms] 9.955 ms (25.7%)
tracing 42.6 ms [42.243 ms, 42.958 ms] 3.936 ms (10.2%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master mhlidd/update_trace_header_tags
git_commit_date 1751472328 1751483264
git_commit_sha 0c891b7 61ad64f
release_version 1.51.0-SNAPSHOT~0c891b79c1 1.51.0-SNAPSHOT~61ad64f1cf
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1751485323 1751485323
ci_job_id 1010867792 1010867792
ci_pipeline_id 69487517 69487517
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-quixwkwb-project-304-concurrent-1-5qtb3zvs 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-quixwkwb-project-304-concurrent-1-5qtb3zvs 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 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 tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.51.0-SNAPSHOT~61ad64f1cf, baseline=1.51.0-SNAPSHOT~0c891b79c1
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.477 ms) : 1465, 1488
.   : milestone, 1477,
appsec (2.396 ms) : 2347, 2444
.   : milestone, 2396,
iast (2.184 ms) : 2122, 2246
.   : milestone, 2184,
iast_GLOBAL (2.218 ms) : 2156, 2280
.   : milestone, 2218,
profiling (2.036 ms) : 1985, 2087
.   : milestone, 2036,
tracing (2.007 ms) : 1959, 2055
.   : milestone, 2007,
section candidate
no_agent (1.476 ms) : 1464, 1487
.   : milestone, 1476,
appsec (2.389 ms) : 2340, 2438
.   : milestone, 2389,
iast (2.169 ms) : 2107, 2230
.   : milestone, 2169,
iast_GLOBAL (2.224 ms) : 2162, 2286
.   : milestone, 2224,
profiling (2.459 ms) : 2237, 2681
.   : milestone, 2459,
tracing (1.999 ms) : 1951, 2047
.   : milestone, 1999,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.477 ms [1.465 ms, 1.488 ms] -
appsec 2.396 ms [2.347 ms, 2.444 ms] 918.745 µs (62.2%)
iast 2.184 ms [2.122 ms, 2.246 ms] 707.251 µs (47.9%)
iast_GLOBAL 2.218 ms [2.156 ms, 2.28 ms] 741.314 µs (50.2%)
profiling 2.036 ms [1.985 ms, 2.087 ms] 559.227 µs (37.9%)
tracing 2.007 ms [1.959 ms, 2.055 ms] 530.347 µs (35.9%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.476 ms [1.464 ms, 1.487 ms] -
appsec 2.389 ms [2.34 ms, 2.438 ms] 913.492 µs (61.9%)
iast 2.169 ms [2.107 ms, 2.23 ms] 692.84 µs (47.0%)
iast_GLOBAL 2.224 ms [2.162 ms, 2.286 ms] 748.249 µs (50.7%)
profiling 2.459 ms [2.237 ms, 2.681 ms] 983.705 µs (66.7%)
tracing 1.999 ms [1.951 ms, 2.047 ms] 522.919 µs (35.4%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.51.0-SNAPSHOT~61ad64f1cf, baseline=1.51.0-SNAPSHOT~0c891b79c1
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.742 s) : 15742000, 15742000
.   : milestone, 15742000,
appsec (14.872 s) : 14872000, 14872000
.   : milestone, 14872000,
iast (18.518 s) : 18518000, 18518000
.   : milestone, 18518000,
iast_GLOBAL (17.975 s) : 17975000, 17975000
.   : milestone, 17975000,
profiling (15.225 s) : 15225000, 15225000
.   : milestone, 15225000,
tracing (14.619 s) : 14619000, 14619000
.   : milestone, 14619000,
section candidate
no_agent (14.953 s) : 14953000, 14953000
.   : milestone, 14953000,
appsec (14.998 s) : 14998000, 14998000
.   : milestone, 14998000,
iast (18.263 s) : 18263000, 18263000
.   : milestone, 18263000,
iast_GLOBAL (18.124 s) : 18124000, 18124000
.   : milestone, 18124000,
profiling (15.488 s) : 15488000, 15488000
.   : milestone, 15488000,
tracing (14.747 s) : 14747000, 14747000
.   : milestone, 14747000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.742 s [15.742 s, 15.742 s] -
appsec 14.872 s [14.872 s, 14.872 s] -870.0 ms (-5.5%)
iast 18.518 s [18.518 s, 18.518 s] 2.776 s (17.6%)
iast_GLOBAL 17.975 s [17.975 s, 17.975 s] 2.233 s (14.2%)
profiling 15.225 s [15.225 s, 15.225 s] -517.0 ms (-3.3%)
tracing 14.619 s [14.619 s, 14.619 s] -1.123 s (-7.1%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.953 s [14.953 s, 14.953 s] -
appsec 14.998 s [14.998 s, 14.998 s] 45.0 ms (0.3%)
iast 18.263 s [18.263 s, 18.263 s] 3.31 s (22.1%)
iast_GLOBAL 18.124 s [18.124 s, 18.124 s] 3.171 s (21.2%)
profiling 15.488 s [15.488 s, 15.488 s] 535.0 ms (3.6%)
tracing 14.747 s [14.747 s, 14.747 s] -206.0 ms (-1.4%)

@mhlidd mhlidd added the tag: do not merge Do not merge changes label Jun 30, 2025
@mhlidd mhlidd changed the title feat: Adding wildcard feature for DD_TRACE_HEADER_TAGS and enabling for Http Response headers Adding wildcard feature for DD_TRACE_HEADER_TAGS and enabling for Http Response headers Jul 1, 2025
@mhlidd mhlidd added comp: core Tracer core type: feature request and removed tag: do not merge Do not merge changes labels Jul 1, 2025
@mhlidd mhlidd marked this pull request as ready for review July 1, 2025 20:05
@mhlidd mhlidd requested review from a team as code owners July 1, 2025 20:05
@mhlidd mhlidd requested a review from mcculls July 1, 2025 20:05
Copy link
Contributor

@PerfectSlayer PerfectSlayer left a comment

Choose a reason for hiding this comment

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

Left a bunch of comments.
The most important ones is the testing part and @mcculls comment

@mhlidd mhlidd requested review from mcculls and PerfectSlayer July 2, 2025 16:05
@mhlidd mhlidd merged commit 6f4fc42 into master Jul 3, 2025
508 checks passed
@mhlidd mhlidd deleted the mhlidd/update_trace_header_tags branch July 3, 2025 12:23
@github-actions github-actions bot added this to the 1.51.0 milestone Jul 3, 2025
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Jul 10, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
|
[com.google.errorprone:error_prone_annotations](https://errorprone.info)
([source](https://github.com/google/error-prone)) | dependencies |
misk/gradle/libs.versions.toml | gradle | minor | `2.39.0` -> `2.40.0` |
|
[org.apache.commons:commons-lang3](https://commons.apache.org/proper/commons-lang/)
([source](https://gitbox.apache.org/repos/asf/commons-lang.git)) |
dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`3.17.0` -> `3.18.0` |
|
[org.jetbrains.kotlinx.binary-compatibility-validator](https://github.com/Kotlin/binary-compatibility-validator)
| plugin | misk/gradle/libs.versions.toml | gradle | patch | `0.18.0` ->
`0.18.1` |
| [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.50.1` -> `1.51.0` |
| [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |
| [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |
|
[software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |
| [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |
| [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |
| [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |
| [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.77` -> `2.31.78` |

---

### Release Notes

<details>
<summary>google/error-prone
(com.google.errorprone:error_prone_annotations)</summary>

###
[`v2.40.0`](https://github.com/google/error-prone/releases/tag/v2.40.0):
Error Prone 2.40.0

Changes:

- Bug fixes and improvements
- Releases (including snapshots) have migrated from [OSSRH to the
Central Publisher
Portal](https://central.sonatype.org/pages/ossrh-eol/#process-to-migrate)

Full changelog:
google/error-prone@v2.39.0...v2.40.0

</details>

<details>
<summary>Kotlin/binary-compatibility-validator
(org.jetbrains.kotlinx.binary-compatibility-validator)</summary>

###
[`v0.18.1`](https://github.com/Kotlin/binary-compatibility-validator/releases/tag/0.18.1)

[Compare
Source](Kotlin/binary-compatibility-validator@0.18.0...0.18.1)

#### What's Changed

- Fixed a bug preventing use of cross-compilation support during KLIB
dump validation
\[[#&#8203;304](https://github.com/Kotlin/binary-compatibility-validator/issues/304)]\[[#&#8203;306](https://github.com/Kotlin/binary-compatibility-validator/issues/306)]

</details>

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

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

### Components

#### Application Security Management (IAST)

- 🐛 Fix verify error when ctor params are used after a call site
([#&#8203;9083](DataDog/dd-trace-java#9083) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- 🐛 Limit the maximum size of the location path in IAST
vulnerabilities
([#&#8203;9028](DataDog/dd-trace-java#9028) -
[@&#8203;jandro996](https://github.com/jandro996))
- 🐛 Fix IAST gRPC handler with null superclass
([#&#8203;8984](DataDog/dd-trace-java#8984) -
[@&#8203;smola](https://github.com/smola))
- ✨ Optimize IAST Vulnerability Detection
([#&#8203;8885](DataDog/dd-trace-java#8885) -
[@&#8203;jandro996](https://github.com/jandro996))

#### Application Security Management (WAF)

- ✨ Upgrade libddwaf-java to 15.0.0
([#&#8203;9022](DataDog/dd-trace-java#9022) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))
- ✨ Extract RestEasy json body response schemas
([#&#8203;9015](DataDog/dd-trace-java#9015) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Extract Jersey json body response schemas
([#&#8203;9014](DataDog/dd-trace-java#9014) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Extract Ratpack json body response schemas
([#&#8203;9013](DataDog/dd-trace-java#9013) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Enable API Security by default and make it lazy loading
([#&#8203;9009](DataDog/dd-trace-java#9009) -
[@&#8203;smola](https://github.com/smola))
- ✨ Extract Vert.x json body response schemas
([#&#8203;9001](DataDog/dd-trace-java#9001) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Extract Play json body response schemas
([#&#8203;8995](DataDog/dd-trace-java#8995) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- 🐛 Fix Jackson nodes introspection for request/response schema
extraction
([#&#8203;8980](DataDog/dd-trace-java#8980) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Extract Spring json body response schemas
([#&#8203;8938](DataDog/dd-trace-java#8938) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))
- ✨ Default obfuscation regexp update
([#&#8203;8937](DataDog/dd-trace-java#8937) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))

#### Build & Tooling

- ✨ Cancel GitLab running pipeline on new PR push
([#&#8203;9023](DataDog/dd-trace-java#9023) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- ✨ Migrate publishing to Maven Central Portal
([#&#8203;8807](DataDog/dd-trace-java#8807) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))

#### Continuous Integration Visibility

- 🐛 Fix Test Optimization to work with JDK 24
([#&#8203;9114](DataDog/dd-trace-java#9114) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨ Add repo root as safe directory on git client creation
([#&#8203;9033](DataDog/dd-trace-java#9033) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Add PR number tag and improve PR information building
([#&#8203;8990](DataDog/dd-trace-java#8990) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Update impacted tests logic
([#&#8203;8923](DataDog/dd-trace-java#8923) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))

#### Data Streams Monitoring

- 🧹 Clean up DSM context injection
([#&#8203;8776](DataDog/dd-trace-java#8776) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Database Monitoring

- 🐛 Set trace\_injected in try block
([#&#8203;9025](DataDog/dd-trace-java#9025) -
[@&#8203;natashadada](https://github.com/natashadada))

#### Dynamic Instrumentation

- 🐛 Add source file tracking enable option
([#&#8203;9115](DataDog/dd-trace-java#9115) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Add java.util.Date support
([#&#8203;9111](DataDog/dd-trace-java#9111) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Update file probe format
([#&#8203;9047](DataDog/dd-trace-java#9047) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ add safe local var hoisting
([#&#8203;9034](DataDog/dd-trace-java#9034) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🧹 Add new config for debugger upload interval
([#&#8203;8959](DataDog/dd-trace-java#8959) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Enable Code Origin with Dynamic instrumentation
([#&#8203;8940](DataDog/dd-trace-java#8940) -
[@&#8203;jpbempel](https://github.com/jpbempel))

#### ML Observability (LLMObs)

- 💡 LLM Observability SDK
([#&#8203;8781](DataDog/dd-trace-java#8781) -
[@&#8203;gary-huang](https://github.com/gary-huang),
[@&#8203;nayeem-kamal](https://github.com/nayeem-kamal))

#### Metrics

- 🐛 Ensure client stat reporter is started when the agent is not
available at bootstrap
([#&#8203;9082](DataDog/dd-trace-java#9082) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Create metric: appsec.waf.config\_errors
([#&#8203;8394](DataDog/dd-trace-java#8394) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))

#### Platform components

- ✨ Introduce environment component
([#&#8203;9071](DataDog/dd-trace-java#9071) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Profiling

- 🐛 Remove annoying warning for smap event parsing
([#&#8203;9119](DataDog/dd-trace-java#9119) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- 🐛 Fix ByteCountingInputStream when reading past EOF
([#&#8203;8988](DataDog/dd-trace-java#8988) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))

#### Realtime User Monitoring

- ✨ Add RUM SDK injection for servlet based web servers
([#&#8203;9110](DataDog/dd-trace-java#9110) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer)
[@&#8203;amarziali](https://github.com/amarziali))

#### Telemetry

- ✨ Update the config origin metric to match what it's mapping
([#&#8203;9045](DataDog/dd-trace-java#9045) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))

#### Testing

- ✨ Add testing for latest stable version (JDK 24)
([#&#8203;8875](DataDog/dd-trace-java#8875) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))

#### Trace context propagation

- 🐛 Fix bug with dropping baggage when
`TracePropagationBehaviorExtract=IGNORE`
([#&#8203;9037](DataDog/dd-trace-java#9037) -
[@&#8203;mhlidd](https://github.com/mhlidd))
- 🐛 Fix ArrayIndexOutOfBoundsException in PercentEscaper
([#&#8203;9032](DataDog/dd-trace-java#9032) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### Tracer core

- 🐛 Fix `Error` handling for trace interceptors
([#&#8203;9097](DataDog/dd-trace-java#9097) -
[@&#8203;AlexeyKuznetsov-DD](https://github.com/AlexeyKuznetsov-DD))
- 💡 Add wildcard feature for `DD_TRACE_HEADER_TAGS` and enabling
for Http Response headers
([#&#8203;9067](DataDog/dd-trace-java#9067) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### Tracer public API

- 💡 Add LLM Observability SDK
([#&#8203;8781](DataDog/dd-trace-java#8781) -
[@&#8203;gary-huang](https://github.com/gary-huang))

### Instrumentations

#### Akka instrumentation

- 🐛 Fix NPE in akka-http and pekko-http integrations
([#&#8203;9019](DataDog/dd-trace-java#9019) -
[@&#8203;mcculls](https://github.com/mcculls))

#### Eclipse Vert.x instrumentation

- ✨ Extract Vert.x json body response schemas
([#&#8203;9001](DataDog/dd-trace-java#9001) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Write http.route tag as soon as possible in vert.x
([#&#8203;8952](DataDog/dd-trace-java#8952) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))

#### JAX-WS instrumentation

- 💡⚠️ Enable jax-ws integration by default
([#&#8203;9030](DataDog/dd-trace-java#9030) -
[@&#8203;bm1549](https://github.com/bm1549))
- ✨ Extract Jersey json body response schemas
([#&#8203;9014](DataDog/dd-trace-java#9014) -
[@&#8203;jandro996](https://github.com/jandro996))

#### Mule instrumentation

- 🐛 Propagate grizzly http span in filters if nothing is active
([#&#8203;9016](DataDog/dd-trace-java#9016) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Play Framework instrumentation

- ✨ Extract Play json body response schemas
([#&#8203;8995](DataDog/dd-trace-java#8995) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))

#### Ratpack instrumentation

- ✨ Extract Ratpack json body response schemas
([#&#8203;9013](DataDog/dd-trace-java#9013) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))

#### Spring instrumentation

- ✨ Extract Spring json body response schemas
([#&#8203;8938](DataDog/dd-trace-java#8938) -
[@&#8203;sezen-datadog](https://github.com/sezen-datadog))

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

Successfully merging this pull request may close these issues.

3 participants