Skip to content

Fix Oracle DBM trace correlation#10829

Open
azhou-datadog wants to merge 2 commits intomasterfrom
allen.zhou/oracle-java-tracer
Open

Fix Oracle DBM trace correlation#10829
azhou-datadog wants to merge 2 commits intomasterfrom
allen.zhou/oracle-java-tracer

Conversation

@azhou-datadog
Copy link

What Does This Do

Fix Oracle DBM trace correlation by injecting the database instance name into dddbs and dddb SQL comment tags instead of the generic type string and null.

Motivation

https://datadoghq.atlassian.net/browse/SDBM-2434

On the APM service page, Oracle-backed services show broken DBM trace correlation:

  • @trace.span.service = "oracle" — the generic JDBC type string, not the database name
  • @trace.span.peer_db_name — always empty

Checked the oracle integration and backend pipeline are correct. The Java tracer is injecting the wrong values.

Root cause

Two bugs in the SQL comment injection path:

Bug 1 — dddbs='oracle' instead of the instance name:
getDbService() called dbService(type, instance) which, when split-by-instance=false (the default), ignores the
instance name and returns the type-based cache entry ("oracle").

Bug 2 — dddb always absent:
Both injection sites passed dbInfo.getDb() for the dddb tag. For Oracle, the JDBC URL parser sets instance only —
getDb() is always null — so dddb was silently skipped by SQLCommenter.

Fix

  • JDBCDecorator.getDbService(): if dbInfo.getInstance() is non-null, return it directly instead of going through the
    type-based naming cache. Uses getInstance() (not the dbInstance() fallback to getDb()) so databases like SQL Server
    that carry identity in getDb() are unaffected.
  • JDBCDecorator.getDbInstance(): new public accessor wrapping the protected dbInstance() method (returns instance ??
    db).
  • StatementInstrumentation: dddbs now uses DECORATE.getDbService(dbInfo) + service mapping (was
    span.getServiceName()); dddb now uses DECORATE.getDbInstance(dbInfo) (was dbInfo.getDb()).
  • DBMCompatibleConnectionInstrumentation: dddb now uses DECORATE.getDbInstance(dbInfo) (was dbInfo.getDb()).

Result

Oracle connections now inject:
/ddps='my-service',dddbs='freepdb1',ddh='localhost',dddb='freepdb1'/
instead of:
/ddps='my-service',dddbs='oracle',ddh='localhost'/

Testing

  • Added OracleInjectionForkedTest — two unit-level forked tests (prepared statement + single statement) asserting the
    correct comment format against a mock Oracle connection.
  • Added RemoteDBMTraceInjectedForkedTest#Oracle DBM comment... — an end-to-end test that spins up a real Oracle
    container (Testcontainers), runs a query, then queries v$sql as system to verify the exact SQL text Oracle received
    contains dddbs='freepdb1' and dddb='freepdb1' and does not contain dddbs='oracle'.

Additional Notes

Contributor Checklist

Jira ticket: https://datadoghq.atlassian.net/browse/SDBM-2434

Note: Once your PR is ready to merge, add it to the merge queue by commenting /merge. /merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

…ame into dddbs and dddb SQL comment tags instead of the generic type string and null
@azhou-datadog azhou-datadog requested a review from a team as a code owner March 12, 2026 19:30
@azhou-datadog azhou-datadog added the comp: database Database Monitoring label Mar 12, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 12, 2026

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.

@pr-commenter
Copy link

pr-commenter bot commented Mar 12, 2026

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master allen.zhou/oracle-java-tracer
git_commit_date 1773331955 1773343941
git_commit_sha 1d0b64d 48487e2
release_version 1.61.0-SNAPSHOT~1d0b64dbdb 1.61.0-SNAPSHOT~48487e281e
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1773345610 1773345610
ci_job_id 1502176518 1502176518
ci_pipeline_id 102236080 102236080
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-1-weo65yq5 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-1-weo65yq5 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None

Summary

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

Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.61.0-SNAPSHOT~48487e281e, baseline=1.61.0-SNAPSHOT~1d0b64dbdb

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.073 s) : 0, 1073232
Total [baseline] (11.179 s) : 0, 11179222
Agent [candidate] (1.06 s) : 0, 1059502
Total [candidate] (10.965 s) : 0, 10964704
section appsec
Agent [baseline] (1.252 s) : 0, 1252314
Total [baseline] (11.186 s) : 0, 11186390
Agent [candidate] (1.244 s) : 0, 1243951
Total [candidate] (11.061 s) : 0, 11060705
section iast
Agent [baseline] (1.225 s) : 0, 1225312
Total [baseline] (11.296 s) : 0, 11296264
Agent [candidate] (1.225 s) : 0, 1224926
Total [candidate] (11.253 s) : 0, 11252545
section profiling
Agent [baseline] (1.181 s) : 0, 1180756
Total [baseline] (11.059 s) : 0, 11058994
Agent [candidate] (1.182 s) : 0, 1181590
Total [candidate] (11.038 s) : 0, 11038240
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.073 s -
Agent appsec 1.252 s 179.083 ms (16.7%)
Agent iast 1.225 s 152.081 ms (14.2%)
Agent profiling 1.181 s 107.525 ms (10.0%)
Total tracing 11.179 s -
Total appsec 11.186 s 7.168 ms (0.1%)
Total iast 11.296 s 117.042 ms (1.0%)
Total profiling 11.059 s -120.228 ms (-1.1%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.06 s -
Agent appsec 1.244 s 184.449 ms (17.4%)
Agent iast 1.225 s 165.425 ms (15.6%)
Agent profiling 1.182 s 122.088 ms (11.5%)
Total tracing 10.965 s -
Total appsec 11.061 s 96.001 ms (0.9%)
Total iast 11.253 s 287.841 ms (2.6%)
Total profiling 11.038 s 73.536 ms (0.7%)
gantt
    title petclinic - break down per module: candidate=1.61.0-SNAPSHOT~48487e281e, baseline=1.61.0-SNAPSHOT~1d0b64dbdb

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.215 ms) : 0, 1215
crashtracking [candidate] (1.19 ms) : 0, 1190
BytebuddyAgent [baseline] (636.733 ms) : 0, 636733
BytebuddyAgent [candidate] (629.049 ms) : 0, 629049
AgentMeter [baseline] (29.517 ms) : 0, 29517
AgentMeter [candidate] (29.052 ms) : 0, 29052
GlobalTracer [baseline] (259.61 ms) : 0, 259610
GlobalTracer [candidate] (257.452 ms) : 0, 257452
AppSec [baseline] (31.941 ms) : 0, 31941
AppSec [candidate] (31.451 ms) : 0, 31451
Debugger [baseline] (60.24 ms) : 0, 60240
Debugger [candidate] (59.333 ms) : 0, 59333
Remote Config [baseline] (615.862 µs) : 0, 616
Remote Config [candidate] (614.879 µs) : 0, 615
Telemetry [baseline] (8.765 ms) : 0, 8765
Telemetry [candidate] (8.7 ms) : 0, 8700
Flare Poller [baseline] (8.212 ms) : 0, 8212
Flare Poller [candidate] (6.577 ms) : 0, 6577
section appsec
crashtracking [baseline] (1.203 ms) : 0, 1203
crashtracking [candidate] (1.193 ms) : 0, 1193
BytebuddyAgent [baseline] (661.36 ms) : 0, 661360
BytebuddyAgent [candidate] (656.867 ms) : 0, 656867
AgentMeter [baseline] (12.083 ms) : 0, 12083
AgentMeter [candidate] (12.05 ms) : 0, 12050
GlobalTracer [baseline] (259.289 ms) : 0, 259289
GlobalTracer [candidate] (257.777 ms) : 0, 257777
AppSec [baseline] (178.242 ms) : 0, 178242
AppSec [candidate] (177.181 ms) : 0, 177181
Debugger [baseline] (66.39 ms) : 0, 66390
Debugger [candidate] (65.435 ms) : 0, 65435
Remote Config [baseline] (570.423 µs) : 0, 570
Remote Config [candidate] (572.644 µs) : 0, 573
Telemetry [baseline] (9.031 ms) : 0, 9031
Telemetry [candidate] (8.996 ms) : 0, 8996
Flare Poller [baseline] (3.654 ms) : 0, 3654
Flare Poller [candidate] (3.611 ms) : 0, 3611
IAST [baseline] (24.129 ms) : 0, 24129
IAST [candidate] (24.006 ms) : 0, 24006
section iast
crashtracking [baseline] (1.182 ms) : 0, 1182
crashtracking [candidate] (1.195 ms) : 0, 1195
BytebuddyAgent [baseline] (795.005 ms) : 0, 795005
BytebuddyAgent [candidate] (794.361 ms) : 0, 794361
AgentMeter [baseline] (11.31 ms) : 0, 11310
AgentMeter [candidate] (11.297 ms) : 0, 11297
GlobalTracer [baseline] (247.076 ms) : 0, 247076
GlobalTracer [candidate] (246.73 ms) : 0, 246730
AppSec [baseline] (26.358 ms) : 0, 26358
AppSec [candidate] (26.431 ms) : 0, 26431
Debugger [baseline] (64.49 ms) : 0, 64490
Debugger [candidate] (64.866 ms) : 0, 64866
Remote Config [baseline] (514.176 µs) : 0, 514
Remote Config [candidate] (522.587 µs) : 0, 523
Telemetry [baseline] (13.621 ms) : 0, 13621
Telemetry [candidate] (13.774 ms) : 0, 13774
Flare Poller [baseline] (4.621 ms) : 0, 4621
Flare Poller [candidate] (4.587 ms) : 0, 4587
IAST [baseline] (25.09 ms) : 0, 25090
IAST [candidate] (25.098 ms) : 0, 25098
section profiling
ProfilingAgent [baseline] (94.219 ms) : 0, 94219
ProfilingAgent [candidate] (93.975 ms) : 0, 93975
crashtracking [baseline] (1.17 ms) : 0, 1170
crashtracking [candidate] (1.163 ms) : 0, 1163
BytebuddyAgent [baseline] (681.155 ms) : 0, 681155
BytebuddyAgent [candidate] (682.031 ms) : 0, 682031
AgentMeter [baseline] (8.66 ms) : 0, 8660
AgentMeter [candidate] (8.673 ms) : 0, 8673
GlobalTracer [baseline] (215.503 ms) : 0, 215503
GlobalTracer [candidate] (215.54 ms) : 0, 215540
AppSec [baseline] (31.87 ms) : 0, 31870
AppSec [candidate] (32.041 ms) : 0, 32041
Debugger [baseline] (63.565 ms) : 0, 63565
Debugger [candidate] (64.455 ms) : 0, 64455
Remote Config [baseline] (576.534 µs) : 0, 577
Remote Config [candidate] (575.7 µs) : 0, 576
Telemetry [baseline] (8.987 ms) : 0, 8987
Telemetry [candidate] (8.908 ms) : 0, 8908
Flare Poller [baseline] (4.28 ms) : 0, 4280
Flare Poller [candidate] (3.497 ms) : 0, 3497
Profiling [baseline] (94.781 ms) : 0, 94781
Profiling [candidate] (94.536 ms) : 0, 94536
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.61.0-SNAPSHOT~48487e281e, baseline=1.61.0-SNAPSHOT~1d0b64dbdb

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.061 s) : 0, 1061195
Total [baseline] (8.81 s) : 0, 8810065
Agent [candidate] (1.06 s) : 0, 1060460
Total [candidate] (8.828 s) : 0, 8828226
section iast
Agent [baseline] (1.225 s) : 0, 1225364
Total [baseline] (9.576 s) : 0, 9575687
Agent [candidate] (1.225 s) : 0, 1224889
Total [candidate] (9.569 s) : 0, 9568675
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.061 s -
Agent iast 1.225 s 164.169 ms (15.5%)
Total tracing 8.81 s -
Total iast 9.576 s 765.623 ms (8.7%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.06 s -
Agent iast 1.225 s 164.429 ms (15.5%)
Total tracing 8.828 s -
Total iast 9.569 s 740.448 ms (8.4%)
gantt
    title insecure-bank - break down per module: candidate=1.61.0-SNAPSHOT~48487e281e, baseline=1.61.0-SNAPSHOT~1d0b64dbdb

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.22 ms) : 0, 1220
crashtracking [candidate] (1.207 ms) : 0, 1207
BytebuddyAgent [baseline] (630.445 ms) : 0, 630445
BytebuddyAgent [candidate] (628.36 ms) : 0, 628360
AgentMeter [baseline] (29.168 ms) : 0, 29168
AgentMeter [candidate] (29.057 ms) : 0, 29057
GlobalTracer [baseline] (257.633 ms) : 0, 257633
GlobalTracer [candidate] (257.671 ms) : 0, 257671
AppSec [baseline] (31.694 ms) : 0, 31694
AppSec [candidate] (31.566 ms) : 0, 31566
Debugger [baseline] (58.947 ms) : 0, 58947
Debugger [candidate] (58.719 ms) : 0, 58719
Remote Config [baseline] (621.443 µs) : 0, 621
Remote Config [candidate] (603.632 µs) : 0, 604
Telemetry [baseline] (8.749 ms) : 0, 8749
Telemetry [candidate] (8.625 ms) : 0, 8625
Flare Poller [baseline] (6.45 ms) : 0, 6450
Flare Poller [candidate] (8.666 ms) : 0, 8666
section iast
crashtracking [baseline] (1.197 ms) : 0, 1197
crashtracking [candidate] (1.196 ms) : 0, 1196
BytebuddyAgent [baseline] (794.118 ms) : 0, 794118
BytebuddyAgent [candidate] (793.849 ms) : 0, 793849
AgentMeter [baseline] (11.342 ms) : 0, 11342
AgentMeter [candidate] (11.312 ms) : 0, 11312
GlobalTracer [baseline] (247.25 ms) : 0, 247250
GlobalTracer [candidate] (247.3 ms) : 0, 247300
IAST [baseline] (25.199 ms) : 0, 25199
IAST [candidate] (25.105 ms) : 0, 25105
AppSec [baseline] (27.299 ms) : 0, 27299
AppSec [candidate] (26.377 ms) : 0, 26377
Debugger [baseline] (62.444 ms) : 0, 62444
Debugger [candidate] (63.213 ms) : 0, 63213
Remote Config [baseline] (514.179 µs) : 0, 514
Remote Config [candidate] (524.381 µs) : 0, 524
Telemetry [baseline] (14.94 ms) : 0, 14940
Telemetry [candidate] (15.056 ms) : 0, 15056
Flare Poller [baseline] (4.907 ms) : 0, 4907
Flare Poller [candidate] (4.909 ms) : 0, 4909
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master allen.zhou/oracle-java-tracer
git_commit_date 1773331955 1773343941
git_commit_sha 1d0b64d 48487e2
release_version 1.61.0-SNAPSHOT~1d0b64dbdb 1.61.0-SNAPSHOT~48487e281e
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1773346085 1773346085
ci_job_id 1502176520 1502176520
ci_pipeline_id 102236080 102236080
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-1-h62mxvao 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-1-h62mxvao 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

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

scenario Δ mean agg_http_req_duration_p50 Δ mean agg_http_req_duration_p95 Δ mean throughput candidate mean agg_http_req_duration_p50 candidate mean agg_http_req_duration_p95 candidate mean throughput baseline mean agg_http_req_duration_p50 baseline mean agg_http_req_duration_p95 baseline mean throughput
scenario:load:insecure-bank:iast_GLOBAL:high_load better
[-197.163µs; -88.033µs] or [-6.839%; -3.053%]
unsure
[-459.238µs; -147.824µs] or [-5.693%; -1.833%]
unstable
[-88.488op/s; +172.113op/s] or [-7.008%; +13.630%]
2.740ms 7.763ms 1304.531op/s 2.883ms 8.066ms 1262.719op/s
scenario:load:petclinic:profiling:high_load worse
[+0.519ms; +1.896ms] or [+2.799%; +10.233%]
unsure
[+0.380ms; +2.431ms] or [+1.260%; +8.070%]
unstable
[-34.816op/s; +10.003op/s] or [-14.126%; +4.059%]
19.733ms 31.531ms 234.062op/s 18.526ms 30.126ms 246.469op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~48487e281e, baseline=1.61.0-SNAPSHOT~1d0b64dbdb
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.165 ms) : 1153, 1176
.   : milestone, 1165,
iast (3.154 ms) : 3110, 3198
.   : milestone, 3154,
iast_FULL (5.776 ms) : 5719, 5834
.   : milestone, 5776,
iast_GLOBAL (3.633 ms) : 3577, 3689
.   : milestone, 3633,
profiling (2.089 ms) : 2070, 2107
.   : milestone, 2089,
tracing (1.744 ms) : 1730, 1759
.   : milestone, 1744,
section candidate
no_agent (1.17 ms) : 1158, 1181
.   : milestone, 1170,
iast (3.14 ms) : 3099, 3181
.   : milestone, 3140,
iast_FULL (5.858 ms) : 5798, 5918
.   : milestone, 5858,
iast_GLOBAL (3.514 ms) : 3457, 3572
.   : milestone, 3514,
profiling (2.181 ms) : 2162, 2201
.   : milestone, 2181,
tracing (1.804 ms) : 1790, 1819
.   : milestone, 1804,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.165 ms [1.153 ms, 1.176 ms] -
iast 3.154 ms [3.11 ms, 3.198 ms] 1.99 ms (170.8%)
iast_FULL 5.776 ms [5.719 ms, 5.834 ms] 4.612 ms (396.0%)
iast_GLOBAL 3.633 ms [3.577 ms, 3.689 ms] 2.469 ms (212.0%)
profiling 2.089 ms [2.07 ms, 2.107 ms] 924.156 µs (79.4%)
tracing 1.744 ms [1.73 ms, 1.759 ms] 579.535 µs (49.8%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.17 ms [1.158 ms, 1.181 ms] -
iast 3.14 ms [3.099 ms, 3.181 ms] 1.97 ms (168.4%)
iast_FULL 5.858 ms [5.798 ms, 5.918 ms] 4.688 ms (400.8%)
iast_GLOBAL 3.514 ms [3.457 ms, 3.572 ms] 2.344 ms (200.4%)
profiling 2.181 ms [2.162 ms, 2.201 ms] 1.012 ms (86.5%)
tracing 1.804 ms [1.79 ms, 1.819 ms] 634.483 µs (54.2%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~48487e281e, baseline=1.61.0-SNAPSHOT~1d0b64dbdb
    dateFormat X
    axisFormat %s
section baseline
no_agent (17.1 ms) : 16933, 17266
.   : milestone, 17100,
appsec (18.607 ms) : 18413, 18801
.   : milestone, 18607,
code_origins (17.562 ms) : 17389, 17736
.   : milestone, 17562,
iast (17.953 ms) : 17774, 18133
.   : milestone, 17953,
profiling (18.933 ms) : 18744, 19122
.   : milestone, 18933,
tracing (17.938 ms) : 17760, 18115
.   : milestone, 17938,
section candidate
no_agent (17.862 ms) : 17680, 18044
.   : milestone, 17862,
appsec (18.806 ms) : 18615, 18997
.   : milestone, 18806,
code_origins (17.866 ms) : 17689, 18043
.   : milestone, 17866,
iast (18.105 ms) : 17926, 18285
.   : milestone, 18105,
profiling (19.945 ms) : 19742, 20148
.   : milestone, 19945,
tracing (17.787 ms) : 17611, 17964
.   : milestone, 17787,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 17.1 ms [16.933 ms, 17.266 ms] -
appsec 18.607 ms [18.413 ms, 18.801 ms] 1.507 ms (8.8%)
code_origins 17.562 ms [17.389 ms, 17.736 ms] 462.759 µs (2.7%)
iast 17.953 ms [17.774 ms, 18.133 ms] 853.875 µs (5.0%)
profiling 18.933 ms [18.744 ms, 19.122 ms] 1.834 ms (10.7%)
tracing 17.938 ms [17.76 ms, 18.115 ms] 837.945 µs (4.9%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 17.862 ms [17.68 ms, 18.044 ms] -
appsec 18.806 ms [18.615 ms, 18.997 ms] 944.111 µs (5.3%)
code_origins 17.866 ms [17.689 ms, 18.043 ms] 4.486 µs (0.0%)
iast 18.105 ms [17.926 ms, 18.285 ms] 243.493 µs (1.4%)
profiling 19.945 ms [19.742 ms, 20.148 ms] 2.083 ms (11.7%)
tracing 17.787 ms [17.611 ms, 17.964 ms] -74.647 µs (-0.4%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master allen.zhou/oracle-java-tracer
git_commit_date 1773331955 1773343941
git_commit_sha 1d0b64d 48487e2
release_version 1.61.0-SNAPSHOT~1d0b64dbdb 1.61.0-SNAPSHOT~48487e281e
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1773345758 1773345758
ci_job_id 1502176522 1502176522
ci_pipeline_id 102236080 102236080
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-2-sqqwbo3y 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-2-sqqwbo3y 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

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

Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~48487e281e, baseline=1.61.0-SNAPSHOT~1d0b64dbdb
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.994 s) : 14994000, 14994000
.   : milestone, 14994000,
appsec (15.011 s) : 15011000, 15011000
.   : milestone, 15011000,
iast (18.059 s) : 18059000, 18059000
.   : milestone, 18059000,
iast_GLOBAL (17.889 s) : 17889000, 17889000
.   : milestone, 17889000,
profiling (15.368 s) : 15368000, 15368000
.   : milestone, 15368000,
tracing (15.319 s) : 15319000, 15319000
.   : milestone, 15319000,
section candidate
no_agent (15.324 s) : 15324000, 15324000
.   : milestone, 15324000,
appsec (15.038 s) : 15038000, 15038000
.   : milestone, 15038000,
iast (17.695 s) : 17695000, 17695000
.   : milestone, 17695000,
iast_GLOBAL (17.463 s) : 17463000, 17463000
.   : milestone, 17463000,
profiling (15.032 s) : 15032000, 15032000
.   : milestone, 15032000,
tracing (15.196 s) : 15196000, 15196000
.   : milestone, 15196000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.994 s [14.994 s, 14.994 s] -
appsec 15.011 s [15.011 s, 15.011 s] 17.0 ms (0.1%)
iast 18.059 s [18.059 s, 18.059 s] 3.065 s (20.4%)
iast_GLOBAL 17.889 s [17.889 s, 17.889 s] 2.895 s (19.3%)
profiling 15.368 s [15.368 s, 15.368 s] 374.0 ms (2.5%)
tracing 15.319 s [15.319 s, 15.319 s] 325.0 ms (2.2%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.324 s [15.324 s, 15.324 s] -
appsec 15.038 s [15.038 s, 15.038 s] -286.0 ms (-1.9%)
iast 17.695 s [17.695 s, 17.695 s] 2.371 s (15.5%)
iast_GLOBAL 17.463 s [17.463 s, 17.463 s] 2.139 s (14.0%)
profiling 15.032 s [15.032 s, 15.032 s] -292.0 ms (-1.9%)
tracing 15.196 s [15.196 s, 15.196 s] -128.0 ms (-0.8%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~48487e281e, baseline=1.61.0-SNAPSHOT~1d0b64dbdb
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.473 ms) : 1461, 1484
.   : milestone, 1473,
appsec (3.744 ms) : 3526, 3962
.   : milestone, 3744,
iast (2.265 ms) : 2194, 2335
.   : milestone, 2265,
iast_GLOBAL (2.307 ms) : 2237, 2378
.   : milestone, 2307,
profiling (2.482 ms) : 2326, 2637
.   : milestone, 2482,
tracing (2.07 ms) : 2015, 2124
.   : milestone, 2070,
section candidate
no_agent (1.472 ms) : 1460, 1483
.   : milestone, 1472,
appsec (3.803 ms) : 3582, 4024
.   : milestone, 3803,
iast (2.254 ms) : 2184, 2324
.   : milestone, 2254,
iast_GLOBAL (2.304 ms) : 2234, 2375
.   : milestone, 2304,
profiling (2.082 ms) : 2027, 2138
.   : milestone, 2082,
tracing (2.065 ms) : 2011, 2119
.   : milestone, 2065,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.473 ms [1.461 ms, 1.484 ms] -
appsec 3.744 ms [3.526 ms, 3.962 ms] 2.271 ms (154.2%)
iast 2.265 ms [2.194 ms, 2.335 ms] 791.765 µs (53.8%)
iast_GLOBAL 2.307 ms [2.237 ms, 2.378 ms] 834.309 µs (56.6%)
profiling 2.482 ms [2.326 ms, 2.637 ms] 1.009 ms (68.5%)
tracing 2.07 ms [2.015 ms, 2.124 ms] 596.884 µs (40.5%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.472 ms [1.46 ms, 1.483 ms] -
appsec 3.803 ms [3.582 ms, 4.024 ms] 2.331 ms (158.4%)
iast 2.254 ms [2.184 ms, 2.324 ms] 782.493 µs (53.2%)
iast_GLOBAL 2.304 ms [2.234 ms, 2.375 ms] 832.387 µs (56.6%)
profiling 2.082 ms [2.027 ms, 2.138 ms] 610.681 µs (41.5%)
tracing 2.065 ms [2.011 ms, 2.119 ms] 593.475 µs (40.3%)

@azhou-datadog azhou-datadog added the type: bug Bug report and fix label Mar 12, 2026
@azhou-datadog
Copy link
Author

@codex review

@chatgpt-codex-connector
Copy link

To use Codex here, create a Codex account and connect to github.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: database Database Monitoring type: bug Bug report and fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant