Skip to content

Conversation

@ValentinZakharov
Copy link
Contributor

What Does This Do

Introduced support for combining user-provided Couchbase RequestTracer with Datadog's DataDogRequestTracer, allowing both tracers to operate simultaneously

Added DelegatingRequestTracer that forwards tracing calls to two tracers:

  • Datadog’s own DatadogRequestTracer the application's custom tracer
  • DelegatingRequestSpan that mirrors span operations (attributes, events, end(), etc.) to both underlying spans
    New instrumentation advice that wraps any user-supplied tracer into this delegating tracer automatically

If the application does not configure a custom tracer, Datadog continues to trace Couchbase operations exactly as before
If the application does configure its own tracer, both tracers now run side-by-side without interfering with each other

Motivation

Сustomer reported that they are using a custom Couchbase RequestTracer in their application
Because Couchbase only allows one tracer to be registered, Datadog’s tracer was being replaced by the custom one. As a result, Couchbase operations were not showing up in the Datadog dashboard at all

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@ValentinZakharov ValentinZakharov self-assigned this Dec 10, 2025
@ValentinZakharov ValentinZakharov added the type: bug Bug report and fix label Dec 10, 2025
@ValentinZakharov ValentinZakharov requested a review from a team as a code owner December 10, 2025 09:17
@ValentinZakharov ValentinZakharov added the inst: couchbase Couchbase instrumentation label Dec 10, 2025
@pr-commenter
Copy link

pr-commenter bot commented Dec 10, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master vzakharov/couchbase-multitrace
git_commit_date 1766479261 1766487019
git_commit_sha 83f64d5 ea76dc3
release_version 1.58.0-SNAPSHOT~83f64d5ef8 1.57.0-SNAPSHOT~ea76dc3205
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1766488874 1766488874
ci_job_id 1315509612 1315509612
ci_pipeline_id 88169900 88169900
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-9c7r0zy4 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-9c7r0zy4 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 56 metrics, 9 unstable metrics.

Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.57.0-SNAPSHOT~ea76dc3205, baseline=1.58.0-SNAPSHOT~83f64d5ef8

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.085 s) : 0, 1085491
Total [baseline] (10.921 s) : 0, 10920894
Agent [candidate] (1.094 s) : 0, 1094185
Total [candidate] (10.878 s) : 0, 10877512
section appsec
Agent [baseline] (1.271 s) : 0, 1270942
Total [baseline] (10.917 s) : 0, 10916802
Agent [candidate] (1.274 s) : 0, 1273926
Total [candidate] (11.053 s) : 0, 11053481
section iast
Agent [baseline] (1.224 s) : 0, 1224377
Total [baseline] (11.11 s) : 0, 11109779
Agent [candidate] (1.224 s) : 0, 1224332
Total [candidate] (11.112 s) : 0, 11111928
section profiling
Agent [baseline] (1.208 s) : 0, 1207746
Total [baseline] (10.897 s) : 0, 10896668
Agent [candidate] (1.215 s) : 0, 1214575
Total [candidate] (10.933 s) : 0, 10933290
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.085 s -
Agent appsec 1.271 s 185.451 ms (17.1%)
Agent iast 1.224 s 138.886 ms (12.8%)
Agent profiling 1.208 s 122.255 ms (11.3%)
Total tracing 10.921 s -
Total appsec 10.917 s -4.093 ms (-0.0%)
Total iast 11.11 s 188.884 ms (1.7%)
Total profiling 10.897 s -24.226 ms (-0.2%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.094 s -
Agent appsec 1.274 s 179.74 ms (16.4%)
Agent iast 1.224 s 130.147 ms (11.9%)
Agent profiling 1.215 s 120.39 ms (11.0%)
Total tracing 10.878 s -
Total appsec 11.053 s 175.97 ms (1.6%)
Total iast 11.112 s 234.417 ms (2.2%)
Total profiling 10.933 s 55.778 ms (0.5%)
gantt
    title petclinic - break down per module: candidate=1.57.0-SNAPSHOT~ea76dc3205, baseline=1.58.0-SNAPSHOT~83f64d5ef8

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.189 ms) : 0, 1189
crashtracking [candidate] (1.179 ms) : 0, 1179
BytebuddyAgent [baseline] (651.484 ms) : 0, 651484
BytebuddyAgent [candidate] (656.932 ms) : 0, 656932
GlobalTracer [baseline] (282.515 ms) : 0, 282515
GlobalTracer [candidate] (284.656 ms) : 0, 284656
AppSec [baseline] (32.707 ms) : 0, 32707
AppSec [candidate] (33.062 ms) : 0, 33062
Debugger [baseline] (68.609 ms) : 0, 68609
Debugger [candidate] (69.117 ms) : 0, 69117
Remote Config [baseline] (664.549 µs) : 0, 665
Remote Config [candidate] (648.432 µs) : 0, 648
Telemetry [baseline] (9.03 ms) : 0, 9030
Telemetry [candidate] (9.163 ms) : 0, 9163
Flare Poller [baseline] (3.754 ms) : 0, 3754
Flare Poller [candidate] (3.839 ms) : 0, 3839
section appsec
crashtracking [baseline] (1.191 ms) : 0, 1191
crashtracking [candidate] (1.192 ms) : 0, 1192
BytebuddyAgent [baseline] (694.996 ms) : 0, 694996
BytebuddyAgent [candidate] (697.052 ms) : 0, 697052
GlobalTracer [baseline] (259.007 ms) : 0, 259007
GlobalTracer [candidate] (259.639 ms) : 0, 259639
IAST [baseline] (24.827 ms) : 0, 24827
IAST [candidate] (24.752 ms) : 0, 24752
AppSec [baseline] (171.569 ms) : 0, 171569
AppSec [candidate] (175.304 ms) : 0, 175304
Debugger [baseline] (69.849 ms) : 0, 69849
Debugger [candidate] (66.56 ms) : 0, 66560
Remote Config [baseline] (795.556 µs) : 0, 796
Remote Config [candidate] (783.052 µs) : 0, 783
Telemetry [baseline] (9.418 ms) : 0, 9418
Telemetry [candidate] (9.457 ms) : 0, 9457
Flare Poller [baseline] (3.701 ms) : 0, 3701
Flare Poller [candidate] (3.692 ms) : 0, 3692
section iast
crashtracking [baseline] (1.191 ms) : 0, 1191
crashtracking [candidate] (1.177 ms) : 0, 1177
BytebuddyAgent [baseline] (792.874 ms) : 0, 792874
BytebuddyAgent [candidate] (791.793 ms) : 0, 791793
GlobalTracer [baseline] (255.488 ms) : 0, 255488
GlobalTracer [candidate] (255.751 ms) : 0, 255751
IAST [baseline] (27.179 ms) : 0, 27179
IAST [candidate] (27.041 ms) : 0, 27041
AppSec [baseline] (34.356 ms) : 0, 34356
AppSec [candidate] (33.498 ms) : 0, 33498
Debugger [baseline] (65.342 ms) : 0, 65342
Debugger [candidate] (66.979 ms) : 0, 66979
Remote Config [baseline] (583.054 µs) : 0, 583
Remote Config [candidate] (612.148 µs) : 0, 612
Telemetry [baseline] (8.46 ms) : 0, 8460
Telemetry [candidate] (8.526 ms) : 0, 8526
Flare Poller [baseline] (3.501 ms) : 0, 3501
Flare Poller [candidate] (3.548 ms) : 0, 3548
section profiling
crashtracking [baseline] (1.217 ms) : 0, 1217
crashtracking [candidate] (1.235 ms) : 0, 1235
BytebuddyAgent [baseline] (704.696 ms) : 0, 704696
BytebuddyAgent [candidate] (710.677 ms) : 0, 710677
GlobalTracer [baseline] (220.796 ms) : 0, 220796
GlobalTracer [candidate] (221.798 ms) : 0, 221798
AppSec [baseline] (32.194 ms) : 0, 32194
AppSec [candidate] (32.357 ms) : 0, 32357
Debugger [baseline] (68.777 ms) : 0, 68777
Debugger [candidate] (68.176 ms) : 0, 68176
Remote Config [baseline] (657.998 µs) : 0, 658
Remote Config [candidate] (665.455 µs) : 0, 665
Telemetry [baseline] (8.819 ms) : 0, 8819
Telemetry [candidate] (8.792 ms) : 0, 8792
Flare Poller [baseline] (3.682 ms) : 0, 3682
Flare Poller [candidate] (3.694 ms) : 0, 3694
ProfilingAgent [baseline] (97.065 ms) : 0, 97065
ProfilingAgent [candidate] (96.665 ms) : 0, 96665
Profiling [baseline] (97.643 ms) : 0, 97643
Profiling [candidate] (97.236 ms) : 0, 97236
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.57.0-SNAPSHOT~ea76dc3205, baseline=1.58.0-SNAPSHOT~83f64d5ef8

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.083 s) : 0, 1082614
Total [baseline] (8.742 s) : 0, 8741815
Agent [candidate] (1.087 s) : 0, 1086866
Total [candidate] (8.753 s) : 0, 8752986
section iast
Agent [baseline] (1.227 s) : 0, 1227080
Total [baseline] (9.316 s) : 0, 9315505
Agent [candidate] (1.223 s) : 0, 1223250
Total [candidate] (9.342 s) : 0, 9342040
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.083 s -
Agent iast 1.227 s 144.466 ms (13.3%)
Total tracing 8.742 s -
Total iast 9.316 s 573.691 ms (6.6%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.087 s -
Agent iast 1.223 s 136.385 ms (12.5%)
Total tracing 8.753 s -
Total iast 9.342 s 589.054 ms (6.7%)
gantt
    title insecure-bank - break down per module: candidate=1.57.0-SNAPSHOT~ea76dc3205, baseline=1.58.0-SNAPSHOT~83f64d5ef8

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.185 ms) : 0, 1185
crashtracking [candidate] (1.195 ms) : 0, 1195
BytebuddyAgent [baseline] (651.253 ms) : 0, 651253
BytebuddyAgent [candidate] (654.005 ms) : 0, 654005
GlobalTracer [baseline] (281.63 ms) : 0, 281630
GlobalTracer [candidate] (282.537 ms) : 0, 282537
AppSec [baseline] (32.53 ms) : 0, 32530
AppSec [candidate] (32.532 ms) : 0, 32532
Debugger [baseline] (66.497 ms) : 0, 66497
Debugger [candidate] (67.802 ms) : 0, 67802
Remote Config [baseline] (608.833 µs) : 0, 609
Remote Config [candidate] (606.899 µs) : 0, 607
Telemetry [baseline] (8.943 ms) : 0, 8943
Telemetry [candidate] (8.972 ms) : 0, 8972
Flare Poller [baseline] (4.45 ms) : 0, 4450
Flare Poller [candidate] (3.729 ms) : 0, 3729
section iast
crashtracking [baseline] (1.206 ms) : 0, 1206
crashtracking [candidate] (1.176 ms) : 0, 1176
BytebuddyAgent [baseline] (795.318 ms) : 0, 795318
BytebuddyAgent [candidate] (792.643 ms) : 0, 792643
GlobalTracer [baseline] (255.641 ms) : 0, 255641
GlobalTracer [candidate] (255.284 ms) : 0, 255284
IAST [baseline] (27.193 ms) : 0, 27193
IAST [candidate] (27.106 ms) : 0, 27106
AppSec [baseline] (35.15 ms) : 0, 35150
AppSec [candidate] (30.915 ms) : 0, 30915
Debugger [baseline] (64.255 ms) : 0, 64255
Debugger [candidate] (68.302 ms) : 0, 68302
Remote Config [baseline] (617.461 µs) : 0, 617
Remote Config [candidate] (593.052 µs) : 0, 593
Telemetry [baseline] (8.592 ms) : 0, 8592
Telemetry [candidate] (8.44 ms) : 0, 8440
Flare Poller [baseline] (3.563 ms) : 0, 3563
Flare Poller [candidate] (3.476 ms) : 0, 3476
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master vzakharov/couchbase-multitrace
git_commit_date 1766479261 1766487019
git_commit_sha 83f64d5 ea76dc3
release_version 1.58.0-SNAPSHOT~83f64d5ef8 1.57.0-SNAPSHOT~ea76dc3205
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1766489357 1766489357
ci_job_id 1315509613 1315509613
ci_pipeline_id 88169900 88169900
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-0ulhyemu 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-0ulhyemu 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 2 performance improvements and 1 performance regressions! Performance is the same for 16 metrics, 17 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_FULL:high_load better
[-313.918µs; -136.109µs] or [-5.998%; -2.601%]
unsure
[-749.469µs; -90.291µs] or [-6.049%; -0.729%]
unstable
[-51.902op/s; +125.965op/s] or [-6.616%; +16.057%]
5.008ms 11.971ms 821.531op/s 5.233ms 12.391ms 784.500op/s
scenario:load:petclinic:appsec:high_load worse
[+477.776µs; +1518.045µs] or [+2.607%; +8.282%]
unsure
[+0.362ms; +2.581ms] or [+1.231%; +8.786%]
unstable
[-37.192op/s; +17.630op/s] or [-14.969%; +7.095%]
19.327ms 30.843ms 238.688op/s 18.330ms 29.372ms 248.469op/s
scenario:load:petclinic:no_agent:high_load better
[-2.445ms; -1.355ms] or [-13.200%; -7.316%]
unstable
[-3.871ms; -0.769ms] or [-12.673%; -2.518%]
unstable
[-3.536op/s; +54.973op/s] or [-1.447%; +22.493%]
16.620ms 28.227ms 270.125op/s 18.519ms 30.547ms 244.406op/s
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~ea76dc3205, baseline=1.58.0-SNAPSHOT~83f64d5ef8
    dateFormat X
    axisFormat %s
section baseline
no_agent (19.097 ms) : 18901, 19293
.   : milestone, 19097,
appsec (18.787 ms) : 18600, 18973
.   : milestone, 18787,
code_origins (17.727 ms) : 17549, 17905
.   : milestone, 17727,
iast (17.71 ms) : 17535, 17885
.   : milestone, 17710,
profiling (18.732 ms) : 18546, 18917
.   : milestone, 18732,
tracing (17.788 ms) : 17613, 17962
.   : milestone, 17788,
section candidate
no_agent (17.273 ms) : 17100, 17446
.   : milestone, 17273,
appsec (19.555 ms) : 19356, 19753
.   : milestone, 19555,
code_origins (17.695 ms) : 17519, 17870
.   : milestone, 17695,
iast (18.008 ms) : 17827, 18189
.   : milestone, 18008,
profiling (19.736 ms) : 19538, 19933
.   : milestone, 19736,
tracing (17.789 ms) : 17609, 17968
.   : milestone, 17789,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 19.097 ms [18.901 ms, 19.293 ms] -
appsec 18.787 ms [18.6 ms, 18.973 ms] -310.374 µs (-1.6%)
code_origins 17.727 ms [17.549 ms, 17.905 ms] -1.37 ms (-7.2%)
iast 17.71 ms [17.535 ms, 17.885 ms] -1.387 ms (-7.3%)
profiling 18.732 ms [18.546 ms, 18.917 ms] -365.005 µs (-1.9%)
tracing 17.788 ms [17.613 ms, 17.962 ms] -1.309 ms (-6.9%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 17.273 ms [17.1 ms, 17.446 ms] -
appsec 19.555 ms [19.356 ms, 19.753 ms] 2.282 ms (13.2%)
code_origins 17.695 ms [17.519 ms, 17.87 ms] 422.083 µs (2.4%)
iast 18.008 ms [17.827 ms, 18.189 ms] 735.348 µs (4.3%)
profiling 19.736 ms [19.538 ms, 19.933 ms] 2.463 ms (14.3%)
tracing 17.789 ms [17.609 ms, 17.968 ms] 515.854 µs (3.0%)
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~ea76dc3205, baseline=1.58.0-SNAPSHOT~83f64d5ef8
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.185 ms) : 1174, 1197
.   : milestone, 1185,
iast (3.186 ms) : 3141, 3232
.   : milestone, 3186,
iast_FULL (5.894 ms) : 5835, 5954
.   : milestone, 5894,
iast_GLOBAL (3.64 ms) : 3587, 3693
.   : milestone, 3640,
profiling (1.991 ms) : 1973, 2009
.   : milestone, 1991,
tracing (1.79 ms) : 1774, 1806
.   : milestone, 1790,
section candidate
no_agent (1.175 ms) : 1163, 1186
.   : milestone, 1175,
iast (3.151 ms) : 3109, 3192
.   : milestone, 3151,
iast_FULL (5.625 ms) : 5570, 5680
.   : milestone, 5625,
iast_GLOBAL (3.57 ms) : 3511, 3629
.   : milestone, 3570,
profiling (2.106 ms) : 2085, 2128
.   : milestone, 2106,
tracing (1.783 ms) : 1766, 1799
.   : milestone, 1783,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.185 ms [1.174 ms, 1.197 ms] -
iast 3.186 ms [3.141 ms, 3.232 ms] 2.001 ms (168.8%)
iast_FULL 5.894 ms [5.835 ms, 5.954 ms] 4.709 ms (397.3%)
iast_GLOBAL 3.64 ms [3.587 ms, 3.693 ms] 2.455 ms (207.1%)
profiling 1.991 ms [1.973 ms, 2.009 ms] 805.786 µs (68.0%)
tracing 1.79 ms [1.774 ms, 1.806 ms] 604.945 µs (51.0%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.175 ms [1.163 ms, 1.186 ms] -
iast 3.151 ms [3.109 ms, 3.192 ms] 1.976 ms (168.3%)
iast_FULL 5.625 ms [5.57 ms, 5.68 ms] 4.45 ms (378.9%)
iast_GLOBAL 3.57 ms [3.511 ms, 3.629 ms] 2.396 ms (204.0%)
profiling 2.106 ms [2.085 ms, 2.128 ms] 931.999 µs (79.4%)
tracing 1.783 ms [1.766 ms, 1.799 ms] 608.154 µs (51.8%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master vzakharov/couchbase-multitrace
git_commit_date 1766479261 1766487019
git_commit_sha 83f64d5 ea76dc3
release_version 1.58.0-SNAPSHOT~83f64d5ef8 1.57.0-SNAPSHOT~ea76dc3205
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1766489080 1766489080
ci_job_id 1315509614 1315509614
ci_pipeline_id 88169900 88169900
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-224hzm5a 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-224hzm5a 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 0 performance regressions! Performance is the same for 11 metrics, 0 unstable metrics.

scenario Δ mean execution_time candidate mean execution_time baseline mean execution_time
scenario:dacapo:tomcat:appsec better
[-1.435ms; -1.091ms] or [-38.564%; -29.316%]
2.458ms 3.720ms
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.57.0-SNAPSHOT~ea76dc3205, baseline=1.58.0-SNAPSHOT~83f64d5ef8
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.479 ms) : 1467, 1491
.   : milestone, 1479,
appsec (3.72 ms) : 3500, 3940
.   : milestone, 3720,
iast (2.208 ms) : 2143, 2272
.   : milestone, 2208,
iast_GLOBAL (2.253 ms) : 2188, 2318
.   : milestone, 2253,
profiling (2.087 ms) : 2033, 2141
.   : milestone, 2087,
tracing (2.055 ms) : 2004, 2106
.   : milestone, 2055,
section candidate
no_agent (1.471 ms) : 1460, 1483
.   : milestone, 1471,
appsec (2.458 ms) : 2406, 2510
.   : milestone, 2458,
iast (2.22 ms) : 2155, 2286
.   : milestone, 2220,
iast_GLOBAL (2.257 ms) : 2192, 2321
.   : milestone, 2257,
profiling (2.082 ms) : 2028, 2137
.   : milestone, 2082,
tracing (2.045 ms) : 1994, 2096
.   : milestone, 2045,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.479 ms [1.467 ms, 1.491 ms] -
appsec 3.72 ms [3.5 ms, 3.94 ms] 2.241 ms (151.6%)
iast 2.208 ms [2.143 ms, 2.272 ms] 728.808 µs (49.3%)
iast_GLOBAL 2.253 ms [2.188 ms, 2.318 ms] 773.872 µs (52.3%)
profiling 2.087 ms [2.033 ms, 2.141 ms] 607.683 µs (41.1%)
tracing 2.055 ms [2.004 ms, 2.106 ms] 576.012 µs (38.9%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.471 ms [1.46 ms, 1.483 ms] -
appsec 2.458 ms [2.406 ms, 2.51 ms] 986.307 µs (67.0%)
iast 2.22 ms [2.155 ms, 2.286 ms] 748.951 µs (50.9%)
iast_GLOBAL 2.257 ms [2.192 ms, 2.321 ms] 785.067 µs (53.4%)
profiling 2.082 ms [2.028 ms, 2.137 ms] 610.904 µs (41.5%)
tracing 2.045 ms [1.994 ms, 2.096 ms] 573.6 µs (39.0%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.57.0-SNAPSHOT~ea76dc3205, baseline=1.58.0-SNAPSHOT~83f64d5ef8
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.505 s) : 15505000, 15505000
.   : milestone, 15505000,
appsec (14.892 s) : 14892000, 14892000
.   : milestone, 14892000,
iast (18.146 s) : 18146000, 18146000
.   : milestone, 18146000,
iast_GLOBAL (17.85 s) : 17850000, 17850000
.   : milestone, 17850000,
profiling (14.849 s) : 14849000, 14849000
.   : milestone, 14849000,
tracing (14.86 s) : 14860000, 14860000
.   : milestone, 14860000,
section candidate
no_agent (14.93 s) : 14930000, 14930000
.   : milestone, 14930000,
appsec (14.74 s) : 14740000, 14740000
.   : milestone, 14740000,
iast (18.653 s) : 18653000, 18653000
.   : milestone, 18653000,
iast_GLOBAL (17.651 s) : 17651000, 17651000
.   : milestone, 17651000,
profiling (14.836 s) : 14836000, 14836000
.   : milestone, 14836000,
tracing (14.562 s) : 14562000, 14562000
.   : milestone, 14562000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.505 s [15.505 s, 15.505 s] -
appsec 14.892 s [14.892 s, 14.892 s] -613.0 ms (-4.0%)
iast 18.146 s [18.146 s, 18.146 s] 2.641 s (17.0%)
iast_GLOBAL 17.85 s [17.85 s, 17.85 s] 2.345 s (15.1%)
profiling 14.849 s [14.849 s, 14.849 s] -656.0 ms (-4.2%)
tracing 14.86 s [14.86 s, 14.86 s] -645.0 ms (-4.2%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.93 s [14.93 s, 14.93 s] -
appsec 14.74 s [14.74 s, 14.74 s] -190.0 ms (-1.3%)
iast 18.653 s [18.653 s, 18.653 s] 3.723 s (24.9%)
iast_GLOBAL 17.651 s [17.651 s, 17.651 s] 2.721 s (18.2%)
profiling 14.836 s [14.836 s, 14.836 s] -94.0 ms (-0.6%)
tracing 14.562 s [14.562 s, 14.562 s] -368.0 ms (-2.5%)

@ValentinZakharov ValentinZakharov changed the title Multi-tracing support for Couchbase Multi-tracing support for Couchbase 3.2+ Dec 17, 2025
Copy link
Contributor

@vandonr vandonr left a comment

Choose a reason for hiding this comment

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

lgtm

public class DelegatingRequestTracer implements RequestTracer {

private final DatadogRequestTracer ddTracer;
private final RequestTracer cncTracer;
Copy link
Contributor

Choose a reason for hiding this comment

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

What does "cnc" stand for?

Copy link
Contributor

@ygree ygree left a comment

Choose a reason for hiding this comment

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

Looks good!

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

Labels

inst: couchbase Couchbase instrumentation type: bug Bug report and fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants