Skip to content

Add Multi-Azure Function Unique Named Pipe Configuration#8164

Open
Lewis-E wants to merge 40 commits intomasterfrom
lewis/SVLS-8244/add-multifunction-named-pipes
Open

Add Multi-Azure Function Unique Named Pipe Configuration#8164
Lewis-E wants to merge 40 commits intomasterfrom
lewis/SVLS-8244/add-multifunction-named-pipes

Conversation

@Lewis-E
Copy link
Copy Markdown

@Lewis-E Lewis-E commented Feb 5, 2026

Summary of changes

Reason for change

  • Improve support for running multiple Azure Functions in the same hosting plan. [jira]

Implementation details

For Azure Functions, the tracer loads first, then the compat layer, and then the compat layer launches a rust binary to act as the agent. Additionally, the client may or may not be using the DogstatsD client, and it is also possible to have the compat layer and DogstatsD in place without the tracer. We need to coordinate named pipes across all three/four of these codebases, noting that the tracer will use DogstatsD's pipe for runtime metrics if available.

Given this order of operations, and that we want this to work with immutable configuration, the tracer should set pipe names for the compatibility layer via instrumentation if the tracer is present.

  1. Tracer loads -- pipe name is generated
  2. We check the presence of the compat layer + windows configs (using undocumented envvar DD_SERVERLESS_COMPAT_BINARY_PATH if necessary to adapt to Azure changes) to see if named pipes can be used or if we should rely on TCP
  3. Compat layer loads
  4. Tracer uses instrumentation to force the compat layer to generate the pipe names ,
  5. Compat layer passes the name to the mini-agent tracer and dogstatsd .
Scenario Pipe generated? Transport Result
New tracer + no compat at all No (binary not found) TCP Works
New tracer + old compat (< 1.4) No (version check fails) TCP Works
New tracer + new compat (≥ 1.4) Yes Named pipe Works (integration coordinates)
New tracer + dev compat (0.0.0) Yes Named pipe Works (integration coordinates)
Old tracer + no compat No TCP Works
Old tracer + old compat (< 1.4) No TCP Works (neither side knows about pipes)
Old tracer + new compat (≥ 1.4) No TCP Broken — tracer sends via TCP, but compat binary listens on pipe only. Requires more serverless-components changes.
Old tracer + dev compat (0.0.0) No TCP Not supported

Test coverage

  • Self Monitoring
  • New Unit Tests

@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Feb 6, 2026

Benchmarks

Benchmark execution time: 2026-04-16 20:38:40

Comparing candidate commit 2547db2 in PR branch lewis/SVLS-8244/add-multifunction-named-pipes with baseline commit afeeb86 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 27 metrics, 0 unstable metrics, 87 known flaky benchmarks.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

Known flaky benchmarks

These benchmarks are marked as flaky and will not trigger a failure. Modify FLAKY_BENCHMARKS_REGEX to control which benchmarks are marked as flaky.

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.005%]
  • ignore execution_time [-1.933ms; -0.990ms] or [-0.960%; -0.492%]
  • ignore throughput [-10.286op/s; +412.483op/s] or [-0.012%; +0.489%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-2254.669µs; +1249.936µs] or [-1.125%; +0.624%]
  • 🟩 throughput [+8602.332op/s; +10890.768op/s] or [+7.231%; +9.154%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • ignore execution_time [+0.803ms; +3.018ms] or [+0.404%; +1.518%]
  • ignore throughput [-1911.713op/s; -704.358op/s] or [-1.944%; -0.716%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [-20 bytes; -19 bytes] or [-0.613%; -0.600%]
  • 🟥 execution_time [+311.357ms; +313.660ms] or [+154.506%; +155.649%]
  • ignore throughput [+2.502op/s; +6.558op/s] or [+0.450%; +1.180%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+380.797ms; +383.252ms] or [+300.853%; +302.793%]
  • ignore throughput [+10.470op/s; +14.004op/s] or [+1.380%; +1.846%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • ignore allocated_mem [+1 bytes; +2 bytes] or [+0.065%; +0.075%]
  • 🟥 execution_time [+392.927ms; +395.501ms] or [+347.725%; +350.003%]
  • ignore throughput [-12.451op/s; -9.156op/s] or [-1.759%; -1.293%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net472

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]
  • ignore execution_time [-508.856µs; +48.090µs] or [-0.254%; +0.024%]
  • ignore throughput [-4934.972op/s; -4521.640op/s] or [-3.840%; -3.518%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net6.0

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-16.247ms; -12.081ms] or [-7.588%; -5.642%]
  • ignore throughput [+4542.328op/s; +7351.689op/s] or [+3.316%; +5.366%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]
  • ignore execution_time [-12.456ms; -8.294ms] or [-5.932%; -3.949%]
  • ignore throughput [-44.646op/s; +2232.167op/s] or [-0.040%; +2.018%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net472

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • ignore execution_time [-891.185µs; -338.473µs] or [-0.444%; -0.169%]
  • 🟥 throughput [-260983.839op/s; -257705.763op/s] or [-26.648%; -26.313%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net6.0

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-26.343ms; -21.489ms] or [-11.748%; -9.583%]
  • ignore throughput [-62456.701op/s; -39561.637op/s] or [-6.672%; -4.226%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • ignore execution_time [+0.629ms; +4.868ms] or [+0.314%; +2.430%]
  • 🟥 throughput [-137200.389op/s; -121044.093op/s] or [-19.713%; -17.392%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-1274.812µs; -226.208µs] or [-0.635%; -0.113%]
  • ignore throughput [-163.409op/s; +618.408op/s] or [-0.110%; +0.416%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • ignore execution_time [+0.615ms; +4.173ms] or [+0.310%; +2.106%]
  • 🟩 throughput [+9122.672op/s; +12096.546op/s] or [+5.805%; +7.697%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+1.912ms; +5.902ms] or [+0.975%; +3.009%]
  • 🟩 throughput [+7912.969op/s; +10573.275op/s] or [+6.304%; +8.423%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • ignore execution_time [-311.356µs; -111.938µs] or [-0.155%; -0.056%]
  • ignore throughput [+82212.716op/s; +89910.074op/s] or [+2.501%; +2.735%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.008%]
  • ignore execution_time [-2.197ms; -1.308ms] or [-1.086%; -0.647%]
  • 🟩 throughput [+447532.978op/s; +466072.881op/s] or [+14.923%; +15.541%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • 🟩 execution_time [-18.526ms; -14.174ms] or [-8.540%; -6.534%]
  • 🟩 throughput [+214679.631op/s; +268603.899op/s] or [+8.521%; +10.662%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net472

  • ignore allocated_mem [+1 bytes; +4 bytes] or [+0.004%; +0.012%]
  • 🟥 execution_time [+299.879ms; +300.626ms] or [+149.840%; +150.213%]
  • ignore throughput [+114.866op/s; +131.228op/s] or [+1.269%; +1.449%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net6.0

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.150ms; +302.568ms] or [+150.862%; +152.586%]
  • ignore throughput [+262.106op/s; +476.560op/s] or [+2.005%; +3.645%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs netcoreapp3.1

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+300.063ms; +302.528ms] or [+151.148%; +152.390%]
  • ignore throughput [+117.531op/s; +243.429op/s] or [+1.135%; +2.350%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net472

  • ignore allocated_mem [+2 bytes; +3 bytes] or [+0.137%; +0.150%]
  • 🟥 execution_time [+297.544ms; +298.315ms] or [+146.142%; +146.521%]
  • ignore throughput [+18.187op/s; +24.073op/s] or [+0.482%; +0.638%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+299.238ms; +303.114ms] or [+146.286%; +148.181%]
  • ignore throughput [+95.576op/s; +151.865op/s] or [+1.389%; +2.206%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+300.663ms; +301.873ms] or [+150.271%; +150.876%]
  • ignore throughput [+65.751op/s; +83.855op/s] or [+1.305%; +1.664%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+4.773µs; +8.395µs] or [+0.980%; +1.724%]
  • ignore throughput [-34.639op/s; -19.712op/s] or [-1.687%; -0.960%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.010%]
  • ignore execution_time [+16.271µs; +42.903µs] or [+3.732%; +9.840%]
  • ignore throughput [-211.942op/s; -92.103op/s] or [-9.214%; -4.004%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [+7.843µs; +29.795µs] or [+1.680%; +6.384%]
  • ignore throughput [-146.963op/s; -66.252op/s] or [-6.784%; -3.058%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-3.340µs; +0.542µs] or [-0.902%; +0.146%]
  • ignore throughput [-3.397op/s; +24.509op/s] or [-0.126%; +0.908%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • 🟥 execution_time [+21.175µs; +44.733µs] or [+6.760%; +14.281%]
  • 🟥 throughput [-418.129op/s; -219.857op/s] or [-13.034%; -6.854%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [-15.881µs; +6.471µs] or [-4.345%; +1.770%]
  • ignore throughput [-81.707op/s; +51.623op/s] or [-2.932%; +1.853%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.660ms; +300.325ms] or [+149.561%; +149.893%]
  • ignore throughput [-10981176.832op/s; -3820509.527op/s] or [-5.501%; -1.914%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0

  • ignore allocated_mem [+112 bytes; +114 bytes] or [+0.625%; +0.636%]
  • 🟥 execution_time [+411.840ms; +417.155ms] or [+447.481%; +453.256%]
  • 🟩 throughput [+1097.284op/s; +1228.565op/s] or [+9.017%; +10.095%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest netcoreapp3.1

  • ignore allocated_mem [+20 bytes; +22 bytes] or [+0.099%; +0.110%]
  • unstable execution_time [+332.755ms; +359.772ms] or [+252.658%; +273.172%]
  • 🟩 throughput [+688.972op/s; +890.309op/s] or [+6.670%; +8.619%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 allocated_mem [+2.837KB; +2.841KB] or [+5.040%; +5.048%]
  • unstable execution_time [+305.054ms; +374.251ms] or [+140.261%; +172.077%]
  • 🟥 throughput [-497.402op/s; -444.247op/s] or [-45.069%; -40.253%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • ignore allocated_mem [-1.270KB; -1.268KB] or [-2.995%; -2.990%]
  • unstable execution_time [+202.456ms; +335.660ms] or [+86.278%; +143.044%]
  • 🟥 throughput [-746.802op/s; -663.365op/s] or [-49.812%; -44.247%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • ignore allocated_mem [+1.293KB; +1.296KB] or [+3.053%; +3.060%]
  • 🟥 execution_time [+339.589ms; +348.017ms] or [+203.114%; +208.155%]
  • 🟥 throughput [-422.821op/s; -387.128op/s] or [-29.440%; -26.955%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-101.359µs; -88.684µs] or [-5.101%; -4.463%]
  • ignore throughput [+23.690op/s; +27.126op/s] or [+4.707%; +5.390%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-25.499µs; -7.416µs] or [-1.752%; -0.509%]
  • ignore throughput [+4.193op/s; +12.798op/s] or [+0.610%; +1.863%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-117.681µs; -15.863µs] or [-4.094%; -0.552%]
  • ignore throughput [+2.826op/s; +23.170op/s] or [+0.812%; +6.660%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-5.999µs; +1.442µs] or [-0.518%; +0.125%]
  • ignore throughput [-0.872op/s; +4.647op/s] or [-0.101%; +0.538%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟩 execution_time [-114.300µs; -76.355µs] or [-10.601%; -7.081%]
  • 🟩 throughput [+78.559op/s; +123.269op/s] or [+8.470%; +13.291%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+67.677µs; +84.613µs] or [+3.626%; +4.533%]
  • ignore throughput [-22.989op/s; -18.621op/s] or [-4.291%; -3.476%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • ignore allocated_mem [-43 bytes; +21 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+9.040µs; +15.890µs] or [+0.353%; +0.621%]
  • ignore throughput [-2.396op/s; -1.361op/s] or [-0.613%; -0.349%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net6.0

  • ignore allocated_mem [-38 bytes; +46 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-126.157µs; -81.120µs] or [-6.391%; -4.109%]
  • ignore throughput [+24.165op/s; +35.461op/s] or [+4.770%; +7.000%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1

  • ignore allocated_mem [-42 bytes; +23 bytes] or [-0.007%; +0.004%]
  • ignore execution_time [-124.673µs; -82.785µs] or [-3.162%; -2.099%]
  • ignore throughput [+5.684op/s; +8.395op/s] or [+2.241%; +3.310%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • 🟥 execution_time [+301.651ms; +303.165ms] or [+151.906%; +152.668%]
  • ignore throughput [+7154.409op/s; +9286.732op/s] or [+2.302%; +2.988%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+300.828ms; +302.263ms] or [+150.745%; +151.464%]
  • ignore throughput [+22639.292op/s; +27206.466op/s] or [+3.569%; +4.289%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+299.498ms; +302.644ms] or [+150.455%; +152.036%]
  • ignore throughput [+9007.726op/s; +16477.850op/s] or [+1.897%; +3.471%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • 🟥 execution_time [+300.475ms; +301.700ms] or [+150.889%; +151.504%]
  • ignore throughput [+12643.186op/s; +15420.400op/s] or [+4.236%; +5.166%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.006%]
  • 🟥 execution_time [+298.926ms; +300.974ms] or [+147.806%; +148.818%]
  • ignore throughput [+16796.484op/s; +21070.048op/s] or [+2.706%; +3.395%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.550ms; +305.250ms] or [+152.839%; +154.714%]
  • ignore throughput [+698.188op/s; +8850.925op/s] or [+0.151%; +1.911%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.108%; +0.119%]
  • 🟥 execution_time [+301.317ms; +303.052ms] or [+151.234%; +152.105%]
  • ignore throughput [-10188.567op/s; -8065.349op/s] or [-2.643%; -2.092%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+299.941ms; +301.493ms] or [+149.493%; +150.267%]
  • 🟩 throughput [+52408.794op/s; +56591.960op/s] or [+10.407%; +11.237%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+301.803ms; +304.431ms] or [+150.144%; +151.452%]
  • ignore throughput [+8826.993op/s; +13856.572op/s] or [+2.089%; +3.280%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-950.278µs; -49.486µs] or [-0.472%; -0.025%]
  • ignore throughput [+1425.469op/s; +2673.830op/s] or [+0.573%; +1.075%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.003%]
  • 🟩 execution_time [-16.018ms; -12.381ms] or [-7.449%; -5.757%]
  • 🟩 throughput [+25843.753op/s; +32662.999op/s] or [+7.090%; +8.960%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.008%]
  • ignore execution_time [-1274.957µs; +2686.135µs] or [-0.640%; +1.347%]
  • ignore throughput [+8126.133op/s; +14080.964op/s] or [+2.966%; +5.140%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472

  • ignore allocated_mem [-4.459KB; -4.431KB] or [-1.623%; -1.613%]
  • unstable execution_time [-93.154µs; +421.034µs] or [-23.010%; +103.998%]
  • ignore throughput [-311.025op/s; -88.867op/s] or [-12.516%; -3.576%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net6.0

  • 🟩 allocated_mem [-21.080KB; -21.059KB] or [-7.689%; -7.682%]
  • unstable execution_time [-54.526µs; -3.132µs] or [-10.777%; -0.619%]
  • ignore throughput [+22.937op/s; +202.100op/s] or [+1.145%; +10.085%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark netcoreapp3.1

  • ignore allocated_mem [-116 bytes; -100 bytes] or [-0.042%; -0.037%]
  • unstable execution_time [-45.320µs; +13.159µs] or [-7.854%; +2.280%]
  • ignore throughput [-21.646op/s; +137.258op/s] or [-1.237%; +7.842%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472

  • ignore allocated_mem [-2 bytes; +2 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [+0.748µs; +2.271µs] or [+1.295%; +3.934%]
  • ignore throughput [-635.307op/s; -211.408op/s] or [-3.666%; -1.220%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net6.0

  • ignore allocated_mem [-4 bytes; +0 bytes] or [-0.010%; -0.001%]
  • unstable execution_time [+10.496µs; +14.984µs] or [+24.810%; +35.419%]
  • 🟥 throughput [-6219.063op/s; -4390.003op/s] or [-26.180%; -18.481%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark netcoreapp3.1

  • ignore allocated_mem [-1 bytes; +1 bytes] or [-0.002%; +0.002%]
  • unstable execution_time [-12.907µs; -5.453µs] or [-20.025%; -8.460%]
  • 🟩 throughput [+1395.664op/s; +2956.840op/s] or [+8.563%; +18.141%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.084%; +0.094%]
  • 🟥 execution_time [+302.847ms; +304.076ms] or [+153.076%; +153.697%]
  • ignore throughput [-85.459op/s; -63.569op/s] or [-1.428%; -1.062%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • 🟥 execution_time [+301.465ms; +303.952ms] or [+153.445%; +154.711%]
  • ignore throughput [-95.380op/s; -16.938op/s] or [-1.183%; -0.210%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • 🟥 execution_time [+300.008ms; +301.824ms] or [+150.191%; +151.100%]
  • ignore throughput [-98.888op/s; -36.537op/s] or [-1.260%; -0.465%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [-508.568µs; -34.357µs] or [-0.254%; -0.017%]
  • 🟥 throughput [-23593.686op/s; -22585.459op/s] or [-6.531%; -6.252%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.007%]
  • ignore execution_time [-577.539µs; +173.507µs] or [-0.289%; +0.087%]
  • 🟩 throughput [+42290.108op/s; +46807.574op/s] or [+8.005%; +8.860%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.006%]
  • ignore execution_time [+1.250ms; +4.916ms] or [+0.633%; +2.492%]
  • ignore throughput [-1646.523op/s; +6587.507op/s] or [-0.390%; +1.559%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • 🟥 execution_time [+300.310ms; +302.045ms] or [+149.678%; +150.542%]
  • ignore throughput [-905.571op/s; +195.823op/s] or [-0.598%; +0.129%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+0.000%; +0.009%]
  • 🟥 execution_time [+301.242ms; +305.470ms] or [+151.269%; +153.392%]
  • ignore throughput [+1761.959op/s; +4829.526op/s] or [+0.766%; +2.100%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • 🟥 execution_time [+304.059ms; +306.606ms] or [+154.199%; +155.491%]
  • ignore throughput [+1390.852op/s; +3284.382op/s] or [+0.783%; +1.850%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.985ms; +300.674ms] or [+149.634%; +149.978%]
  • 🟩 throughput [+61020096.079op/s; +61269426.700op/s] or [+44.439%; +44.620%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net6.0

  • ignore allocated_mem [+109 bytes; +111 bytes] or [+0.639%; +0.649%]
  • 🟥 execution_time [+421.530ms; +425.635ms] or [+524.247%; +529.352%]
  • 🟩 throughput [+1056.706op/s; +1225.568op/s] or [+8.169%; +9.474%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.543ms; +300.461ms] or [+149.405%; +149.863%]
  • ignore throughput [+1639009.605op/s; +2577468.460op/s] or [+0.726%; +1.142%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [+52.095µs; +409.274µs] or [+0.026%; +0.205%]
  • ignore throughput [-18252.525op/s; -14786.219op/s] or [-2.037%; -1.650%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-4.380ms; -3.278ms] or [-2.145%; -1.606%]
  • 🟩 throughput [+106994.697op/s; +113843.825op/s] or [+9.990%; +10.629%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-1275.269µs; +2904.765µs] or [-0.645%; +1.470%]
  • 🟩 throughput [+45221.082op/s; +66198.144op/s] or [+5.234%; +7.662%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.009%]
  • ignore execution_time [-10.750µs; +247.027µs] or [-0.005%; +0.123%]
  • ignore throughput [-15315.922op/s; -10349.307op/s] or [-1.402%; -0.947%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • ignore execution_time [+6.203ms; +10.305ms] or [+3.232%; +5.369%]
  • 🟩 throughput [+82361.383op/s; +111816.431op/s] or [+6.375%; +8.655%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • ignore execution_time [-4.549ms; -3.132ms] or [-2.235%; -1.539%]
  • 🟩 throughput [+92682.945op/s; +100814.065op/s] or [+9.205%; +10.012%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.002%]
  • ignore execution_time [-982.675µs; +319.592µs] or [-0.489%; +0.159%]
  • ignore throughput [+8238.112op/s; +11660.769op/s] or [+1.835%; +2.598%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • ignore execution_time [-795.650µs; +842.587µs] or [-0.397%; +0.421%]
  • 🟩 throughput [+56140.696op/s; +60840.086op/s] or [+10.194%; +11.047%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [-0.211ms; +3.853ms] or [-0.106%; +1.936%]
  • 🟩 throughput [+28192.800op/s; +37873.547op/s] or [+6.310%; +8.477%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-1349.686µs; -297.980µs] or [-0.673%; -0.149%]
  • ignore throughput [-20667.365op/s; -16227.678op/s] or [-3.025%; -2.375%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-1124.132µs; +2421.421µs] or [-0.562%; +1.211%]
  • ignore throughput [+40057.608op/s; +58016.987op/s] or [+4.475%; +6.482%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+1.538ms; +5.430ms] or [+0.781%; +2.758%]
  • ignore throughput [+33184.517op/s; +47775.256op/s] or [+4.633%; +6.671%]

@dd-trace-dotnet-ci-bot
Copy link
Copy Markdown

dd-trace-dotnet-ci-bot bot commented Feb 6, 2026

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8164) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration72.86 ± (72.85 - 73.30) ms73.23 ± (73.20 - 73.65) ms+0.5%✅⬆️
.NET Framework 4.8 - Bailout
duration76.82 ± (76.86 - 77.20) ms79.32 ± (79.16 - 79.73) ms+3.2%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1073.84 ± (1074.00 - 1080.56) ms1078.26 ± (1077.71 - 1084.50) ms+0.4%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.65 ± (22.60 - 22.70) ms22.90 ± (22.83 - 22.96) ms+1.1%✅⬆️
process.time_to_main_ms85.59 ± (85.37 - 85.82) ms86.78 ± (86.47 - 87.09) ms+1.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.85 ± (10.84 - 10.85) MB10.92 ± (10.91 - 10.92) MB+0.7%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.38 ± (22.33 - 22.42) ms22.69 ± (22.63 - 22.74) ms+1.4%✅⬆️
process.time_to_main_ms85.57 ± (85.37 - 85.78) ms87.39 ± (87.11 - 87.67) ms+2.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.92 - 10.93) MB10.95 ± (10.95 - 10.96) MB+0.2%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms231.45 ± (230.47 - 232.43) ms229.02 ± (227.88 - 230.15) ms-1.1%
process.time_to_main_ms534.99 ± (533.73 - 536.26) ms530.78 ± (529.38 - 532.18) ms-0.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.47 ± (48.45 - 48.49) MB48.45 ± (48.42 - 48.48) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms21.11 ± (21.08 - 21.14) ms21.27 ± (21.23 - 21.31) ms+0.7%✅⬆️
process.time_to_main_ms72.38 ± (72.23 - 72.54) ms72.89 ± (72.73 - 73.05) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.60 - 10.61) MB10.61 ± (10.61 - 10.62) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.41 ± (21.35 - 21.47) ms21.42 ± (21.37 - 21.48) ms+0.1%✅⬆️
process.time_to_main_ms76.23 ± (75.94 - 76.52) ms76.08 ± (75.78 - 76.38) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.72 ± (10.72 - 10.72) MB10.74 ± (10.74 - 10.74) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms384.14 ± (382.21 - 386.08) ms386.98 ± (384.99 - 388.98) ms+0.7%✅⬆️
process.time_to_main_ms526.38 ± (525.11 - 527.66) ms525.42 ± (524.01 - 526.83) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.97 ± (49.94 - 50.00) MB50.06 ± (50.03 - 50.09) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 29)+0.5%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.81 ± (19.76 - 19.86) ms19.39 ± (19.35 - 19.44) ms-2.1%
process.time_to_main_ms74.66 ± (74.38 - 74.93) ms72.72 ± (72.51 - 72.94) ms-2.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.66 ± (7.65 - 7.66) MB7.69 ± (7.68 - 7.70) MB+0.4%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.68 ± (19.63 - 19.72) ms19.44 ± (19.40 - 19.48) ms-1.2%
process.time_to_main_ms74.78 ± (74.55 - 75.01) ms73.76 ± (73.59 - 73.93) ms-1.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.70 - 7.71) MB7.71 ± (7.70 - 7.71) MB+0.0%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms305.33 ± (302.94 - 307.71) ms308.09 ± (305.89 - 310.30) ms+0.9%✅⬆️
process.time_to_main_ms489.64 ± (488.44 - 490.85) ms489.62 ± (488.49 - 490.74) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.11 ± (37.09 - 37.13) MB37.06 ± (37.04 - 37.08) MB-0.1%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.1%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration210.30 ± (209.91 - 210.98) ms209.40 ± (209.21 - 210.10) ms-0.4%
.NET Framework 4.8 - Bailout
duration212.75 ± (212.35 - 212.99) ms215.14 ± (214.57 - 215.41) ms+1.1%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1226.85 ± (1225.90 - 1232.34) ms1224.18 ± (1224.20 - 1231.13) ms-0.2%
.NET Core 3.1 - Baseline
process.internal_duration_ms204.85 ± (204.41 - 205.29) ms204.76 ± (204.24 - 205.28) ms-0.0%
process.time_to_main_ms90.21 ± (89.95 - 90.48) ms90.10 ± (89.79 - 90.40) ms-0.1%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.96 ± (15.94 - 15.98) MB15.90 ± (15.88 - 15.93) MB-0.3%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.6%
.NET Core 3.1 - Bailout
process.internal_duration_ms203.59 ± (203.14 - 204.04) ms203.77 ± (203.34 - 204.19) ms+0.1%✅⬆️
process.time_to_main_ms91.09 ± (90.81 - 91.37) ms90.65 ± (90.41 - 90.89) ms-0.5%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.93 ± (15.91 - 15.96) MB15.96 ± (15.94 - 15.98) MB+0.2%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)+0.8%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms417.13 ± (415.47 - 418.79) ms417.22 ± (415.65 - 418.78) ms+0.0%✅⬆️
process.time_to_main_ms548.87 ± (547.58 - 550.17) ms549.83 ± (548.14 - 551.51) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed59.32 ± (59.27 - 59.38) MB59.25 ± (59.21 - 59.30) MB-0.1%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (29 - 30)-0.6%
.NET 6 - Baseline
process.internal_duration_ms209.69 ± (209.24 - 210.15) ms209.26 ± (208.83 - 209.68) ms-0.2%
process.time_to_main_ms78.36 ± (78.12 - 78.61) ms77.79 ± (77.55 - 78.04) ms-0.7%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.18 ± (16.16 - 16.19) MB16.22 ± (16.19 - 16.25) MB+0.3%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 20)20 ± (19 - 20)+0.4%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms209.39 ± (208.93 - 209.84) ms209.15 ± (208.80 - 209.49) ms-0.1%
process.time_to_main_ms79.16 ± (78.91 - 79.41) ms79.35 ± (79.14 - 79.55) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.22 ± (16.20 - 16.25) MB16.28 ± (16.25 - 16.30) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 21)21 ± (20 - 21)+0.2%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms605.01 ± (602.63 - 607.39) ms603.31 ± (600.87 - 605.75) ms-0.3%
process.time_to_main_ms547.65 ± (546.52 - 548.78) ms548.04 ± (547.02 - 549.06) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.71 ± (61.62 - 61.80) MB61.75 ± (61.67 - 61.84) MB+0.1%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.6%
.NET 8 - Baseline
process.internal_duration_ms208.34 ± (207.85 - 208.83) ms206.24 ± (205.83 - 206.65) ms-1.0%
process.time_to_main_ms77.73 ± (77.47 - 77.99) ms76.53 ± (76.27 - 76.78) ms-1.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.58 ± (11.56 - 11.60) MB11.63 ± (11.61 - 11.66) MB+0.5%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.0%
.NET 8 - Bailout
process.internal_duration_ms208.57 ± (208.09 - 209.06) ms205.17 ± (204.84 - 205.51) ms-1.6%
process.time_to_main_ms78.93 ± (78.76 - 79.11) ms77.55 ± (77.37 - 77.73) ms-1.8%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.63 ± (11.61 - 11.65) MB11.69 ± (11.67 - 11.71) MB+0.5%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.4%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms533.96 ± (527.04 - 540.87) ms529.90 ± (524.36 - 535.44) ms-0.8%
process.time_to_main_ms509.33 ± (508.51 - 510.15) ms508.51 ± (507.56 - 509.46) ms-0.2%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.84 ± (50.76 - 50.92) MB50.80 ± (50.73 - 50.87) MB-0.1%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.5%✅⬆️
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8164) - mean (73ms)  : 70, 77
    master - mean (73ms)  : 70, 76

    section Bailout
    This PR (8164) - mean (79ms)  : 75, 84
    master - mean (77ms)  : 75, 79

    section CallTarget+Inlining+NGEN
    This PR (8164) - mean (1,081ms)  : 1032, 1131
    master - mean (1,077ms)  : 1031, 1124

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8164) - mean (117ms)  : 111, 122
    master - mean (115ms)  : 110, 120

    section Bailout
    This PR (8164) - mean (117ms)  : 111, 123
    master - mean (115ms)  : 112, 118

    section CallTarget+Inlining+NGEN
    This PR (8164) - mean (798ms)  : 774, 822
    master - mean (804ms)  : 776, 831

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8164) - mean (100ms)  : 97, 103
    master - mean (100ms)  : 97, 103

    section Bailout
    This PR (8164) - mean (104ms)  : 98, 110
    master - mean (104ms)  : 99, 109

    section CallTarget+Inlining+NGEN
    This PR (8164) - mean (939ms)  : 907, 971
    master - mean (938ms)  : 901, 975

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8164) - mean (100ms)  : 95, 106
    master - mean (102ms)  : 97, 108

    section Bailout
    This PR (8164) - mean (101ms)  : 99, 103
    master - mean (103ms)  : 97, 108

    section CallTarget+Inlining+NGEN
    This PR (8164) - mean (827ms)  : 786, 867
    master - mean (827ms)  : 792, 863

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8164) - mean (210ms)  : 205, 214
    master - mean (210ms)  : 204, 216

    section Bailout
    This PR (8164) - mean (215ms)  : 211, 219
    master - mean (213ms)  : 210, 216

    section CallTarget+Inlining+NGEN
    This PR (8164) - mean (1,228ms)  : 1175, 1281
    master - mean (1,229ms)  : 1181, 1277

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8164) - mean (304ms)  : 295, 314
    master - mean (304ms)  : 296, 312

    section Bailout
    This PR (8164) - mean (304ms)  : 299, 309
    master - mean (304ms)  : 297, 311

    section CallTarget+Inlining+NGEN
    This PR (8164) - mean (1,007ms)  : 978, 1035
    master - mean (1,006ms)  : 979, 1033

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8164) - mean (296ms)  : 290, 302
    master - mean (298ms)  : 287, 308

    section Bailout
    This PR (8164) - mean (298ms)  : 293, 303
    master - mean (297ms)  : 291, 304

    section CallTarget+Inlining+NGEN
    This PR (8164) - mean (1,182ms)  : 1137, 1226
    master - mean (1,183ms)  : 1145, 1221

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8164) - mean (294ms)  : 286, 301
    master - mean (297ms)  : 291, 303

    section Bailout
    This PR (8164) - mean (293ms)  : 288, 298
    master - mean (299ms)  : 288, 310

    section CallTarget+Inlining+NGEN
    This PR (8164) - mean (1,075ms)  : 989, 1162
    master - mean (1,077ms)  : 977, 1178

Loading

@Lewis-E Lewis-E force-pushed the lewis/SVLS-8244/add-multifunction-named-pipes branch 2 times, most recently from aaff9b5 to 08a6c72 Compare February 12, 2026 15:09
@Lewis-E Lewis-E force-pushed the lewis/SVLS-8244/add-multifunction-named-pipes branch 3 times, most recently from 2fcae54 to edb4121 Compare March 6, 2026 18:23
@Lewis-E Lewis-E marked this pull request as ready for review March 6, 2026 18:57
@Lewis-E Lewis-E requested review from a team as code owners March 6, 2026 18:57
@Lewis-E Lewis-E requested a review from duncanpharvey March 6, 2026 18:57
Copy link
Copy Markdown
Contributor

@duncanpharvey duncanpharvey left a comment

Choose a reason for hiding this comment

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

We check the presence of the compat layer + windows configs (using undocumented envvar DD_SERVERLESS_COMPAT_BINARY_PATH if necessary to adapt to Azure changes) to see if named pipes can be used or if we should rely on TCP

What is meant by this? I don't see DD_SERVERLESS_COMPAT_BINARY_PATH in any of the PR changes.

Comment thread tracer/src/Datadog.Trace/Configuration/ExporterSettings.cs Outdated
@duncanpharvey
Copy link
Copy Markdown
Contributor

Should this dependency for Datadog.Serverless.Compat also be updated as part of this PR?

<PackageReference Include="Datadog.Serverless.Compat" Version="1.2.0" PrivateAssets="none" />

@lucaspimentel
Copy link
Copy Markdown
Member

@codex review

Comment thread tracer/src/Datadog.Trace/Configuration/ExporterSettings.cs Outdated
&& !Util.EnvironmentHelpers.IsUsingAzureAppServicesSiteExtension()
&& IsCompatLayerAvailableWithPipeSupport())
{
var baseName = Util.EnvironmentHelpers.GetEnvironmentVariable(ConfigurationKeys.TracesPipeName);
Copy link
Copy Markdown
Member

@lucaspimentel lucaspimentel Mar 23, 2026

Choose a reason for hiding this comment

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

This is only reading the "base" name from environment variables, but the tracer can be configured in other ways (e.g. config files), and those configs would be ignored there. Instead of reading from env vars directly, I think you can read the user setting from rawSettings.TracesPipeName, passed in via parameter.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Agreed, but we also need to make sure we record the new "calculated" value in telemetry as well

Copy link
Copy Markdown
Member

@lucaspimentel lucaspimentel Mar 24, 2026

Choose a reason for hiding this comment

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

Looks like my comment is addressed (no reading env vars directly), but I'll leave this open for Andrew's comment (configuration telemetry).

Comment thread tracer/src/Datadog.Trace/Configuration/ExporterSettings.cs Outdated
Comment thread tracer/src/Datadog.Trace/Configuration/ExporterSettings.cs Outdated
// Check that the compat binary exists — it's what actually listens on the named pipe
// Check that the compat DLL exists and has a version that supports named pipes.
// Named pipe support was added in compat version 1.4.0 (dev builds use 0.0.0).
const string compatBinaryPath = @"C:\home\site\wwwroot\datadog\bin\windows-amd64\datadog-serverless-compat.exe";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should take into account that this path can be overridden with DD_SERVERLESS_COMPAT_PATH (see here).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Most of these helpers feel like they shouldn't live in ExporterSettings at all 🤔 I'd suggest moving them out to a separate helper, and writing unit tests for them there.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

What's a good way to include DD_SERVERLESS_COMPAT_PATH? Claude and I both don't see any obvious options.

Environment.GetEnvironmentVariable is banned (RS0030) and EnvironmentHelpers.GetEnvironmentVariable requires a constant from ConfigurationKeys or PlatformKeys (DD0011). Adding it to ConfigurationKeys via supported-configurations.yaml fails config registry validation since it's not a tracer config. And PlatformKeys rejects the DD_ prefix (DD0010)

Copy link
Copy Markdown
Member

@lucaspimentel lucaspimentel Mar 24, 2026

Choose a reason for hiding this comment

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

Try giving Claude this doc: docs/development/Configuration/AddingConfigurationKeys.md. I was hoping it would loaded automatically with this note, but maybe we need better wording in the Load when... to trigger that, or maybe we should move some of this things into claude skills now that those are a thing.

(AI agent tooling is still very WIP 😅)

Comment thread tracer/src/Datadog.Trace/Configuration/ExporterSettings.cs Outdated
Copy link
Copy Markdown
Member

@andrewlock andrewlock left a comment

Choose a reason for hiding this comment

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

LGTM in general, but there's some specific things to address before we merge it (mostly already highlighted by Lucas)

  • We should only target existing major versions, and bump support later, otherwise we need strict backward and forward compatibility, which is very hard to maintain and very easy to screw up 😅
  • We shouldn't have static state if we can help it. If we want to cache things, we typically handle that by:
    • Move the calculating and storage of the value to a helper type as instance methods.
    • Create a "singleton" instance of the helper
    • Pass the singleton in to the constructor (or, if this gives too much blast radius, allow passing in a null value for the helper, and grab the singleton in the body. This isn't the preferred approach, but it's sometimes the practical one)
  • We need to ensure we record the new calculated values in telemetry
  • The instrumentation seems a little overly complex considering the behaviours we need and the failure cases

Comment thread tracer/src/Datadog.Trace/Configuration/ExporterSettings.cs Outdated
Comment thread tracer/src/Datadog.Trace/Configuration/ExporterSettings.cs Outdated
&& !Util.EnvironmentHelpers.IsUsingAzureAppServicesSiteExtension()
&& IsCompatLayerAvailableWithPipeSupport())
{
var baseName = Util.EnvironmentHelpers.GetEnvironmentVariable(ConfigurationKeys.TracesPipeName);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Agreed, but we also need to make sure we record the new "calculated" value in telemetry as well

// Check that the compat binary exists — it's what actually listens on the named pipe
// Check that the compat DLL exists and has a version that supports named pipes.
// Named pipe support was added in compat version 1.4.0 (dev builds use 0.0.0).
const string compatBinaryPath = @"C:\home\site\wwwroot\datadog\bin\windows-amd64\datadog-serverless-compat.exe";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Most of these helpers feel like they shouldn't live in ExporterSettings at all 🤔 I'd suggest moving them out to a separate helper, and writing unit tests for them there.

Comment thread tracer/src/Datadog.Trace/Configuration/ExporterSettings.cs Outdated
@Lewis-E Lewis-E force-pushed the lewis/SVLS-8244/add-multifunction-named-pipes branch from c9b7aee to 1df4f5a Compare March 24, 2026 18:55
Comment thread tracer/src/Datadog.Trace/Configuration/ExporterSettings.cs Outdated
Lewis-E and others added 25 commits April 16, 2026 13:34
Lower MinimumVersion from 1.0.0 to 0.0.0 for the CalculateTracePipeName and
CalculateDogStatsDPipeName integrations so the dev (0.0.0) compat assembly is
also instrumented. Add missing trimming XML entries for types newly referenced
by the tracer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…on expressions

- Remove duplicated GenerateUniquePipeName from ExporterSettings, delegate to
  ServerlessCompatPipeNameHelper
- Remove #if !NETFRAMEWORK guard from helper (no .NET Core-only APIs used)
- Remove redundant Log.Information from helper (callers already log)
- Use [] instead of new string[0] for ParameterTypeNames per project convention

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ions

- ServerlessCompatPipeNameHelper: format, truncation, uniqueness
- Integration OnMethodEnd: exception passthrough, caching, override behavior
- ExporterSettings: constructor pipe name selection, generated name format

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Check for the compat binary and DLL on disk before generating pipe names
in ExporterSettings static init. This prevents the tracer from switching
to pipe transport when no compat layer is deployed to listen on the pipe.

The version check allows 0.0.0 (dev builds) or >= 1.4.0 (first release
with named pipe support). Also fix integration fallbacks to pass through
the compat layer's return value instead of generating a new random GUID
when no pre-generated pipe name exists.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Wrap RuntimeInformation.IsOSPlatform in #if !NETFRAMEWORK (net461 doesn't have it)
- Add null-coalescing for AppDomain.CurrentDomain.BaseDirectory (nullable warning)
- Remove unused argument from Log.Debug call (DDLOG003 analyzer error)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…exists

When ExporterSettings hasn't pre-generated a pipe name, the integrations
now generate one via ServerlessCompatPipeNameHelper instead of falling back
to the compat layer's value. Also use realistic GUID-format pipe names in
test fixtures to match actual compat layer behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix "Compatability" → "Compatibility" typo (3 occurrences)
- Use `is null` / `is not null` instead of `== null` / `!= null`
- Use `StringUtil.IsNullOrEmpty()` instead of `string.IsNullOrEmpty()`
- Remove duplicate test file in Datadog.Trace.Tests
- Remove tests already covered by ServerlessCompatPipeNameHelperTests
- Fix SA1508 blank line before closing brace in PlatformKeys

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…nique pipe generation

Instead of skipping pipe generation when an explicit pipe name is configured,
use the configured value as the base name with a GUID suffix appended. This
allows users to customize the pipe base name while still getting per-instance
isolation on shared Azure Functions hosting plans.

If no explicit pipe name is set, falls back to "dd_trace" / "dd_dogstatsd".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… integrations

CalculateDogStatsDPipeName and CalculateTracePipeName are each only called
once during Start(), so caching is unnecessary. The fallback to generate a
new unique name is also removed since ExporterSettings always pre-generates
the pipe name before these instrumentations fire, and generating a name the
tracer doesn't know about is pointless — fall back to the compat layer's
own value instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…e constructor

Replace static field initializers that read env vars directly with instance
methods that use rawSettings.TracesPipeName/MetricsPipeName, respecting all
config sources (env vars, config files, etc.) instead of only environment
variables. Record the calculated pipe names in telemetry. Integrations now
read pipe names from Tracer.Instance.Settings.Exporter instead of removed
static properties.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…e generation

Check the Azure Functions/compat layer condition once in the constructor
instead of duplicating it in two separate methods. Consolidate the two
per-pipe methods into a single GenerateUniquePipeName overload.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…eHelper and make testable

Move compat layer detection out of ExporterSettings into
ServerlessCompatPipeNameHelper alongside the related pipe name logic.
Extract I/O dependencies (file existence, assembly version) as delegates
so version-checking logic can be fully unit tested. Add support for
DD_SERVERLESS_COMPAT_PATH env var to override the default binary path,
matching the compat layer's own behavior. Add comprehensive tests for
all branches: version checks, file missing, null version, exceptions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… fix ExporterSettings access path

- Add DD_SERVERLESS_COMPAT_PATH to supported-configurations.yaml so
  the source generator creates ConfigurationKeys.ServerlessCompatPath
- Fix integration classes to use the correct property path:
  Tracer.Instance.Settings.Manager.InitialExporterSettings
- Restore using Datadog.Trace.Configuration (needed for IntegrationId)
- Remove unused System.Reflection/InteropServices from ExporterSettings

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
+ Maximum Version change

Co-authored-by: Andrew Lock <andrewlock.net@gmail.com>
StringUtil.IsNullOrEmpty has [NotNullWhen(false)] so the compiler
already knows the value is non-null in the false branch.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…SERVERLESS_COMPAT_PATH config key

Update supported_calltargets.g.json and generated_calltargets.g.cpp to
reflect MaximumVersion change from 2.*.* to 1.*.*. Add
DD_SERVERLESS_COMPAT_PATH to supported-configurations.yaml and restore
ConfigurationKeys usage in ServerlessCompatPipeNameHelper.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Version 1.4.0 adds the CalculateTracePipeName and
CalculateDogStatsDPipeName methods that the tracer instruments
for named pipe coordination.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ests

- Update version range comments from 2.*.* to 1.*.* in both integrations
- Update DD_SERVERLESS_COMPAT_PATH documentation for linux default path
- Rewrite ServerlessCompatIntegrationTests: remove reflection-based tests
  for removed cache fields, add Theory-based tests for exception
  passthrough and fallback behavior with exact value assertions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…typo, use SkipOn in tests

- Move ServerlessCompatPipeNameHelper from ClrProfiler.AutoInstrumentation.Serverless
  to Datadog.Trace.Serverless to avoid Configuration depending on instrumentation code
- Fix "compatability" -> "compatibility" typo in YAML documentation
- Replace silent early-return platform guards with SkipOn/SkippableFact
  so Windows-only tests show as skipped instead of silently passing

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Compat 1.4.0 isn't published yet and has a dependency on these tracer
changes. Keep the 1.2.0 dependency — the instrumentation silently skips
when the target methods don't exist, and IsCompatLayerAvailableWithPipeSupport
gates on >= 1.4.0 at runtime. The dependency will be bumped when compat
1.4.0 is published.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The sig index shifted due to new signatures added in master. Use the
correct sig173 as determined by CI's Nuke build.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Master #8231 extracted serverless platform detection from
EnvironmentHelpers into dedicated cached classes under
Datadog.Trace.Serverless. Update the Azure-Functions pipe-name
generation gate to call AzureInfo.Instance.IsAzureFunction and
IsUsingSiteExtension instead of the removed EnvironmentHelpers
methods.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Lewis-E Lewis-E force-pushed the lewis/SVLS-8244/add-multifunction-named-pipes branch from 791e2e7 to d64e802 Compare April 16, 2026 17:48
Addresses review feedback: a customer-set TracesPipeName/MetricsPipeName
(from any configuration source) should pass through verbatim even when
running in Azure Functions, even though this can cause pipe-name
collisions across multiple function instances sharing a plan. We only
fabricate a GUID-suffixed default pipe name when the customer has not
configured one themselves.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Lewis-E
Copy link
Copy Markdown
Author

Lewis-E commented Apr 17, 2026

@lucaspimentel @andrewlock Sorry for the slow back-and-forths here. I've recorded the new setting in telemetry, documented DD_SERVERLESS_COMPAT_PATH, and moved the helpers around. Does GenerateUniquePipeName need to be inlined further & are you happy with the tests? Right now we have one flaky integration test that I don't seem to have permissions to re-run, but other than that, it appears to be passing.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants