Skip to content

[FeatureFlags] Add agentless EVP fallback transport - #9138

Closed
leoromanovsky wants to merge 1 commit into
pavlo.khrebto/EX-2703/ffe-manual-apifrom
leo.romanovsky/ffe-agentless-evp-fallback-dotnet-v3
Closed

leoromanovsky wants to merge 1 commit into
pavlo.khrebto/EX-2703/ffe-manual-apifrom
leo.romanovsky/ffe-agentless-evp-fallback-dotnet-v3

Conversation

@leoromanovsky

@leoromanovsky leoromanovsky commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

The .NET exposure writer currently sends every batch through the fixed Agent path
/evp_proxy/v2/api/v2/exposures. In an agentless deployment without a compatible local EVP proxy, the batch has
no authenticated route to direct intake even when DD_API_KEY and DD_SITE are configured.

flowchart LR
    A["Exposure batch"] --> B["Agent /evp_proxy/v2"]
    B -->|Route available| C["event-platform-intake"]
    B -->|Route missing or unavailable| D["Exposure not delivered"]
Loading

This PR adds fallback delivery for POST /api/v2/exposures.

Linear: FFL-1486

Changes

  • Replace ExposureApi's fixed Agent-v2 request path with FeatureFlagsEvpTransport.
  • Wait up to five seconds for the initial Agent /info response before selecting the exposure route.
  • Prefer an advertised EVP v4 route, then v2.
  • For agentless Feature Flags, select direct intake when neither local route is available and the API key and site
    produce a valid event-platform-intake.<site> HTTPS endpoint.
  • Send direct exposure requests with DD-API-KEY and disabled redirects.
  • Keep the selected direct route for subsequent exposure batches.
  • Add transport coverage for discovery, timeout, disposal, route selection, replay safety, direct headers,
    redirects, and rejected site values.

Agentless exposure route selection:

flowchart TD
    A["First exposure flush"] --> B{"Initial Agent /info result"}
    B -->|EVP v4 advertised| C["Local /evp_proxy/v4/api/v2/exposures"]
    B -->|EVP v2 advertised| D["Local /evp_proxy/v2/api/v2/exposures"]
    B -->|No compatible route or 5 s timeout| E{"Valid API key and site?"}
    E -->|Yes| F["Direct event-platform-intake.&lt;site&gt;/api/v2/exposures"]
    E -->|No| G["Warn once; exposure delivery unavailable"]
Loading

Local-route failure behavior:

Local result Current exposure batch Later exposure batches
Success Sent locally Local route
DNS/connect/socket failure before send, or HTTP 403/404/405 Replay through direct intake Direct intake
Connection reset, send/receive failure, or timeout Do not replay Direct intake
HTTP 429 or 5xx Do not replay Local route

Decisions

  • A bounded initial discovery wait avoids changing route selection after exposures begin flushing.
  • Existing Agent EVP v4 and v2 routes remain preferred whenever advertised.
  • Direct intake is selected only for agentless Feature Flags and only for a validated HTTPS intake hostname.
  • Definitive pre-send and route failures can replay the current exposure batch; ambiguous send failures switch only
    later batches to direct intake.
  • Direct HTTP clients do not follow redirects.

Validation

  • ./tracer/build.sh Restore CompileManagedSrc: passed across the managed target frameworks.
  • ./tracer/build.sh DownloadLibDatadog CopyLibDatadog: passed.
  • ./tracer/build.sh BuildNativeTracerHome: passed.
  • Focused Datadog.Trace.Tests.FeatureFlags.FeatureFlagsEvpTransportTests run on net6.0: 45 passed, 0 failed.

@dd-trace-dotnet-ci-bot

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

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

✅ No regressions detected

📄 View the full report (charts + all metrics) →

@pr-commenter

pr-commenter Bot commented Aug 27, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-08-27 08:52:47

Comparing candidate commit 33cc83c in PR branch leo.romanovsky/ffe-agentless-evp-fallback-dotnet-v3 with baseline commit 36de399 in branch master.

📊 Benchmarking dashboard

Found 3 performance improvements and 0 performance regressions! Performance is the same for 69 metrics, 0 unstable metrics, 64 known flaky benchmarks, 62 flaky benchmarks without significant changes.

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 ----------------------------------'

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartSpan net472

  • 🟩 throughput [+9324.125op/s; +10320.894op/s] or [+5.208%; +5.764%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartSpan_GetCurrentSpan net472

  • 🟩 throughput [+10170.096op/s; +12869.308op/s] or [+5.961%; +7.544%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartSpan_SetActive net472

  • 🟩 throughput [+10577.869op/s; +11316.871op/s] or [+6.467%; +6.919%]

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

  • 🟥 throughput [-9170.431op/s; -8719.935op/s] or [-10.873%; -10.339%]

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

  • 🟥 throughput [-9213.304op/s; -7949.012op/s] or [-9.368%; -8.082%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 allocated_mem [+1.573KB; +1.573KB] or [+47.789%; +47.804%]
  • 🟥 execution_time [+312.988ms; +315.516ms] or [+155.316%; +156.570%]
  • 🟥 throughput [-61.465op/s; -57.393op/s] or [-11.059%; -10.326%]

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

  • 🟥 allocated_mem [+1.014KB; +1.014KB] or [+37.603%; +37.615%]
  • 🟥 execution_time [+384.289ms; +387.501ms] or [+303.612%; +306.149%]
  • 🟩 throughput [+76.279op/s; +80.250op/s] or [+10.057%; +10.581%]

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

  • 🟥 allocated_mem [+1.090KB; +1.090KB] or [+40.417%; +40.429%]
  • 🟥 execution_time [+400.052ms; +402.790ms] or [+354.031%; +356.454%]

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

  • 🟥 allocated_mem [+4.725KB; +4.725KB] or [+99.465%; +99.482%]
  • 🟥 throughput [-60353.173op/s; -59934.963op/s] or [-46.958%; -46.632%]

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

  • 🟥 allocated_mem [+3.848KB; +3.848KB] or [+81.379%; +81.391%]
  • 🟩 execution_time [-16.002ms; -11.814ms] or [-7.474%; -5.518%]
  • 🟥 throughput [-60094.986op/s; -57338.049op/s] or [-43.866%; -41.854%]

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

  • 🟥 allocated_mem [+4.576KB; +4.576KB] or [+98.954%; +98.966%]
  • 🟥 throughput [-49369.038op/s; -47114.679op/s] or [-44.635%; -42.597%]

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

  • 🟥 allocated_mem [+1.348KB; +1.348KB] or [+109.063%; +109.078%]
  • 🟥 throughput [-272847.409op/s; -268913.244op/s] or [-27.859%; -27.457%]

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

  • 🟥 allocated_mem [+511 bytes; +512 bytes] or [+41.822%; +41.834%]
  • 🟩 execution_time [-26.587ms; -21.618ms] or [-11.857%; -9.641%]
  • 🟥 throughput [-122691.286op/s; -99739.295op/s] or [-13.107%; -10.655%]

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

  • 🟥 allocated_mem [+1.312KB; +1.312KB] or [+108.600%; +108.616%]
  • 🟥 throughput [-164397.051op/s; -148243.793op/s] or [-23.621%; -21.300%]

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

  • 🟥 allocated_mem [+3.378KB; +3.378KB] or [+89.003%; +89.017%]
  • 🟥 throughput [-72962.591op/s; -72196.913op/s] or [-49.103%; -48.588%]

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

  • 🟥 allocated_mem [+3.336KB; +3.336KB] or [+88.150%; +88.161%]
  • 🟥 throughput [-73359.784op/s; -70474.055op/s] or [-46.678%; -44.841%]

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

  • 🟥 allocated_mem [+3.264KB; +3.264KB] or [+88.493%; +88.506%]
  • 🟥 throughput [-56025.805op/s; -53403.690op/s] or [-44.632%; -42.543%]

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

  • 🟩 throughput [+289433.399op/s; +312324.722op/s] or [+9.651%; +10.414%]

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

  • 🟩 execution_time [-19.749ms; -15.188ms] or [-9.104%; -7.001%]

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

  • 🟩 allocated_mem [-13.759KB; -13.757KB] or [-42.326%; -42.318%]
  • 🟥 execution_time [+299.442ms; +300.641ms] or [+149.621%; +150.220%]
  • 🟩 throughput [+1081.434op/s; +1104.535op/s] or [+11.944%; +12.199%]

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

  • 🟩 allocated_mem [-13.722KB; -13.718KB] or [-42.341%; -42.329%]
  • 🟥 execution_time [+299.819ms; +302.996ms] or [+151.199%; +152.801%]
  • 🟩 throughput [+2081.109op/s; +2315.646op/s] or [+15.917%; +17.711%]

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

  • 🟩 allocated_mem [-13.722KB; -13.718KB] or [-42.341%; -42.329%]
  • 🟥 execution_time [+300.134ms; +302.489ms] or [+151.184%; +152.370%]
  • 🟩 throughput [+1756.561op/s; +1881.445op/s] or [+16.959%; +18.164%]

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

  • 🟥 execution_time [+295.398ms; +296.362ms] or [+145.088%; +145.561%]
  • 🟩 throughput [+580.139op/s; +588.802op/s] or [+15.380%; +15.609%]

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

  • 🟥 execution_time [+294.476ms; +297.994ms] or [+143.958%; +145.678%]
  • 🟩 throughput [+2457.049op/s; +2579.209op/s] or [+35.696%; +37.471%]

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

  • 🟥 execution_time [+300.296ms; +301.294ms] or [+150.087%; +150.586%]
  • 🟩 throughput [+1402.429op/s; +1427.204op/s] or [+27.837%; +28.329%]

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

  • 🟩 execution_time [-145.732µs; -141.792µs] or [-29.921%; -29.112%]
  • 🟩 throughput [+847.397op/s; +873.222op/s] or [+41.272%; +42.530%]

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

  • 🟩 execution_time [-135.462µs; -108.689µs] or [-31.068%; -24.928%]
  • 🟩 throughput [+824.209op/s; +948.835op/s] or [+35.833%; +41.252%]

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

  • 🟩 execution_time [-143.475µs; -121.509µs] or [-30.740%; -26.034%]
  • 🟩 throughput [+784.734op/s; +866.980op/s] or [+36.225%; +40.022%]

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

  • 🟩 execution_time [-126.946µs; -122.726µs] or [-34.274%; -33.135%]
  • 🟩 throughput [+1349.473op/s; +1398.349op/s] or [+49.978%; +51.788%]

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

  • 🟩 execution_time [-103.696µs; -80.127µs] or [-33.105%; -25.580%]
  • 🟩 throughput [+1210.837op/s; +1411.385op/s] or [+37.745%; +43.997%]

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

  • 🟩 execution_time [-139.171µs; -116.773µs] or [-38.072%; -31.944%]
  • 🟩 throughput [+1354.778op/s; +1492.228op/s] or [+48.618%; +53.550%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.694ms; +300.343ms] or [+149.578%; +149.902%]

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

  • unstable execution_time [+204.008ms; +286.941ms] or [+221.664%; +311.773%]

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

  • unstable execution_time [+182.006ms; +253.402ms] or [+138.196%; +192.405%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+248.602ms; +290.976ms] or [+114.305%; +133.788%]
  • 🟥 throughput [-522.930op/s; -475.805op/s] or [-47.383%; -43.113%]

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

  • unstable execution_time [+202.675ms; +335.951ms] or [+86.372%; +143.168%]
  • 🟥 throughput [-671.083op/s; -587.584op/s] or [-44.761%; -39.192%]

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

  • unstable execution_time [+337.005ms; +354.228ms] or [+201.568%; +211.869%]
  • 🟥 throughput [-399.211op/s; -360.394op/s] or [-27.796%; -25.094%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • 🟩 throughput [+25.756op/s; +30.778op/s] or [+5.118%; +6.116%]

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

  • unstable throughput [-10.988op/s; +63.781op/s] or [-2.051%; +11.905%]

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

  • 🟩 execution_time [-204.231µs; -145.434µs] or [-10.346%; -7.367%]
  • 🟩 throughput [+42.843op/s; +58.938op/s] or [+8.458%; +11.635%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+300.612ms; +302.095ms] or [+151.382%; +152.130%]
  • 🟩 throughput [+16800.872op/s; +18754.639op/s] or [+5.406%; +6.035%]

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

  • 🟥 execution_time [+296.662ms; +307.347ms] or [+148.658%; +154.012%]

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

  • 🟥 execution_time [+299.582ms; +302.529ms] or [+150.497%; +151.978%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+301.632ms; +303.392ms] or [+151.470%; +152.353%]

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

  • 🟥 execution_time [+298.301ms; +300.080ms] or [+147.497%; +148.376%]

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

  • 🟥 execution_time [+305.426ms; +309.990ms] or [+154.803%; +157.117%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+302.026ms; +304.347ms] or [+151.590%; +152.755%]

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

  • 🟥 execution_time [+302.402ms; +306.472ms] or [+150.720%; +152.748%]
  • 🟩 throughput [+34671.220op/s; +43460.932op/s] or [+6.885%; +8.630%]

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

  • 🟥 execution_time [+299.241ms; +302.796ms] or [+148.870%; +150.638%]

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

  • 🟩 execution_time [-16.349ms; -12.573ms] or [-7.603%; -5.847%]

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

  • unstable execution_time [+11.031µs; +56.028µs] or [+2.725%; +13.839%]

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

  • 🟩 allocated_mem [-20.912KB; -20.888KB] or [-7.628%; -7.620%]
  • unstable execution_time [+33.690µs; +150.156µs] or [+6.659%; +29.678%]
  • unstable throughput [-342.884op/s; -53.234op/s] or [-17.110%; -2.656%]

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

  • unstable execution_time [-30.918µs; +36.273µs] or [-5.358%; +6.286%]
  • unstable throughput [-87.993op/s; +92.208op/s] or [-5.027%; +5.268%]

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

  • 🟥 execution_time [+5.831µs; +10.012µs] or [+13.782%; +23.665%]
  • 🟥 throughput [-4631.119op/s; -2802.614op/s] or [-19.496%; -11.798%]

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

  • unstable execution_time [-16.488µs; -9.562µs] or [-25.580%; -14.835%]
  • 🟩 throughput [+2521.716op/s; +3995.199op/s] or [+15.472%; +24.512%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+301.665ms; +303.811ms] or [+152.478%; +153.563%]

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

  • 🟥 execution_time [+305.202ms; +308.425ms] or [+155.347%; +156.987%]

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

  • 🟥 execution_time [+297.884ms; +300.136ms] or [+149.128%; +150.255%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+297.462ms; +299.604ms] or [+148.258%; +149.325%]

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

  • 🟥 execution_time [+302.468ms; +305.477ms] or [+151.885%; +153.396%]

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

  • 🟥 execution_time [+303.960ms; +306.280ms] or [+154.149%; +155.326%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.348ms; +301.027ms] or [+149.815%; +150.154%]
  • 🟩 throughput [+61382763.589op/s; +61674511.404op/s] or [+44.703%; +44.915%]

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

  • 🟥 execution_time [+418.001ms; +421.725ms] or [+519.858%; +524.490%]

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

  • 🟥 execution_time [+298.290ms; +299.497ms] or [+148.780%; +149.382%]

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

  • 🟩 throughput [+64199.518op/s; +74809.680op/s] or [+6.376%; +7.430%]

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

  • 🟩 throughput [+48247.430op/s; +53258.934op/s] or [+8.761%; +9.671%]

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

  • 🟩 throughput [+55718.792op/s; +86583.917op/s] or [+6.225%; +9.674%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net6.0
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net6.0
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@linear-code

linear-code Bot commented Aug 27, 2026

Copy link
Copy Markdown

FFL-1486

FFL-1482

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.

1 participant