Skip to content

Dynamically evaluate service name for message consumers - #8088

Merged
amarziali merged 2 commits into
masterfrom
andrea.marziali/messaging-naming-fix
Dec 18, 2024
Merged

Dynamically evaluate service name for message consumers#8088
amarziali merged 2 commits into
masterfrom
andrea.marziali/messaging-naming-fix

Conversation

@amarziali

Copy link
Copy Markdown
Contributor

What Does This Do

If a split-by-jee-deployment is used and the legacy tracing is disabled, the service name for the message consumers spans will be initialized once with the first value it's obtained.

This is not correct since in this case it has to be evaluated every time. This PR forces using a supplier for the service name and evaluates it every time when the decorator is setting the service name. In the general case, it will always returns a constant so it should not impact any performance.

Motivation

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@github-actions

Copy link
Copy Markdown
Contributor

Hi! 👋 Thanks for your pull request! 🎉

To help us review it, please make sure to:

  • Add at least one type, and one component or instrumentation label to the pull request

If you need help, please check our contributing guidelines.

@amarzialiamarziali added type: bug fix Bug fix comp: core Tracer core labels Dec 13, 2024
@pr-commenter

pr-commenterBot commented Dec 13, 2024

Copy link
Copy Markdown

Kafka / producer-benchmark

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmasterandrea.marziali/messaging-naming-fix
git_commit_date17343483441734424053
git_commit_sha52aeeec379790d
See matching parameters
BaselineCandidate
ci_job_date17344252781734425278
ci_job_id741658896741658896
ci_pipeline_id5129473951294739
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
jdkVersion11.0.2511.0.25
jmhVersion1.361.36
jvm/usr/lib/jvm/java-11-openjdk-amd64/bin/java/usr/lib/jvm/java-11-openjdk-amd64/bin/java
jvmArgs-Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/producer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant-Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/producer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant
vmNameOpenJDK 64-Bit Server VMOpenJDK 64-Bit Server VM
vmVersion11.0.25+9-post-Ubuntu-1ubuntu122.0411.0.25+9-post-Ubuntu-1ubuntu122.04

Summary

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

See unchanged results
scenarioΔ mean throughput
scenario:not-instrumented/KafkaProduceBenchmark.benchProducesame
scenario:only-tracing-dsm-disabled-benchmarks/KafkaProduceBenchmark.benchProducesame
scenario:only-tracing-dsm-enabled-benchmarks/KafkaProduceBenchmark.benchProducesame

@amarziali
amarzialiforce-pushed the andrea.marziali/messaging-naming-fix branch from 446ee9a to 7c58298CompareDecember 13, 2024 14:50
@pr-commenter

pr-commenterBot commented Dec 13, 2024

Copy link
Copy Markdown

Benchmarks

Startup

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmasterandrea.marziali/messaging-naming-fix
git_commit_date17343865761734424053
git_commit_sha721af2f379790d
release_version1.45.0-SNAPSHOT~721af2f5a51.45.0-SNAPSHOT~379790dc37
See matching parameters
BaselineCandidate
applicationinsecure-bankinsecure-bank
ci_job_date17344266551734426655
ci_job_id741658892741658892
ci_pipeline_id5129473951294739
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
moduleAgentAgent
parentNoneNone
variantiastiast

Summary

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

scenarioΔ mean execution_timecandidate mean execution_timebaseline mean execution_time
scenario:startup:petclinic:tracing:Remote Configbetter
[-41.010µs; -15.141µs] or [-5.971%; -2.204%]
658.747µs686.822µs
Startup time reports for insecure-bank
gantt
title insecure-bank - global startup overhead: candidate=1.45.0-SNAPSHOT~379790dc37, baseline=1.45.0-SNAPSHOT~721af2f5a5
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.094 s) : 0, 1094195
Total [baseline] (8.641 s) : 0, 8641401
Agent [candidate] (1.095 s) : 0, 1095354
Total [candidate] (8.644 s) : 0, 8644459
section iast
Agent [baseline] (1.223 s) : 0, 1222977
Total [baseline] (9.255 s) : 0, 9255440
Agent [candidate] (1.234 s) : 0, 1233583
Total [candidate] (9.207 s) : 0, 9206860
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.223 s) : 0, 1223325
Total [baseline] (9.181 s) : 0, 9180901
Agent [candidate] (1.23 s) : 0, 1230441
Total [candidate] (9.198 s) : 0, 9198142
section iast_TELEMETRY_OFF
Agent [baseline] (1.217 s) : 0, 1216993
Total [baseline] (9.18 s) : 0, 9180298
Agent [candidate] (1.22 s) : 0, 1220357
Total [candidate] (9.183 s) : 0, 9182616
Loading
  • baseline results
ModuleVariantDurationΔ tracing
Agenttracing1.094 s-
Agentiast1.223 s128.783 ms (11.8%)
Agentiast_HARDCODED_SECRET_DISABLED1.223 s129.13 ms (11.8%)
Agentiast_TELEMETRY_OFF1.217 s122.798 ms (11.2%)
Totaltracing8.641 s-
Totaliast9.255 s614.039 ms (7.1%)
Totaliast_HARDCODED_SECRET_DISABLED9.181 s539.5 ms (6.2%)
Totaliast_TELEMETRY_OFF9.18 s538.896 ms (6.2%)
  • candidate results
ModuleVariantDurationΔ tracing
Agenttracing1.095 s-
Agentiast1.234 s138.229 ms (12.6%)
Agentiast_HARDCODED_SECRET_DISABLED1.23 s135.087 ms (12.3%)
Agentiast_TELEMETRY_OFF1.22 s125.004 ms (11.4%)
Totaltracing8.644 s-
Totaliast9.207 s562.401 ms (6.5%)
Totaliast_HARDCODED_SECRET_DISABLED9.198 s553.684 ms (6.4%)
Totaliast_TELEMETRY_OFF9.183 s538.157 ms (6.2%)
gantt
title insecure-bank - break down per module: candidate=1.45.0-SNAPSHOT~379790dc37, baseline=1.45.0-SNAPSHOT~721af2f5a5
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (696.206 ms) : 0, 696206
BytebuddyAgent [candidate] (697.056 ms) : 0, 697056
GlobalTracer [baseline] (317.702 ms) : 0, 317702
GlobalTracer [candidate] (318.603 ms) : 0, 318603
AppSec [baseline] (54.43 ms) : 0, 54430
AppSec [candidate] (54.577 ms) : 0, 54577
Remote Config [baseline] (682.224 µs) : 0, 682
Remote Config [candidate] (673.672 µs) : 0, 674
Telemetry [baseline] (11.389 ms) : 0, 11389
Telemetry [candidate] (10.738 ms) : 0, 10738
section iast
BytebuddyAgent [baseline] (814.538 ms) : 0, 814538
BytebuddyAgent [candidate] (822.281 ms) : 0, 822281
GlobalTracer [baseline] (306.959 ms) : 0, 306959
GlobalTracer [candidate] (309.461 ms) : 0, 309461
AppSec [baseline] (56.929 ms) : 0, 56929
AppSec [candidate] (56.383 ms) : 0, 56383
IAST [baseline] (22.751 ms) : 0, 22751
IAST [candidate] (23.448 ms) : 0, 23448
Remote Config [baseline] (601.697 µs) : 0, 602
Remote Config [candidate] (604.501 µs) : 0, 605
Telemetry [baseline] (7.399 ms) : 0, 7399
Telemetry [candidate] (7.437 ms) : 0, 7437
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (813.684 ms) : 0, 813684
BytebuddyAgent [candidate] (820.446 ms) : 0, 820446
GlobalTracer [baseline] (307.789 ms) : 0, 307789
GlobalTracer [candidate] (308.983 ms) : 0, 308983
AppSec [baseline] (58.581 ms) : 0, 58581
AppSec [candidate] (57.981 ms) : 0, 57981
IAST [baseline] (21.281 ms) : 0, 21281
IAST [candidate] (21.057 ms) : 0, 21057
Remote Config [baseline] (605.779 µs) : 0, 606
Remote Config [candidate] (615.703 µs) : 0, 616
Telemetry [baseline] (7.608 ms) : 0, 7608
Telemetry [candidate] (7.434 ms) : 0, 7434
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (810.766 ms) : 0, 810766
BytebuddyAgent [candidate] (812.165 ms) : 0, 812165
GlobalTracer [baseline] (305.98 ms) : 0, 305980
GlobalTracer [candidate] (307.614 ms) : 0, 307614
AppSec [baseline] (57.659 ms) : 0, 57659
AppSec [candidate] (58.275 ms) : 0, 58275
IAST [baseline] (20.765 ms) : 0, 20765
IAST [candidate] (20.552 ms) : 0, 20552
Remote Config [baseline] (673.41 µs) : 0, 673
Remote Config [candidate] (614.89 µs) : 0, 615
Telemetry [baseline] (7.408 ms) : 0, 7408
Telemetry [candidate] (7.327 ms) : 0, 7327
Loading
Startup time reports for petclinic
gantt
title petclinic - global startup overhead: candidate=1.45.0-SNAPSHOT~379790dc37, baseline=1.45.0-SNAPSHOT~721af2f5a5
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.097 s) : 0, 1097322
Total [baseline] (10.444 s) : 0, 10444235
Agent [candidate] (1.095 s) : 0, 1094958
Total [candidate] (10.431 s) : 0, 10431391
section appsec
Agent [baseline] (1.227 s) : 0, 1226785
Total [baseline] (10.717 s) : 0, 10717426
Agent [candidate] (1.229 s) : 0, 1228501
Total [candidate] (10.712 s) : 0, 10712336
section iast
Agent [baseline] (1.22 s) : 0, 1219503
Total [baseline] (10.975 s) : 0, 10974765
Agent [candidate] (1.229 s) : 0, 1229060
Total [candidate] (11.01 s) : 0, 11009862
section profiling
Agent [baseline] (1.318 s) : 0, 1317618
Total [baseline] (10.822 s) : 0, 10821996
Agent [candidate] (1.32 s) : 0, 1320433
Total [candidate] (10.78 s) : 0, 10779681
Loading
  • baseline results
ModuleVariantDurationΔ tracing
Agenttracing1.097 s-
Agentappsec1.227 s129.464 ms (11.8%)
Agentiast1.22 s122.182 ms (11.1%)
Agentprofiling1.318 s220.296 ms (20.1%)
Totaltracing10.444 s-
Totalappsec10.717 s273.191 ms (2.6%)
Totaliast10.975 s530.53 ms (5.1%)
Totalprofiling10.822 s377.761 ms (3.6%)
  • candidate results
ModuleVariantDurationΔ tracing
Agenttracing1.095 s-
Agentappsec1.229 s133.542 ms (12.2%)
Agentiast1.229 s134.102 ms (12.2%)
Agentprofiling1.32 s225.474 ms (20.6%)
Totaltracing10.431 s-
Totalappsec10.712 s280.944 ms (2.7%)
Totaliast11.01 s578.471 ms (5.5%)
Totalprofiling10.78 s348.29 ms (3.3%)
gantt
title petclinic - break down per module: candidate=1.45.0-SNAPSHOT~379790dc37, baseline=1.45.0-SNAPSHOT~721af2f5a5
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (699.762 ms) : 0, 699762
BytebuddyAgent [candidate] (696.545 ms) : 0, 696545
GlobalTracer [baseline] (316.855 ms) : 0, 316855
GlobalTracer [candidate] (318.293 ms) : 0, 318293
AppSec [baseline] (54.756 ms) : 0, 54756
AppSec [candidate] (54.299 ms) : 0, 54299
Remote Config [baseline] (686.822 µs) : 0, 687
Remote Config [candidate] (658.747 µs) : 0, 659
Telemetry [baseline] (11.438 ms) : 0, 11438
Telemetry [candidate] (11.379 ms) : 0, 11379
section appsec
BytebuddyAgent [baseline] (712.293 ms) : 0, 712293
BytebuddyAgent [candidate] (713.71 ms) : 0, 713710
GlobalTracer [baseline] (314.99 ms) : 0, 314990
GlobalTracer [candidate] (315.06 ms) : 0, 315060
AppSec [baseline] (167.221 ms) : 0, 167221
AppSec [candidate] (168.446 ms) : 0, 168446
Remote Config [baseline] (639.987 µs) : 0, 640
Remote Config [candidate] (654.508 µs) : 0, 655
Telemetry [baseline] (8.12 ms) : 0, 8120
Telemetry [candidate] (7.406 ms) : 0, 7406
IAST [baseline] (19.607 ms) : 0, 19607
IAST [candidate] (18.909 ms) : 0, 18909
section iast
BytebuddyAgent [baseline] (812.122 ms) : 0, 812122
BytebuddyAgent [candidate] (816.819 ms) : 0, 816819
GlobalTracer [baseline] (306.369 ms) : 0, 306369
GlobalTracer [candidate] (310.642 ms) : 0, 310642
AppSec [baseline] (57.28 ms) : 0, 57280
AppSec [candidate] (57.508 ms) : 0, 57508
Remote Config [baseline] (626.772 µs) : 0, 627
Remote Config [candidate] (635.331 µs) : 0, 635
Telemetry [baseline] (7.393 ms) : 0, 7393
Telemetry [candidate] (7.508 ms) : 0, 7508
IAST [baseline] (21.996 ms) : 0, 21996
IAST [candidate] (22.113 ms) : 0, 22113
section profiling
BytebuddyAgent [baseline] (689.569 ms) : 0, 689569
BytebuddyAgent [candidate] (689.686 ms) : 0, 689686
GlobalTracer [baseline] (433.224 ms) : 0, 433224
GlobalTracer [candidate] (435.946 ms) : 0, 435946
AppSec [baseline] (53.494 ms) : 0, 53494
AppSec [candidate] (53.804 ms) : 0, 53804
Remote Config [baseline] (670.218 µs) : 0, 670
Remote Config [candidate] (661.668 µs) : 0, 662
Telemetry [baseline] (7.69 ms) : 0, 7690
Telemetry [candidate] (7.736 ms) : 0, 7736
ProfilingAgent [baseline] (93.718 ms) : 0, 93718
ProfilingAgent [candidate] (93.341 ms) : 0, 93341
Profiling [baseline] (93.741 ms) : 0, 93741
Profiling [candidate] (93.365 ms) : 0, 93365
Loading

Load

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
end_time2024-12-17T08:41:052024-12-17T08:48:05
git_branchmasterandrea.marziali/messaging-naming-fix
git_commit_date17343865761734424053
git_commit_sha721af2f379790d
release_version1.45.0-SNAPSHOT~721af2f5a51.45.0-SNAPSHOT~379790dc37
start_time2024-12-17T08:40:522024-12-17T08:47:51
See matching parameters
BaselineCandidate
applicationinsecure-bankinsecure-bank
ci_job_date17344256371734425637
ci_job_id741658893741658893
ci_pipeline_id5129473951294739
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
variantiastiast

Summary

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

Request duration reports for insecure-bank
gantt
title insecure-bank - request duration [CI 0.99] : candidate=1.45.0-SNAPSHOT~379790dc37, baseline=1.45.0-SNAPSHOT~721af2f5a5
dateFormat X
axisFormat %s
section baseline
no_agent (369.679 µs) : 349, 390
. : milestone, 370,
iast (490.189 µs) : 468, 512
. : milestone, 490,
iast_FULL (653.765 µs) : 632, 675
. : milestone, 654,
iast_GLOBAL (526.207 µs) : 503, 549
. : milestone, 526,
iast_HARDCODED_SECRET_DISABLED (489.731 µs) : 468, 511
. : milestone, 490,
iast_INACTIVE (457.002 µs) : 435, 479
. : milestone, 457,
iast_TELEMETRY_OFF (477.09 µs) : 455, 499
. : milestone, 477,
tracing (449.671 µs) : 429, 470
. : milestone, 450,
section candidate
no_agent (375.418 µs) : 355, 395
. : milestone, 375,
iast (488.169 µs) : 467, 509
. : milestone, 488,
iast_FULL (657.58 µs) : 636, 679
. : milestone, 658,
iast_GLOBAL (520.048 µs) : 498, 542
. : milestone, 520,
iast_HARDCODED_SECRET_DISABLED (495.922 µs) : 474, 517
. : milestone, 496,
iast_INACTIVE (459.069 µs) : 438, 480
. : milestone, 459,
iast_TELEMETRY_OFF (477.281 µs) : 456, 499
. : milestone, 477,
tracing (451.583 µs) : 430, 473
. : milestone, 452,
Loading
  • baseline results
VariantRequest duration [CI 0.99]Δ no_agent
no_agent369.679 µs [349.094 µs, 390.265 µs]-
iast490.189 µs [468.42 µs, 511.959 µs]120.51 µs (32.6%)
iast_FULL653.765 µs [632.406 µs, 675.123 µs]284.085 µs (76.8%)
iast_GLOBAL526.207 µs [503.462 µs, 548.953 µs]156.528 µs (42.3%)
iast_HARDCODED_SECRET_DISABLED489.731 µs [468.422 µs, 511.04 µs]120.052 µs (32.5%)
iast_INACTIVE457.002 µs [435.195 µs, 478.81 µs]87.323 µs (23.6%)
iast_TELEMETRY_OFF477.09 µs [455.421 µs, 498.759 µs]107.411 µs (29.1%)
tracing449.671 µs [428.873 µs, 470.47 µs]79.992 µs (21.6%)
  • candidate results
VariantRequest duration [CI 0.99]Δ no_agent
no_agent375.418 µs [355.475 µs, 395.361 µs]-
iast488.169 µs [466.904 µs, 509.433 µs]112.751 µs (30.0%)
iast_FULL657.58 µs [635.968 µs, 679.192 µs]282.162 µs (75.2%)
iast_GLOBAL520.048 µs [498.041 µs, 542.055 µs]144.63 µs (38.5%)
iast_HARDCODED_SECRET_DISABLED495.922 µs [474.482 µs, 517.361 µs]120.504 µs (32.1%)
iast_INACTIVE459.069 µs [437.741 µs, 480.397 µs]83.651 µs (22.3%)
iast_TELEMETRY_OFF477.281 µs [455.89 µs, 498.671 µs]101.863 µs (27.1%)
tracing451.583 µs [429.821 µs, 473.345 µs]76.166 µs (20.3%)
Request duration reports for petclinic
gantt
title petclinic - request duration [CI 0.99] : candidate=1.45.0-SNAPSHOT~379790dc37, baseline=1.45.0-SNAPSHOT~721af2f5a5
dateFormat X
axisFormat %s
section baseline
no_agent (1.363 ms) : 1343, 1383
. : milestone, 1363,
appsec (1.738 ms) : 1714, 1762
. : milestone, 1738,
appsec_no_iast (1.759 ms) : 1734, 1784
. : milestone, 1759,
iast (1.5 ms) : 1477, 1523
. : milestone, 1500,
profiling (1.54 ms) : 1515, 1565
. : milestone, 1540,
tracing (1.492 ms) : 1467, 1516
. : milestone, 1492,
section candidate
no_agent (1.344 ms) : 1324, 1364
. : milestone, 1344,
appsec (1.748 ms) : 1724, 1772
. : milestone, 1748,
appsec_no_iast (1.698 ms) : 1674, 1722
. : milestone, 1698,
iast (1.499 ms) : 1477, 1521
. : milestone, 1499,
profiling (1.525 ms) : 1503, 1548
. : milestone, 1525,
tracing (1.482 ms) : 1458, 1507
. : milestone, 1482,
Loading
  • baseline results
VariantRequest duration [CI 0.99]Δ no_agent
no_agent1.363 ms [1.343 ms, 1.383 ms]-
appsec1.738 ms [1.714 ms, 1.762 ms]375.056 µs (27.5%)
appsec_no_iast1.759 ms [1.734 ms, 1.784 ms]396.055 µs (29.1%)
iast1.5 ms [1.477 ms, 1.523 ms]136.536 µs (10.0%)
profiling1.54 ms [1.515 ms, 1.565 ms]176.89 µs (13.0%)
tracing1.492 ms [1.467 ms, 1.516 ms]128.362 µs (9.4%)
  • candidate results
VariantRequest duration [CI 0.99]Δ no_agent
no_agent1.344 ms [1.324 ms, 1.364 ms]-
appsec1.748 ms [1.724 ms, 1.772 ms]403.734 µs (30.0%)
appsec_no_iast1.698 ms [1.674 ms, 1.722 ms]354.12 µs (26.3%)
iast1.499 ms [1.477 ms, 1.521 ms]154.635 µs (11.5%)
profiling1.525 ms [1.503 ms, 1.548 ms]181.237 µs (13.5%)
tracing1.482 ms [1.458 ms, 1.507 ms]137.869 µs (10.3%)

Dacapo

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmasterandrea.marziali/messaging-naming-fix
git_commit_date17343865761734424053
git_commit_sha721af2f379790d
release_version1.45.0-SNAPSHOT~721af2f5a51.45.0-SNAPSHOT~379790dc37
See matching parameters
BaselineCandidate
applicationbiojavabiojava
ci_job_date17344262041734426204
ci_job_id741658894741658894
ci_pipeline_id5129473951294739
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
variantappsecappsec

Summary

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

Execution time for tomcat
gantt
title tomcat - execution time [CI 0.99] : candidate=1.45.0-SNAPSHOT~379790dc37, baseline=1.45.0-SNAPSHOT~721af2f5a5
dateFormat X
axisFormat %s
section baseline
no_agent (1.469 ms) : 1457, 1480
. : milestone, 1469,
appsec (2.341 ms) : 2300, 2382
. : milestone, 2341,
iast (2.081 ms) : 2028, 2134
. : milestone, 2081,
iast_GLOBAL (2.122 ms) : 2069, 2175
. : milestone, 2122,
profiling (1.969 ms) : 1926, 2013
. : milestone, 1969,
tracing (1.929 ms) : 1889, 1969
. : milestone, 1929,
section candidate
no_agent (1.468 ms) : 1456, 1479
. : milestone, 1468,
appsec (2.334 ms) : 2292, 2375
. : milestone, 2334,
iast (2.079 ms) : 2026, 2131
. : milestone, 2079,
iast_GLOBAL (2.12 ms) : 2067, 2173
. : milestone, 2120,
profiling (1.949 ms) : 1907, 1991
. : milestone, 1949,
tracing (1.92 ms) : 1880, 1960
. : milestone, 1920,
Loading
  • baseline results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent1.469 ms [1.457 ms, 1.48 ms]-
appsec2.341 ms [2.3 ms, 2.382 ms]872.248 µs (59.4%)
iast2.081 ms [2.028 ms, 2.134 ms]612.27 µs (41.7%)
iast_GLOBAL2.122 ms [2.069 ms, 2.175 ms]652.878 µs (44.5%)
profiling1.969 ms [1.926 ms, 2.013 ms]500.469 µs (34.1%)
tracing1.929 ms [1.889 ms, 1.969 ms]460.258 µs (31.3%)
  • candidate results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent1.468 ms [1.456 ms, 1.479 ms]-
appsec2.334 ms [2.292 ms, 2.375 ms]865.977 µs (59.0%)
iast2.079 ms [2.026 ms, 2.131 ms]611.039 µs (41.6%)
iast_GLOBAL2.12 ms [2.067 ms, 2.173 ms]652.127 µs (44.4%)
profiling1.949 ms [1.907 ms, 1.991 ms]481.479 µs (32.8%)
tracing1.92 ms [1.88 ms, 1.96 ms]452.063 µs (30.8%)
Execution time for biojava
gantt
title biojava - execution time [CI 0.99] : candidate=1.45.0-SNAPSHOT~379790dc37, baseline=1.45.0-SNAPSHOT~721af2f5a5
dateFormat X
axisFormat %s
section baseline
no_agent (15.615 s) : 15615000, 15615000
. : milestone, 15615000,
appsec (15.08 s) : 15080000, 15080000
. : milestone, 15080000,
iast (18.873 s) : 18873000, 18873000
. : milestone, 18873000,
iast_GLOBAL (17.949 s) : 17949000, 17949000
. : milestone, 17949000,
profiling (15.177 s) : 15177000, 15177000
. : milestone, 15177000,
tracing (15.003 s) : 15003000, 15003000
. : milestone, 15003000,
section candidate
no_agent (15.497 s) : 15497000, 15497000
. : milestone, 15497000,
appsec (15.141 s) : 15141000, 15141000
. : milestone, 15141000,
iast (18.734 s) : 18734000, 18734000
. : milestone, 18734000,
iast_GLOBAL (17.868 s) : 17868000, 17868000
. : milestone, 17868000,
profiling (15.008 s) : 15008000, 15008000
. : milestone, 15008000,
tracing (15.299 s) : 15299000, 15299000
. : milestone, 15299000,
Loading
  • baseline results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent15.615 s [15.615 s, 15.615 s]-
appsec15.08 s [15.08 s, 15.08 s]-535.0 ms (-3.4%)
iast18.873 s [18.873 s, 18.873 s]3.258 s (20.9%)
iast_GLOBAL17.949 s [17.949 s, 17.949 s]2.334 s (14.9%)
profiling15.177 s [15.177 s, 15.177 s]-438.0 ms (-2.8%)
tracing15.003 s [15.003 s, 15.003 s]-612.0 ms (-3.9%)
  • candidate results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent15.497 s [15.497 s, 15.497 s]-
appsec15.141 s [15.141 s, 15.141 s]-356.0 ms (-2.3%)
iast18.734 s [18.734 s, 18.734 s]3.237 s (20.9%)
iast_GLOBAL17.868 s [17.868 s, 17.868 s]2.371 s (15.3%)
profiling15.008 s [15.008 s, 15.008 s]-489.0 ms (-3.2%)
tracing15.299 s [15.299 s, 15.299 s]-198.0 ms (-1.3%)

@amarziali
amarziali marked this pull request as draft December 13, 2024 14:59
@pr-commenter

pr-commenterBot commented Dec 13, 2024

Copy link
Copy Markdown

Kafka / consumer-benchmark

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmasterandrea.marziali/messaging-naming-fix
git_commit_date17343483441734424053
git_commit_sha52aeeec379790d
See matching parameters
BaselineCandidate
ci_job_date17344255381734425538
ci_job_id741658897741658897
ci_pipeline_id5129473951294739
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
jdkVersion11.0.2511.0.25
jmhVersion1.361.36
jvm/usr/lib/jvm/java-11-openjdk-amd64/bin/java/usr/lib/jvm/java-11-openjdk-amd64/bin/java
jvmArgs-Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/consumer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant-Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/consumer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant
vmNameOpenJDK 64-Bit Server VMOpenJDK 64-Bit Server VM
vmVersion11.0.25+9-post-Ubuntu-1ubuntu122.0411.0.25+9-post-Ubuntu-1ubuntu122.04

Summary

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

scenarioΔ mean throughput
scenario:only-tracing-dsm-disabled-benchmarks/KafkaConsumerBenchmark.benchConsumeworse
[-16965.259op/s; -3746.642op/s] or [-5.468%; -1.208%]
See unchanged results
scenarioΔ mean throughput
scenario:not-instrumented/KafkaConsumerBenchmark.benchConsumesame
scenario:only-tracing-dsm-enabled-benchmarks/KafkaConsumerBenchmark.benchConsumesame

@amarziali
amarzialiforce-pushed the andrea.marziali/messaging-naming-fix branch 2 times, most recently from ef7020c to 52979d5CompareDecember 16, 2024 15:49
@amarziali
amarziali marked this pull request as ready for review December 16, 2024 15:49
@amarziali
amarzialiforce-pushed the andrea.marziali/messaging-naming-fix branch from 52979d5 to 379790dCompareDecember 17, 2024 08:27
public String get() {
final String contextual = ClassloaderServiceNames.maybeGetForCurrentThread();
if (contextual != null) {
ServiceNameCollector.get().addService(contextual);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not directly related to this PR, but ServiceNameCollector could be made more performant - right now every call to addService can result in a new string being allocated because it lower-cases the keys on insert in order to provide a unique collection of service names from getServices, while retaining the original case.

But ServiceNameCollector.getServices is only called occasionally from the remote-config thread, while addService may be called a lot. So it would be better for ServiceNameCollector to do de-duplication in getServices and keep addService as simple and quick as possible, ideally using putIfAbsent to avoid updating the entry if the key already exists.

If we want to keep the de-duplication on insert then the other option would be to use a ConcurrentSkipListMap with a String.CASE_INSENSITIVE_ORDER comparator.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Addressed in #8109

@mccullsmcculls left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1 left a comment about improving ServiceNameCollector performance (can be done in a follow-up PR)

@amarziali

Copy link
Copy Markdown
ContributorAuthor

+1 left a comment about improving ServiceNameCollector performance (can be done in a follow-up PR)

Thanks for having suggested next steps. I'm working at that

@amarziali
amarziali merged commit a19f73a into masterDec 18, 2024
@amarziali
amarziali deleted the andrea.marziali/messaging-naming-fix branch December 18, 2024 10:29
@github-actionsgithub-actionsBot added this to the 1.45.0 milestone Dec 18, 2024
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Jan 9, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
|
[com.google.api.grpc:proto-google-common-protos](https://github.com/googleapis/sdk-platform-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.50.0` -> `2.50.1` |
|
[com.google.cloud:google-cloud-core-http](https://github.com/googleapis/sdk-platform-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.49.0` -> `2.49.1` |
|
[com.google.cloud:google-cloud-core](https://github.com/googleapis/sdk-platform-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.49.0` -> `2.49.1` |
| [com.google.api:gax](https://github.com/googleapis/sdk-platform-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.59.0` -> `2.59.1` |
| [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.44.1` -> `1.45.0` |
| [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.44.1` -> `1.45.0` |
| [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.47` -> `2.29.48` |
|
[software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.47` -> `2.29.48` |
| [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.47` -> `2.29.48` |
| [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.47` -> `2.29.48` |
| [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.47` -> `2.29.48` |
| [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.47` -> `2.29.48` |
---
### Release Notes
<details>
<summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary>
###
[`v1.45.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.45.0):
1.45.0
##### Breaking changes
> \[!WARNING]\
> Support for custom scope manager using OpenTelemetry tracer artifact
(`dd-trace-ot`) is dropped.
> Tracing with OpenTracing API and custom scope manager will continue to
work on 1.44.x releases.
##### Components
##### Application Security Management (IAST)
- ✨ Add propagation to URI#toURL method
([#&#8203;8146](DataDog/dd-trace-java#8146) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Increase IAST propagation to StringBuilder setLength
([#&#8203;8119](DataDog/dd-trace-java#8119) -
[@&#8203;Mariovido](https://github.com/Mariovido))
- ✨ Increase IAST propagation to StringBuffer append
([#&#8203;8082](DataDog/dd-trace-java#8082) -
[@&#8203;Mariovido](https://github.com/Mariovido))
- ✨ Handle IAST security controls custom validation and
sanitization methods
([#&#8203;7997](DataDog/dd-trace-java#7997) -
[@&#8203;jandro996](https://github.com/jandro996))
##### Application Security Management (WAF)
- ✨ Update user lifecycle tracking to V3
([#&#8203;8108](DataDog/dd-trace-java#8108) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Exploit prevention for Shell Injection / Command Injection
([#&#8203;7615](DataDog/dd-trace-java#7615) -
[@&#8203;jandro996](https://github.com/jandro996))
##### Build & Tooling
- 💡 Support instrumentation of repackaged libraries
([#&#8203;8153](DataDog/dd-trace-java#8153) -
[@&#8203;mcculls](https://github.com/mcculls))
- ✨ Configure native image build setting for JDK-22 based
GraalVM
([#&#8203;8092](DataDog/dd-trace-java#8092) -
[@&#8203;MattAlp](https://github.com/MattAlp))
##### Database Monitoring
- ✨ Add full APM/DBM mode for Oracle
([#&#8203;8090](DataDog/dd-trace-java#8090) -
[@&#8203;nenadnoveljic](https://github.com/nenadnoveljic))
##### Dynamic Instrumentation
- 🐛 make local var hoisting disabled by default
([#&#8203;8158](DataDog/dd-trace-java#8158) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Fix var hoisting issue when no previous store
([#&#8203;8122](DataDog/dd-trace-java#8122) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Only decorate spans without code origin information
([#&#8203;8105](DataDog/dd-trace-java#8105) -
[@&#8203;evanchooly](https://github.com/evanchooly))
- 🐛 Fix suspend Kotlin methods instrumentation
([#&#8203;8080](DataDog/dd-trace-java#8080) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Fix class file version detection
([#&#8203;8057](DataDog/dd-trace-java#8057) -
[@&#8203;jpbempel](https://github.com/jpbempel))
##### GraalVM native-image
- ✨ Configure native image build setting for JDK-22 based
GraalVM
([#&#8203;8092](DataDog/dd-trace-java#8092) -
[@&#8203;MattAlp](https://github.com/MattAlp))
##### ML Observability (LLMObs)
- ✨🧪 Add LLMObs configuration
([#&#8203;8076](DataDog/dd-trace-java#8076) -
[@&#8203;gary-huang](https://github.com/gary-huang))
##### Metrics
- Bump integrations-core submodule to 7.60.0
([#&#8203;8098](DataDog/dd-trace-java#8098) -
[@&#8203;mcculls](https://github.com/mcculls))
- Upgrade to java-dogstatsd-client v4.4.3
([#&#8203;8096](DataDog/dd-trace-java#8096) -
[@&#8203;mcculls](https://github.com/mcculls))
##### OpenTracing
- ⚠️🧹 Remove custom scope manager support
([#&#8203;8164](DataDog/dd-trace-java#8164) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
##### Telemetry
- ✨ Retry telemetry requests if CI Visibility is enabled
([#&#8203;8147](DataDog/dd-trace-java#8147) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨ Add configurable Dependency service resolution period
([#&#8203;8079](DataDog/dd-trace-java#8079) -
[@&#8203;jandro996](https://github.com/jandro996))
##### Testing
- 🐛 Remove restriction to not run vertx4 latest tests on java 17
([#&#8203;8133](DataDog/dd-trace-java#8133) -
[@&#8203;vandonr](https://github.com/vandonr))
##### Tracer core
- ✨ Defer remote components to avoid OkHttp class-loading
side-effects
([#&#8203;8131](DataDog/dd-trace-java#8131) -
[@&#8203;mcculls](https://github.com/mcculls))
- ✨ Improve Context API null handling and Javadoc
([#&#8203;8129](DataDog/dd-trace-java#8129) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- 🐛⚡ Avoid performing blocking I/O operation on application
thread
([#&#8203;8120](DataDog/dd-trace-java#8120) -
[@&#8203;mcculls](https://github.com/mcculls))
- 💡 Introduce a shared context component, independent of tracing
([#&#8203;8117](DataDog/dd-trace-java#8117) -
[@&#8203;mcculls](https://github.com/mcculls))
- ✨ Improves ServiceNameCollector
([#&#8203;8109](DataDog/dd-trace-java#8109) -
[@&#8203;amarziali](https://github.com/amarziali))
- Upgrade to ASM 9.7.1 (adds new constant for Java 24)
([#&#8203;8097](DataDog/dd-trace-java#8097) -
[@&#8203;mcculls](https://github.com/mcculls))
- 🐛 Dynamically evaluate service name for message consumers
([#&#8203;8088](DataDog/dd-trace-java#8088) -
[@&#8203;amarziali](https://github.com/amarziali))
##### Serverless
- 🐛 Add avoid double instrumenting lambda non-streaming handlers.
([#&#8203;8073](DataDog/dd-trace-java#8073) -
[@&#8203;purple4reina](https://github.com/purple4reina))
##### Instrumentations
##### AWS SDK instrumentation
- 💡 Instrument EMR's relocated AWS SDK
([#&#8203;8157](DataDog/dd-trace-java#8157) -
[@&#8203;mcculls](https://github.com/mcculls))
##### Eclipse Vert.x instrumentation
- 🐛 Remove restriction to not run vertx4 latest tests on java 17
([#&#8203;8133](DataDog/dd-trace-java#8133) -
[@&#8203;vandonr](https://github.com/vandonr))
##### JDBC instrumentation
- ✨ Add full APM/DBM mode for Oracle
([#&#8203;8090](DataDog/dd-trace-java#8090) -
[@&#8203;nenadnoveljic](https://github.com/nenadnoveljic))
##### Jetty instrumentation
- 🐛 Ensure jetty 12 has servlet.path starting with /
([#&#8203;8093](DataDog/dd-trace-java#8093) -
[@&#8203;github-actions](https://github.com/github-actions)\[bot])
##### JMS instrumentation
- 🧹 Re-use `javax` JMS module for `jakarta` namespace
([#&#8203;8155](DataDog/dd-trace-java#8155) -
[@&#8203;mcculls](https://github.com/mcculls))
- 🧹 Group `javax.jms` instrumentations under a single module
([#&#8203;8154](DataDog/dd-trace-java#8154) -
[@&#8203;mcculls](https://github.com/mcculls))
##### Reactor instrumentation
- 🐛 Reactor: early propagate span in context when subscribing
([#&#8203;8166](DataDog/dd-trace-java#8166) -
[@&#8203;amarziali](https://github.com/amarziali))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am
every weekday" in timezone Australia/Melbourne, Automerge - At any time
(no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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: ba2355aa4e2e39ab1fee27319cc4176238efd90b
eizus pushed a commit to cdrxyz/misk that referenced this pull request Jul 18, 2026
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
|
[com.google.api.grpc:proto-google-common-protos](https://github.com/googleapis/sdk-platform-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.50.0` -> `2.50.1` |
|
[com.google.cloud:google-cloud-core-http](https://github.com/googleapis/sdk-platform-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.49.0` -> `2.49.1` |
|
[com.google.cloud:google-cloud-core](https://github.com/googleapis/sdk-platform-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.49.0` -> `2.49.1` |
| [com.google.api:gax](https://github.com/googleapis/sdk-platform-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.59.0` -> `2.59.1` |
| [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.44.1` -> `1.45.0` |
| [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.44.1` -> `1.45.0` |
| [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.47` -> `2.29.48` |
|
[software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.47` -> `2.29.48` |
| [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.47` -> `2.29.48` |
| [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.47` -> `2.29.48` |
| [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.47` -> `2.29.48` |
| [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.47` -> `2.29.48` |
---
### Release Notes
<details>
<summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary>
###
[`v1.45.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.45.0):
1.45.0
##### Breaking changes
> \[!WARNING]\
> Support for custom scope manager using OpenTelemetry tracer artifact
(`dd-trace-ot`) is dropped.
> Tracing with OpenTracing API and custom scope manager will continue to
work on 1.44.x releases.
##### Components
##### Application Security Management (IAST)
- ✨ Add propagation to URI#toURL method
([#&#8203;8146](DataDog/dd-trace-java#8146) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Increase IAST propagation to StringBuilder setLength
([#&#8203;8119](DataDog/dd-trace-java#8119) -
[@&#8203;Mariovido](https://github.com/Mariovido))
- ✨ Increase IAST propagation to StringBuffer append
([#&#8203;8082](DataDog/dd-trace-java#8082) -
[@&#8203;Mariovido](https://github.com/Mariovido))
- ✨ Handle IAST security controls custom validation and
sanitization methods
([#&#8203;7997](DataDog/dd-trace-java#7997) -
[@&#8203;jandro996](https://github.com/jandro996))
##### Application Security Management (WAF)
- ✨ Update user lifecycle tracking to V3
([#&#8203;8108](DataDog/dd-trace-java#8108) -
[@&#8203;manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez))
- ✨ Exploit prevention for Shell Injection / Command Injection
([#&#8203;7615](DataDog/dd-trace-java#7615) -
[@&#8203;jandro996](https://github.com/jandro996))
##### Build & Tooling
- 💡 Support instrumentation of repackaged libraries
([#&#8203;8153](DataDog/dd-trace-java#8153) -
[@&#8203;mcculls](https://github.com/mcculls))
- ✨ Configure native image build setting for JDK-22 based
GraalVM
([#&#8203;8092](DataDog/dd-trace-java#8092) -
[@&#8203;MattAlp](https://github.com/MattAlp))
##### Database Monitoring
- ✨ Add full APM/DBM mode for Oracle
([#&#8203;8090](DataDog/dd-trace-java#8090) -
[@&#8203;nenadnoveljic](https://github.com/nenadnoveljic))
##### Dynamic Instrumentation
- 🐛 make local var hoisting disabled by default
([#&#8203;8158](DataDog/dd-trace-java#8158) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Fix var hoisting issue when no previous store
([#&#8203;8122](DataDog/dd-trace-java#8122) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- ✨ Only decorate spans without code origin information
([#&#8203;8105](DataDog/dd-trace-java#8105) -
[@&#8203;evanchooly](https://github.com/evanchooly))
- 🐛 Fix suspend Kotlin methods instrumentation
([#&#8203;8080](DataDog/dd-trace-java#8080) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Fix class file version detection
([#&#8203;8057](DataDog/dd-trace-java#8057) -
[@&#8203;jpbempel](https://github.com/jpbempel))
##### GraalVM native-image
- ✨ Configure native image build setting for JDK-22 based
GraalVM
([#&#8203;8092](DataDog/dd-trace-java#8092) -
[@&#8203;MattAlp](https://github.com/MattAlp))
##### ML Observability (LLMObs)
- ✨🧪 Add LLMObs configuration
([#&#8203;8076](DataDog/dd-trace-java#8076) -
[@&#8203;gary-huang](https://github.com/gary-huang))
##### Metrics
- Bump integrations-core submodule to 7.60.0
([#&#8203;8098](DataDog/dd-trace-java#8098) -
[@&#8203;mcculls](https://github.com/mcculls))
- Upgrade to java-dogstatsd-client v4.4.3
([#&#8203;8096](DataDog/dd-trace-java#8096) -
[@&#8203;mcculls](https://github.com/mcculls))
##### OpenTracing
- ⚠️🧹 Remove custom scope manager support
([#&#8203;8164](DataDog/dd-trace-java#8164) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
##### Telemetry
- ✨ Retry telemetry requests if CI Visibility is enabled
([#&#8203;8147](DataDog/dd-trace-java#8147) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨ Add configurable Dependency service resolution period
([#&#8203;8079](DataDog/dd-trace-java#8079) -
[@&#8203;jandro996](https://github.com/jandro996))
##### Testing
- 🐛 Remove restriction to not run vertx4 latest tests on java 17
([#&#8203;8133](DataDog/dd-trace-java#8133) -
[@&#8203;vandonr](https://github.com/vandonr))
##### Tracer core
- ✨ Defer remote components to avoid OkHttp class-loading
side-effects
([#&#8203;8131](DataDog/dd-trace-java#8131) -
[@&#8203;mcculls](https://github.com/mcculls))
- ✨ Improve Context API null handling and Javadoc
([#&#8203;8129](DataDog/dd-trace-java#8129) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- 🐛⚡ Avoid performing blocking I/O operation on application
thread
([#&#8203;8120](DataDog/dd-trace-java#8120) -
[@&#8203;mcculls](https://github.com/mcculls))
- 💡 Introduce a shared context component, independent of tracing
([#&#8203;8117](DataDog/dd-trace-java#8117) -
[@&#8203;mcculls](https://github.com/mcculls))
- ✨ Improves ServiceNameCollector
([#&#8203;8109](DataDog/dd-trace-java#8109) -
[@&#8203;amarziali](https://github.com/amarziali))
- Upgrade to ASM 9.7.1 (adds new constant for Java 24)
([#&#8203;8097](DataDog/dd-trace-java#8097) -
[@&#8203;mcculls](https://github.com/mcculls))
- 🐛 Dynamically evaluate service name for message consumers
([#&#8203;8088](DataDog/dd-trace-java#8088) -
[@&#8203;amarziali](https://github.com/amarziali))
##### Serverless
- 🐛 Add avoid double instrumenting lambda non-streaming handlers.
([#&#8203;8073](DataDog/dd-trace-java#8073) -
[@&#8203;purple4reina](https://github.com/purple4reina))
##### Instrumentations
##### AWS SDK instrumentation
- 💡 Instrument EMR's relocated AWS SDK
([#&#8203;8157](DataDog/dd-trace-java#8157) -
[@&#8203;mcculls](https://github.com/mcculls))
##### Eclipse Vert.x instrumentation
- 🐛 Remove restriction to not run vertx4 latest tests on java 17
([#&#8203;8133](DataDog/dd-trace-java#8133) -
[@&#8203;vandonr](https://github.com/vandonr))
##### JDBC instrumentation
- ✨ Add full APM/DBM mode for Oracle
([#&#8203;8090](DataDog/dd-trace-java#8090) -
[@&#8203;nenadnoveljic](https://github.com/nenadnoveljic))
##### Jetty instrumentation
- 🐛 Ensure jetty 12 has servlet.path starting with /
([#&#8203;8093](DataDog/dd-trace-java#8093) -
[@&#8203;github-actions](https://github.com/github-actions)\[bot])
##### JMS instrumentation
- 🧹 Re-use `javax` JMS module for `jakarta` namespace
([#&#8203;8155](DataDog/dd-trace-java#8155) -
[@&#8203;mcculls](https://github.com/mcculls))
- 🧹 Group `javax.jms` instrumentations under a single module
([#&#8203;8154](DataDog/dd-trace-java#8154) -
[@&#8203;mcculls](https://github.com/mcculls))
##### Reactor instrumentation
- 🐛 Reactor: early propagate span in context when subscribing
([#&#8203;8166](DataDog/dd-trace-java#8166) -
[@&#8203;amarziali](https://github.com/amarziali))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am
every weekday" in timezone Australia/Melbourne, Automerge - At any time
(no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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: ba2355aa4e2e39ab1fee27319cc4176238efd90b
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: coreTracer coretype: bug fixBug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@amarziali@mcculls