Skip to content

Conversation

jpbempel
Copy link
Member

@jpbempel jpbempel commented May 21, 2025

What Does This Do

Add isDefined as top level predicate for log template values

Motivation

Additional Notes

Contributor Checklist

Jira ticket: DEBUG-3338

Add isDefined as top level predicate for log template values
@jpbempel jpbempel requested a review from a team as a code owner May 21, 2025 12:34
@jpbempel jpbempel requested review from ojung and removed request for a team May 21, 2025 12:34
@jpbempel jpbempel added type: bug Bug report and fix comp: debugger Dynamic Instrumentation labels May 21, 2025
@pr-commenter
Copy link

pr-commenter bot commented May 21, 2025

Debugger benchmarks

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
ci_job_date 1747831327 1747831709
end_time 2025-05-21T12:43:28 2025-05-21T12:49:49
git_branch master jpbempel/isdefined-template-value
git_commit_sha bd483ac a07df45
start_time 2025-05-21T12:42:08 2025-05-21T12:48:30
See matching parameters
Baseline Candidate
ci_job_id 947790325 947790325
ci_pipeline_id 65716292 65716292
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
git_commit_date 1747830800 1747830800

Summary

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

See unchanged results
scenario Δ mean agg_http_req_duration_min Δ mean agg_http_req_duration_p50 Δ mean agg_http_req_duration_p75 Δ mean agg_http_req_duration_p99 Δ mean throughput
scenario:noprobe unstable
[-20.708µs; +17.911µs] or [-7.480%; +6.469%]
unstable
[-32.614µs; +28.169µs] or [-10.283%; +8.882%]
unstable
[-43.096µs; +37.897µs] or [-13.028%; +11.456%]
unstable
[-218.336µs; +15.670µs] or [-21.309%; +1.529%]
same
scenario:basic same unsure
[-18.877µs; -0.148µs] or [-5.942%; -0.047%]
same unstable
[-178.064µs; +25.907µs] or [-19.733%; +2.871%]
same
scenario:loop unsure
[+12.780µs; +41.809µs] or [+0.120%; +0.393%]
unsure
[+7.323µs; +55.667µs] or [+0.068%; +0.515%]
same same same
Request duration reports for reports
gantt
    title reports - request duration [CI 0.99] : candidate=None, baseline=None
    dateFormat X
    axisFormat %s
section baseline
noprobe (317.157 µs) : 291, 343
.   : milestone, 317,
basic (317.68 µs) : 309, 326
.   : milestone, 318,
loop (10.811 ms) : 10794, 10829
.   : milestone, 10811,
section candidate
noprobe (314.934 µs) : 283, 346
.   : milestone, 315,
basic (308.167 µs) : 298, 318
.   : milestone, 308,
loop (10.843 ms) : 10816, 10869
.   : milestone, 10843,
Loading
  • baseline results
Scenario Request median duration [CI 0.99]
noprobe 317.157 µs [291.063 µs, 343.25 µs]
basic 317.68 µs [309.203 µs, 326.157 µs]
loop 10.811 ms [10.794 ms, 10.829 ms]
  • candidate results
Scenario Request median duration [CI 0.99]
noprobe 314.934 µs [283.409 µs, 346.46 µs]
basic 308.167 µs [298.402 µs, 317.932 µs]
loop 10.843 ms [10.816 ms, 10.869 ms]

@pr-commenter
Copy link

pr-commenter bot commented May 21, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master jpbempel/isdefined-template-value
git_commit_date 1747827999 1747830800
git_commit_sha bd483ac a07df45
release_version 1.50.0-SNAPSHOT~bd483acf2c 1.50.0-SNAPSHOT~a07df454f9
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1747833082 1747833082
ci_job_id 947790319 947790319
ci_pipeline_id 65716292 65716292
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-uajn3adf-project-304-concurrent-0-xrcwmtk3 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-uajn3adf-project-304-concurrent-0-xrcwmtk3 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 0 performance improvements and 0 performance regressions! Performance is the same for 57 metrics, 14 unstable metrics.

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.50.0-SNAPSHOT~a07df454f9, baseline=1.50.0-SNAPSHOT~bd483acf2c

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.02 s) : 0, 1020040
Total [baseline] (8.65 s) : 0, 8649510
Agent [candidate] (1.021 s) : 0, 1020624
Total [candidate] (8.649 s) : 0, 8648954
section iast
Agent [baseline] (1.151 s) : 0, 1151119
Total [baseline] (9.266 s) : 0, 9266124
Agent [candidate] (1.156 s) : 0, 1155945
Total [candidate] (9.254 s) : 0, 9253609
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.151 s) : 0, 1150556
Total [baseline] (9.21 s) : 0, 9210340
Agent [candidate] (1.156 s) : 0, 1156392
Total [candidate] (9.212 s) : 0, 9211504
section iast_TELEMETRY_OFF
Agent [baseline] (1.146 s) : 0, 1145975
Total [baseline] (9.226 s) : 0, 9225684
Agent [candidate] (1.145 s) : 0, 1145368
Total [candidate] (9.213 s) : 0, 9213470
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.02 s -
Agent iast 1.151 s 131.079 ms (12.9%)
Agent iast_HARDCODED_SECRET_DISABLED 1.151 s 130.516 ms (12.8%)
Agent iast_TELEMETRY_OFF 1.146 s 125.936 ms (12.3%)
Total tracing 8.65 s -
Total iast 9.266 s 616.614 ms (7.1%)
Total iast_HARDCODED_SECRET_DISABLED 9.21 s 560.831 ms (6.5%)
Total iast_TELEMETRY_OFF 9.226 s 576.174 ms (6.7%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.021 s -
Agent iast 1.156 s 135.321 ms (13.3%)
Agent iast_HARDCODED_SECRET_DISABLED 1.156 s 135.768 ms (13.3%)
Agent iast_TELEMETRY_OFF 1.145 s 124.744 ms (12.2%)
Total tracing 8.649 s -
Total iast 9.254 s 604.655 ms (7.0%)
Total iast_HARDCODED_SECRET_DISABLED 9.212 s 562.551 ms (6.5%)
Total iast_TELEMETRY_OFF 9.213 s 564.516 ms (6.5%)
gantt
    title insecure-bank - break down per module: candidate=1.50.0-SNAPSHOT~a07df454f9, baseline=1.50.0-SNAPSHOT~bd483acf2c

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (683.542 ms) : 0, 683542
BytebuddyAgent [candidate] (682.013 ms) : 0, 682013
GlobalTracer [baseline] (240.165 ms) : 0, 240165
GlobalTracer [candidate] (240.091 ms) : 0, 240091
AppSec [baseline] (54.548 ms) : 0, 54548
AppSec [candidate] (54.436 ms) : 0, 54436
Debugger [baseline] (8.395 ms) : 0, 8395
Debugger [candidate] (10.424 ms) : 0, 10424
Remote Config [baseline] (706.263 µs) : 0, 706
Remote Config [candidate] (707.327 µs) : 0, 707
Telemetry [baseline] (9.17 ms) : 0, 9170
Telemetry [candidate] (9.245 ms) : 0, 9245
section iast
BytebuddyAgent [baseline] (803.251 ms) : 0, 803251
BytebuddyAgent [candidate] (807.011 ms) : 0, 807011
GlobalTracer [baseline] (230.859 ms) : 0, 230859
GlobalTracer [candidate] (231.62 ms) : 0, 231620
IAST [baseline] (25.939 ms) : 0, 25939
IAST [candidate] (29.411 ms) : 0, 29411
AppSec [baseline] (51.463 ms) : 0, 51463
AppSec [candidate] (49.885 ms) : 0, 49885
Debugger [baseline] (5.937 ms) : 0, 5937
Debugger [candidate] (5.886 ms) : 0, 5886
Remote Config [baseline] (605.04 µs) : 0, 605
Remote Config [candidate] (597.328 µs) : 0, 597
Telemetry [baseline] (7.928 ms) : 0, 7928
Telemetry [candidate] (7.842 ms) : 0, 7842
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (802.509 ms) : 0, 802509
BytebuddyAgent [candidate] (805.726 ms) : 0, 805726
GlobalTracer [baseline] (230.816 ms) : 0, 230816
GlobalTracer [candidate] (232.692 ms) : 0, 232692
IAST [baseline] (28.551 ms) : 0, 28551
IAST [candidate] (29.598 ms) : 0, 29598
AppSec [baseline] (50.64 ms) : 0, 50640
AppSec [candidate] (50.053 ms) : 0, 50053
Debugger [baseline] (5.913 ms) : 0, 5913
Debugger [candidate] (6.026 ms) : 0, 6026
Remote Config [baseline] (611.407 µs) : 0, 611
Remote Config [candidate] (603.697 µs) : 0, 604
Telemetry [baseline] (7.949 ms) : 0, 7949
Telemetry [candidate] (8.02 ms) : 0, 8020
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (799.043 ms) : 0, 799043
BytebuddyAgent [candidate] (798.818 ms) : 0, 798818
GlobalTracer [baseline] (230.908 ms) : 0, 230908
GlobalTracer [candidate] (230.455 ms) : 0, 230455
IAST [baseline] (23.066 ms) : 0, 23066
IAST [candidate] (22.921 ms) : 0, 22921
AppSec [baseline] (55.023 ms) : 0, 55023
AppSec [candidate] (55.306 ms) : 0, 55306
Debugger [baseline] (5.951 ms) : 0, 5951
Debugger [candidate] (5.968 ms) : 0, 5968
Remote Config [baseline] (594.983 µs) : 0, 595
Remote Config [candidate] (600.026 µs) : 0, 600
Telemetry [baseline] (7.778 ms) : 0, 7778
Telemetry [candidate] (7.836 ms) : 0, 7836
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.50.0-SNAPSHOT~a07df454f9, baseline=1.50.0-SNAPSHOT~bd483acf2c

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.025 s) : 0, 1025350
Total [baseline] (10.496 s) : 0, 10496166
Agent [candidate] (1.022 s) : 0, 1022110
Total [candidate] (10.51 s) : 0, 10509847
section appsec
Agent [baseline] (1.166 s) : 0, 1165506
Total [baseline] (10.665 s) : 0, 10665403
Agent [candidate] (1.167 s) : 0, 1167258
Total [candidate] (10.676 s) : 0, 10675893
section iast
Agent [baseline] (1.152 s) : 0, 1151744
Total [baseline] (10.981 s) : 0, 10981084
Agent [candidate] (1.149 s) : 0, 1148607
Total [candidate] (10.901 s) : 0, 10900946
section profiling
Agent [baseline] (1.282 s) : 0, 1281930
Total [baseline] (10.876 s) : 0, 10876424
Agent [candidate] (1.289 s) : 0, 1288602
Total [candidate] (10.823 s) : 0, 10823037
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.025 s -
Agent appsec 1.166 s 140.156 ms (13.7%)
Agent iast 1.152 s 126.394 ms (12.3%)
Agent profiling 1.282 s 256.58 ms (25.0%)
Total tracing 10.496 s -
Total appsec 10.665 s 169.237 ms (1.6%)
Total iast 10.981 s 484.918 ms (4.6%)
Total profiling 10.876 s 380.257 ms (3.6%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.022 s -
Agent appsec 1.167 s 145.148 ms (14.2%)
Agent iast 1.149 s 126.497 ms (12.4%)
Agent profiling 1.289 s 266.492 ms (26.1%)
Total tracing 10.51 s -
Total appsec 10.676 s 166.046 ms (1.6%)
Total iast 10.901 s 391.099 ms (3.7%)
Total profiling 10.823 s 313.19 ms (3.0%)
gantt
    title petclinic - break down per module: candidate=1.50.0-SNAPSHOT~a07df454f9, baseline=1.50.0-SNAPSHOT~bd483acf2c

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (683.77 ms) : 0, 683770
BytebuddyAgent [candidate] (684.178 ms) : 0, 684178
GlobalTracer [baseline] (240.748 ms) : 0, 240748
GlobalTracer [candidate] (240.445 ms) : 0, 240445
AppSec [baseline] (56.089 ms) : 0, 56089
AppSec [candidate] (55.098 ms) : 0, 55098
Debugger [baseline] (9.872 ms) : 0, 9872
Debugger [candidate] (8.228 ms) : 0, 8228
Remote Config [baseline] (692.67 µs) : 0, 693
Remote Config [candidate] (700.371 µs) : 0, 700
Telemetry [baseline] (10.58 ms) : 0, 10580
Telemetry [candidate] (9.837 ms) : 0, 9837
section appsec
BytebuddyAgent [baseline] (702.832 ms) : 0, 702832
BytebuddyAgent [candidate] (704.507 ms) : 0, 704507
GlobalTracer [baseline] (237.925 ms) : 0, 237925
GlobalTracer [candidate] (237.76 ms) : 0, 237760
AppSec [baseline] (176.278 ms) : 0, 176278
AppSec [candidate] (176.119 ms) : 0, 176119
Debugger [baseline] (5.955 ms) : 0, 5955
Debugger [candidate] (5.962 ms) : 0, 5962
Remote Config [baseline] (632.258 µs) : 0, 632
Remote Config [candidate] (639.289 µs) : 0, 639
Telemetry [baseline] (7.407 ms) : 0, 7407
Telemetry [candidate] (7.779 ms) : 0, 7779
IAST [baseline] (21.737 ms) : 0, 21737
IAST [candidate] (21.727 ms) : 0, 21727
section iast
BytebuddyAgent [baseline] (803.878 ms) : 0, 803878
BytebuddyAgent [candidate] (801.725 ms) : 0, 801725
GlobalTracer [baseline] (231.223 ms) : 0, 231223
GlobalTracer [candidate] (230.466 ms) : 0, 230466
AppSec [baseline] (49.378 ms) : 0, 49378
AppSec [candidate] (49.341 ms) : 0, 49341
Debugger [baseline] (5.927 ms) : 0, 5927
Debugger [candidate] (5.915 ms) : 0, 5915
Remote Config [baseline] (615.417 µs) : 0, 615
Remote Config [candidate] (607.183 µs) : 0, 607
Telemetry [baseline] (7.956 ms) : 0, 7956
Telemetry [candidate] (7.883 ms) : 0, 7883
IAST [baseline] (28.458 ms) : 0, 28458
IAST [candidate] (28.479 ms) : 0, 28479
section profiling
BytebuddyAgent [baseline] (674.123 ms) : 0, 674123
BytebuddyAgent [candidate] (679.043 ms) : 0, 679043
GlobalTracer [baseline] (376.061 ms) : 0, 376061
GlobalTracer [candidate] (377.155 ms) : 0, 377155
AppSec [baseline] (62.57 ms) : 0, 62570
AppSec [candidate] (62.35 ms) : 0, 62350
Debugger [baseline] (6.277 ms) : 0, 6277
Debugger [candidate] (6.344 ms) : 0, 6344
Remote Config [baseline] (663.285 µs) : 0, 663
Remote Config [candidate] (652.774 µs) : 0, 653
Telemetry [baseline] (8.196 ms) : 0, 8196
Telemetry [candidate] (8.267 ms) : 0, 8267
ProfilingAgent [baseline] (103.006 ms) : 0, 103006
ProfilingAgent [candidate] (103.579 ms) : 0, 103579
Profiling [baseline] (103.03 ms) : 0, 103030
Profiling [candidate] (103.604 ms) : 0, 103604
Loading

Load

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master jpbempel/isdefined-template-value
git_commit_date 1747827999 1747830800
git_commit_sha bd483ac a07df45
release_version 1.50.0-SNAPSHOT~bd483acf2c 1.50.0-SNAPSHOT~a07df454f9
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1747832680 1747832680
ci_job_id 947790321 947790321
ci_pipeline_id 65716292 65716292
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-ytbukrc9-project-304-concurrent-0-rc82bwpe 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-ytbukrc9-project-304-concurrent-0-rc82bwpe 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 biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~a07df454f9, baseline=1.50.0-SNAPSHOT~bd483acf2c
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.119 s) : 15119000, 15119000
.   : milestone, 15119000,
appsec (14.9 s) : 14900000, 14900000
.   : milestone, 14900000,
iast (19.132 s) : 19132000, 19132000
.   : milestone, 19132000,
iast_GLOBAL (17.808 s) : 17808000, 17808000
.   : milestone, 17808000,
profiling (15.658 s) : 15658000, 15658000
.   : milestone, 15658000,
tracing (15.188 s) : 15188000, 15188000
.   : milestone, 15188000,
section candidate
no_agent (15.02 s) : 15020000, 15020000
.   : milestone, 15020000,
appsec (14.929 s) : 14929000, 14929000
.   : milestone, 14929000,
iast (19.153 s) : 19153000, 19153000
.   : milestone, 19153000,
iast_GLOBAL (18.112 s) : 18112000, 18112000
.   : milestone, 18112000,
profiling (15.697 s) : 15697000, 15697000
.   : milestone, 15697000,
tracing (14.999 s) : 14999000, 14999000
.   : milestone, 14999000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.119 s [15.119 s, 15.119 s] -
appsec 14.9 s [14.9 s, 14.9 s] -219.0 ms (-1.4%)
iast 19.132 s [19.132 s, 19.132 s] 4.013 s (26.5%)
iast_GLOBAL 17.808 s [17.808 s, 17.808 s] 2.689 s (17.8%)
profiling 15.658 s [15.658 s, 15.658 s] 539.0 ms (3.6%)
tracing 15.188 s [15.188 s, 15.188 s] 69.0 ms (0.5%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.02 s [15.02 s, 15.02 s] -
appsec 14.929 s [14.929 s, 14.929 s] -91.0 ms (-0.6%)
iast 19.153 s [19.153 s, 19.153 s] 4.133 s (27.5%)
iast_GLOBAL 18.112 s [18.112 s, 18.112 s] 3.092 s (20.6%)
profiling 15.697 s [15.697 s, 15.697 s] 677.0 ms (4.5%)
tracing 14.999 s [14.999 s, 14.999 s] -21.0 ms (-0.1%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~a07df454f9, baseline=1.50.0-SNAPSHOT~bd483acf2c
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.477 ms) : 1466, 1489
.   : milestone, 1477,
appsec (2.398 ms) : 2350, 2447
.   : milestone, 2398,
iast (2.184 ms) : 2123, 2246
.   : milestone, 2184,
iast_GLOBAL (2.218 ms) : 2157, 2280
.   : milestone, 2218,
profiling (2.043 ms) : 1993, 2094
.   : milestone, 2043,
tracing (1.997 ms) : 1950, 2044
.   : milestone, 1997,
section candidate
no_agent (1.479 ms) : 1467, 1490
.   : milestone, 1479,
appsec (2.396 ms) : 2348, 2445
.   : milestone, 2396,
iast (2.175 ms) : 2113, 2236
.   : milestone, 2175,
iast_GLOBAL (2.224 ms) : 2162, 2286
.   : milestone, 2224,
profiling (2.017 ms) : 1968, 2065
.   : milestone, 2017,
tracing (2.003 ms) : 1955, 2051
.   : milestone, 2003,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.477 ms [1.466 ms, 1.489 ms] -
appsec 2.398 ms [2.35 ms, 2.447 ms] 920.939 µs (62.3%)
iast 2.184 ms [2.123 ms, 2.246 ms] 706.682 µs (47.8%)
iast_GLOBAL 2.218 ms [2.157 ms, 2.28 ms] 740.77 µs (50.1%)
profiling 2.043 ms [1.993 ms, 2.094 ms] 565.89 µs (38.3%)
tracing 1.997 ms [1.95 ms, 2.044 ms] 519.698 µs (35.2%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.479 ms [1.467 ms, 1.49 ms] -
appsec 2.396 ms [2.348 ms, 2.445 ms] 917.582 µs (62.1%)
iast 2.175 ms [2.113 ms, 2.236 ms] 696.306 µs (47.1%)
iast_GLOBAL 2.224 ms [2.162 ms, 2.286 ms] 745.271 µs (50.4%)
profiling 2.017 ms [1.968 ms, 2.065 ms] 537.921 µs (36.4%)
tracing 2.003 ms [1.955 ms, 2.051 ms] 524.068 µs (35.4%)

@evanchooly
Copy link
Contributor

where is the actual implementation logic of isDefined?

@jpbempel
Copy link
Member Author

jpbempel commented May 21, 2025

where is the actual implementation logic of isDefined?

the isDefined is already implemented , it's just it was not possible to use it as the result of template value like in foo is defined: {isDefined(foo)}

@jpbempel jpbempel merged commit 8fc90d5 into master May 21, 2025
600 of 601 checks passed
@jpbempel jpbempel deleted the jpbempel/isdefined-template-value branch May 21, 2025 14:53
@github-actions github-actions bot added this to the 1.50.0 milestone May 21, 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: debugger Dynamic Instrumentation type: bug Bug report and fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants