Skip to content

[Coding Agents] Add HTTP REST API fallbacks for AzDO build analysis#8448

Merged
lucaspimentel merged 4 commits into
masterfrom
lpimentel/improve-azdo-script-2
Apr 14, 2026
Merged

[Coding Agents] Add HTTP REST API fallbacks for AzDO build analysis#8448
lucaspimentel merged 4 commits into
masterfrom
lpimentel/improve-azdo-script-2

Conversation

@lucaspimentel

@lucaspimentel lucaspimentel commented Apr 13, 2026

Copy link
Copy Markdown
Member

Summary of changes

Add HTTP fallback to AzureDevOpsHelpers.psm1 so the CI build analysis skill works without az or gh CLIs installed.

Reason for change

The az and gh CLI tools are not always available (e.g., fresh machines, CI environments, or teammates without them installed). Since dd-trace-dotnet is a public project on both Azure DevOps and GitHub, read-only API requests work without authentication.

Implementation details

  • Invoke-AzDevOpsApi: tries az devops invoke first; on failure or missing CLI, falls back to Invoke-RestMethod with direct REST URLs for GET requests. PATCH/POST/PUT still require az.
  • Get-BuildIdFromPR: tries gh pr checks first; falls back to GitHub REST API (get PR → get commit statuses → extract AzDO build URL).
  • Get-PRNumberForCurrentBranch (new): tries gh pr view; falls back to GitHub pulls API with ?head=DataDog:{branch} filter.
  • Test-Prerequisites: now warns instead of erroring when CLIs are missing/misconfigured, since HTTP fallback covers read-only operations.
  • Skill docs (SKILL.md, scripts-reference.md) updated to reflect optional CLI requirements.

New internal helper functions: Invoke-AzDevOpsApiViaCli, Invoke-AzDevOpsApiViaHttp, Get-BuildIdFromPRViaGh, Get-BuildIdFromPRViaHttp.

Test coverage

Manually tested all three invocation paths with HTTP fallback forced:

  • -BuildId <ID> — direct AzDO HTTP GET
  • -PullRequest <NUMBER> — GitHub REST API → AzDO HTTP GET
  • Auto-detect (no args) — GitHub REST API PR search → AzDO HTTP GET

Other details

Stage retry (Retry-AzureDevOpsFailedStages.ps1) intentionally has no HTTP fallback because it requires authenticated az CLI for PATCH operations.

🤖 Generated with Claude Code

When az/gh CLIs are unavailable or misconfigured,
fall back to direct HTTP requests via Invoke-RestMethod
for read-only operations. Stage retry still requires az.

🤖 Co-Authored-By: Claude Code <[email protected]>
@lucaspimentel lucaspimentel changed the title Add HTTP fallback for AzDO build analysis skill Add HTTP fallback for AzDO build analysis Apr 13, 2026
@lucaspimentel lucaspimentel changed the title Add HTTP fallback for AzDO build analysis Add HTTP REST API fallbacks for AzDO build analysis Apr 13, 2026
@lucaspimentel
lucaspimentel marked this pull request as ready for review April 13, 2026 20:05
@lucaspimentel
lucaspimentel requested review from a team as code owners April 13, 2026 20:05
@lucaspimentel lucaspimentel changed the title Add HTTP REST API fallbacks for AzDO build analysis [Coding Agents] Add HTTP REST API fallbacks for AzDO build analysis Apr 13, 2026
@lucaspimentel lucaspimentel added the AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos label Apr 13, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2f68b02eda

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tracer/tools/AzureDevOpsHelpers.psm1 Outdated
Avoid picking up stale closed/merged PRs when branch
names are reused in the HTTP fallback path.

🤖 Co-Authored-By: Claude Code <[email protected]>

@andrewlock andrewlock left a comment

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.

YOLO

The scripts declare #Requires -Version 5.1 and use no PS 7+
specific syntax. Update skill docs to reflect 5.1 as minimum,
with PS 7+ (pwsh) as preferred.

🤖 Co-Authored-By: Claude Code <[email protected]>
@lucaspimentel
lucaspimentel enabled auto-merge (squash) April 14, 2026 17:22
@pr-commenter

pr-commenter Bot commented Apr 14, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-04-14 18:29:56

Comparing candidate commit 8ff4202 in PR branch lpimentel/improve-azdo-script-2 with baseline commit 6c7f4d5 in branch master.

Found 1 performance improvements and 1 performance regressions! Performance is the same for 25 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 ----------------------------------'

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-5010.163op/s; -4823.771op/s] or [-5.719%; -5.507%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net6.0

  • 🟩 throughput [+7579.429op/s; +9032.708op/s] or [+5.149%; +6.136%]

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 [-697.747µs; +230.106µs] or [-0.347%; +0.114%]
  • ignore throughput [+230.510op/s; +666.788op/s] or [+0.273%; +0.791%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-1293.114µs; +2244.920µs] or [-0.645%; +1.120%]
  • 🟩 throughput [+8789.250op/s; +11072.761op/s] or [+7.388%; +9.307%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • ignore execution_time [+0.863ms; +3.093ms] or [+0.434%; +1.556%]
  • ignore throughput [-2918.335op/s; -1741.012op/s] or [-2.967%; -1.770%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [-20 bytes; -19 bytes] or [-0.613%; -0.600%]
  • 🟥 execution_time [+311.828ms; +314.325ms] or [+154.740%; +155.979%]
  • ignore throughput [+1.825op/s; +6.023op/s] or [+0.328%; +1.084%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+381.527ms; +383.888ms] or [+301.430%; +303.295%]
  • ignore throughput [+15.879op/s; +19.120op/s] or [+2.094%; +2.521%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+399.005ms; +401.584ms] or [+353.105%; +355.387%]
  • ignore throughput [-2.271op/s; +1.411op/s] or [-0.321%; +0.199%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.005%]
  • ignore execution_time [-202.933µs; +351.557µs] or [-0.101%; +0.176%]
  • ignore throughput [+1639.868op/s; +2068.592op/s] or [+1.276%; +1.609%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.005%]
  • 🟩 execution_time [-16.558ms; -12.375ms] or [-7.733%; -5.779%]
  • 🟩 throughput [+9565.581op/s; +12360.890op/s] or [+6.982%; +9.023%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.002%]
  • ignore execution_time [-11.228ms; -7.100ms] or [-5.347%; -3.381%]
  • 🟩 throughput [+5840.949op/s; +8113.969op/s] or [+5.281%; +7.336%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.002%; +0.008%]
  • ignore execution_time [-1027.668µs; -374.053µs] or [-0.512%; -0.186%]
  • ignore throughput [+2909.389op/s; +9809.562op/s] or [+0.297%; +1.002%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.002%; +0.005%]
  • 🟩 execution_time [-26.232ms; -21.350ms] or [-11.698%; -9.521%]
  • 🟩 throughput [+93644.328op/s; +116365.587op/s] or [+10.004%; +12.432%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [-0.833ms; +3.442ms] or [-0.416%; +1.718%]
  • 🟩 throughput [+72200.546op/s; +88637.313op/s] or [+10.374%; +12.735%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-1374.495µs; -214.976µs] or [-0.685%; -0.107%]
  • ignore throughput [+666.049op/s; +1511.880op/s] or [+0.448%; +1.017%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • ignore execution_time [-0.601ms; +2.999ms] or [-0.303%; +1.513%]
  • 🟩 throughput [+11375.785op/s; +14346.442op/s] or [+7.238%; +9.128%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+2.190ms; +6.183ms] or [+1.116%; +3.152%]
  • 🟩 throughput [+7600.797op/s; +10242.450op/s] or [+6.055%; +8.159%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • ignore execution_time [-318.108µs; -120.314µs] or [-0.159%; -0.060%]
  • ignore throughput [+22239.996op/s; +33023.659op/s] or [+0.677%; +1.005%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.008%]
  • ignore execution_time [-2.877ms; -0.654ms] or [-1.423%; -0.324%]
  • 🟩 throughput [+432635.589op/s; +469441.181op/s] or [+14.426%; +15.653%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • 🟩 execution_time [-18.323ms; -13.965ms] or [-8.446%; -6.437%]
  • 🟩 throughput [+189967.099op/s; +243713.234op/s] or [+7.540%; +9.674%]

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

  • ignore allocated_mem [+0 bytes; +2 bytes] or [-0.001%; +0.007%]
  • 🟥 execution_time [+300.048ms; +300.602ms] or [+149.924%; +150.201%]
  • ignore throughput [+86.128op/s; +123.598op/s] or [+0.951%; +1.365%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+300.734ms; +303.945ms] or [+151.661%; +153.280%]
  • ignore throughput [+214.834op/s; +425.185op/s] or [+1.643%; +3.252%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.765ms; +302.468ms] or [+150.998%; +152.360%]
  • ignore throughput [+180.905op/s; +309.969op/s] or [+1.747%; +2.993%]

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

  • ignore allocated_mem [+2 bytes; +3 bytes] or [+0.137%; +0.150%]
  • 🟥 execution_time [+296.470ms; +297.145ms] or [+145.614%; +145.946%]
  • ignore throughput [+9.991op/s; +17.280op/s] or [+0.265%; +0.458%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+296.748ms; +299.269ms] or [+145.069%; +146.302%]
  • ignore throughput [+2.270op/s; +37.320op/s] or [+0.033%; +0.542%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+301.132ms; +302.289ms] or [+150.505%; +151.084%]
  • ignore throughput [+40.407op/s; +61.861op/s] or [+0.802%; +1.228%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+2.424µs; +6.108µs] or [+0.498%; +1.254%]
  • ignore throughput [-25.205op/s; -9.975op/s] or [-1.228%; -0.486%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.010%]
  • ignore execution_time [+13.542µs; +40.199µs] or [+3.106%; +9.220%]
  • ignore throughput [-199.311op/s; -79.360op/s] or [-8.665%; -3.450%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [+9.770µs; +31.836µs] or [+2.093%; +6.821%]
  • ignore throughput [-155.335op/s; -74.100op/s] or [-7.171%; -3.421%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-5.624µs; -1.504µs] or [-1.518%; -0.406%]
  • ignore throughput [+11.951op/s; +41.652op/s] or [+0.443%; +1.543%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • 🟥 execution_time [+19.488µs; +43.048µs] or [+6.221%; +13.743%]
  • 🟥 throughput [-403.984op/s; -205.688op/s] or [-12.593%; -6.412%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [-10690.496ns; +11666.496ns] or [-2.924%; +3.191%]
  • ignore throughput [-121.019op/s; +12.328op/s] or [-4.343%; +0.442%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.887ms; +300.509ms] or [+149.674%; +149.985%]
  • ignore throughput [-1286888.090op/s; -721297.912op/s] or [-0.645%; -0.361%]

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

  • ignore allocated_mem [+54 bytes; +56 bytes] or [+0.303%; +0.314%]
  • 🟥 execution_time [+412.137ms; +416.508ms] or [+447.803%; +452.553%]
  • 🟩 throughput [+1113.726op/s; +1256.681op/s] or [+9.152%; +10.326%]

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

  • ignore allocated_mem [-3 bytes; +0 bytes] or [-0.015%; -0.004%]
  • 🟥 execution_time [+369.573ms; +372.765ms] or [+280.613%; +283.037%]
  • 🟩 throughput [+765.236op/s; +963.251op/s] or [+7.408%; +9.325%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 allocated_mem [+2.815KB; +2.820KB] or [+5.001%; +5.010%]
  • unstable execution_time [+286.563ms; +364.847ms] or [+131.759%; +167.753%]
  • 🟥 throughput [-545.469op/s; -479.164op/s] or [-49.425%; -43.417%]

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

  • ignore allocated_mem [-1.268KB; -1.266KB] or [-2.991%; -2.985%]
  • unstable execution_time [+183.213ms; +318.021ms] or [+78.078%; +135.527%]
  • 🟥 throughput [-746.749op/s; -663.294op/s] or [-49.808%; -44.242%]

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

  • ignore allocated_mem [+240 bytes; +243 bytes] or [+0.568%; +0.575%]
  • 🟥 execution_time [+337.880ms; +347.620ms] or [+202.091%; +207.917%]
  • 🟥 throughput [-401.715op/s; -365.679op/s] or [-27.971%; -25.462%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-47.379µs; -28.612µs] or [-2.384%; -1.440%]
  • ignore throughput [+7.748op/s; +12.427op/s] or [+1.540%; +2.469%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-30.243µs; -17.384µs] or [-2.078%; -1.194%]
  • ignore throughput [+8.623op/s; +14.833op/s] or [+1.255%; +2.159%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-212.638µs; -104.190µs] or [-7.397%; -3.625%]
  • ignore throughput [+14.587op/s; +37.988op/s] or [+4.193%; +10.919%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-7.272µs; +4.520µs] or [-0.628%; +0.390%]
  • ignore throughput [-2.683op/s; +5.758op/s] or [-0.311%; +0.667%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-61.751µs; -21.344µs] or [-5.727%; -1.979%]
  • ignore throughput [+25.931op/s; +70.469op/s] or [+2.796%; +7.598%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+5.434µs; +15.727µs] or [+0.291%; +0.843%]
  • ignore throughput [-4.436op/s; -1.503op/s] or [-0.828%; -0.281%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • ignore allocated_mem [-43 bytes; +21 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+56.606µs; +75.345µs] or [+2.211%; +2.943%]
  • ignore throughput [-11.056op/s; -8.328op/s] or [-2.830%; -2.132%]

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

  • ignore allocated_mem [-38 bytes; +46 bytes] or [-0.006%; +0.007%]
  • 🟩 execution_time [-159.039µs; -111.732µs] or [-8.056%; -5.660%]
  • 🟩 throughput [+33.192op/s; +45.439op/s] or [+6.552%; +8.970%]

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

  • ignore allocated_mem [-42 bytes; +23 bytes] or [-0.007%; +0.004%]
  • ignore execution_time [-134.663µs; -94.119µs] or [-3.415%; -2.387%]
  • ignore throughput [+6.459op/s; +9.042op/s] or [+2.547%; +3.565%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • 🟥 execution_time [+303.415ms; +304.800ms] or [+152.794%; +153.492%]
  • ignore throughput [+6685.093op/s; +8461.221op/s] or [+2.151%; +2.723%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.134ms; +302.296ms] or [+150.899%; +151.481%]
  • ignore throughput [+30268.632op/s; +34909.108op/s] or [+4.772%; +5.504%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+302.027ms; +305.334ms] or [+151.726%; +153.387%]
  • ignore throughput [+17181.957op/s; +25001.988op/s] or [+3.619%; +5.267%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • 🟥 execution_time [+304.074ms; +305.258ms] or [+152.696%; +153.290%]
  • ignore throughput [+6810.755op/s; +8303.725op/s] or [+2.282%; +2.782%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.006%]
  • 🟥 execution_time [+298.721ms; +300.478ms] or [+147.704%; +148.573%]
  • ignore throughput [+28922.715op/s; +34454.345op/s] or [+4.660%; +5.551%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.774ms; +305.304ms] or [+152.952%; +154.742%]
  • ignore throughput [+5501.054op/s; +13587.088op/s] or [+1.188%; +2.934%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.108%; +0.119%]
  • 🟥 execution_time [+301.018ms; +303.336ms] or [+151.084%; +152.247%]
  • ignore throughput [+2494.522op/s; +4858.502op/s] or [+0.647%; +1.260%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+301.283ms; +303.919ms] or [+150.162%; +151.476%]
  • 🟩 throughput [+55485.853op/s; +62296.482op/s] or [+11.018%; +12.370%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+300.581ms; +303.824ms] or [+149.536%; +151.150%]
  • ignore throughput [-5309.325op/s; +6.995op/s] or [-1.257%; +0.002%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-1.476ms; -0.631ms] or [-0.734%; -0.314%]
  • ignore throughput [+3526.224op/s; +4705.312op/s] or [+1.418%; +1.892%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.003%]
  • 🟩 execution_time [-15.621ms; -11.902ms] or [-7.264%; -5.534%]
  • 🟩 throughput [+22115.664op/s; +28900.006op/s] or [+6.067%; +7.928%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.008%]
  • ignore execution_time [-0.578ms; +3.373ms] or [-0.290%; +1.692%]
  • ignore throughput [+3855.708op/s; +9654.921op/s] or [+1.407%; +3.524%]

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

  • ignore allocated_mem [-4.459KB; -4.431KB] or [-1.623%; -1.613%]
  • ignore execution_time [+1.720µs; +42.045µs] or [+0.425%; +10.385%]
  • ignore throughput [-220.202op/s; -16.292op/s] or [-8.861%; -0.656%]

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

  • 🟩 allocated_mem [-19.473KB; -19.452KB] or [-7.103%; -7.096%]
  • unstable execution_time [-47.076µs; +3.999µs] or [-9.304%; +0.790%]
  • ignore throughput [-9.845op/s; +168.667op/s] or [-0.491%; +8.417%]

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

  • 🟩 allocated_mem [-16.298KB; -16.282KB] or [-5.941%; -5.935%]
  • unstable execution_time [+2.859µs; +119.960µs] or [+0.496%; +20.788%]
  • unstable throughput [-132.980op/s; +68.141op/s] or [-7.597%; +3.893%]

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

  • ignore allocated_mem [-2 bytes; +2 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-699.346ns; +686.012ns] or [-1.211%; +1.188%]
  • ignore throughput [-187.674op/s; +207.095op/s] or [-1.083%; +1.195%]

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

  • ignore allocated_mem [-4 bytes; +0 bytes] or [-0.010%; -0.001%]
  • 🟥 execution_time [+4.119µs; +7.936µs] or [+9.736%; +18.758%]
  • 🟥 throughput [-3793.139op/s; -2060.330op/s] or [-15.968%; -8.673%]

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

  • ignore allocated_mem [-1 bytes; +1 bytes] or [-0.002%; +0.002%]
  • unstable execution_time [-14.400µs; -7.192µs] or [-22.341%; -11.158%]
  • 🟩 throughput [+1891.417op/s; +3409.207op/s] or [+11.604%; +20.917%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • ignore allocated_mem [+2 bytes; +3 bytes] or [+0.061%; +0.072%]
  • 🟥 execution_time [+302.455ms; +303.737ms] or [+152.878%; +153.525%]
  • ignore throughput [-112.631op/s; -88.384op/s] or [-1.882%; -1.477%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • 🟥 execution_time [+303.773ms; +306.242ms] or [+154.619%; +155.876%]
  • ignore throughput [-39.903op/s; +35.244op/s] or [-0.495%; +0.437%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • 🟥 execution_time [+302.136ms; +305.376ms] or [+151.257%; +152.878%]
  • ignore throughput [-147.154op/s; -71.332op/s] or [-1.875%; -0.909%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [-471.412µs; +96.163µs] or [-0.235%; +0.048%]
  • ignore throughput [-7974.778op/s; -6673.167op/s] or [-2.208%; -1.847%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.007%]
  • ignore execution_time [-144.917µs; +473.159µs] or [-0.072%; +0.237%]
  • 🟩 throughput [+56788.158op/s; +59318.341op/s] or [+10.749%; +11.228%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.006%]
  • ignore execution_time [+1.333ms; +5.014ms] or [+0.676%; +2.541%]
  • ignore throughput [+534.951op/s; +8990.728op/s] or [+0.127%; +2.128%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • 🟥 execution_time [+300.467ms; +302.187ms] or [+149.756%; +150.613%]
  • ignore throughput [-5533.689op/s; -4244.290op/s] or [-3.654%; -2.803%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+0.000%; +0.009%]
  • 🟥 execution_time [+301.321ms; +302.649ms] or [+151.309%; +151.976%]
  • ignore throughput [+1231.531op/s; +3061.829op/s] or [+0.536%; +1.332%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • 🟥 execution_time [+304.869ms; +307.484ms] or [+154.610%; +155.936%]
  • ignore throughput [+502.685op/s; +2402.747op/s] or [+0.283%; +1.353%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.744ms; +300.332ms] or [+149.514%; +149.807%]
  • 🟩 throughput [+61211823.798op/s; +61459159.754op/s] or [+44.578%; +44.758%]

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

  • ignore allocated_mem [+36 bytes; +38 bytes] or [+0.212%; +0.222%]
  • unstable execution_time [+352.215ms; +395.888ms] or [+438.043%; +492.357%]
  • 🟩 throughput [+1056.494op/s; +1242.006op/s] or [+8.167%; +9.601%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.779ms; +300.666ms] or [+149.523%; +149.965%]
  • ignore throughput [+1742783.380op/s; +2680727.011op/s] or [+0.772%; +1.187%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-158.415µs; +485.083µs] or [-0.079%; +0.243%]
  • ignore throughput [-39958.825op/s; -35987.942op/s] or [-4.459%; -4.016%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-4.049ms; -2.807ms] or [-1.983%; -1.375%]
  • 🟩 throughput [+88654.215op/s; +98758.667op/s] or [+8.277%; +9.221%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-0.027ms; +4.068ms] or [-0.014%; +2.059%]
  • 🟩 throughput [+43600.325op/s; +63151.511op/s] or [+5.047%; +7.310%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.009%]
  • ignore execution_time [-161.614µs; +754.781µs] or [-0.081%; +0.377%]
  • ignore throughput [-4661.297op/s; +1257.331op/s] or [-0.427%; +0.115%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • ignore execution_time [+6.300ms; +10.393ms] or [+3.282%; +5.415%]
  • 🟩 throughput [+88985.536op/s; +119279.584op/s] or [+6.888%; +9.232%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • ignore execution_time [-3.240ms; -1.762ms] or [-1.592%; -0.866%]
  • 🟩 throughput [+76949.301op/s; +85991.220op/s] or [+7.642%; +8.540%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.002%]
  • ignore execution_time [-1528.773µs; -302.645µs] or [-0.761%; -0.151%]
  • ignore throughput [+5887.540op/s; +9006.087op/s] or [+1.312%; +2.007%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • ignore execution_time [-947.114µs; +635.716µs] or [-0.473%; +0.317%]
  • 🟩 throughput [+55150.827op/s; +59602.163op/s] or [+10.014%; +10.823%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [-0.986ms; +3.099ms] or [-0.496%; +1.557%]
  • ignore throughput [+15608.253op/s; +25586.902op/s] or [+3.494%; +5.727%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-1457.444µs; -505.203µs] or [-0.726%; -0.252%]
  • ignore throughput [-21616.255op/s; -17466.631op/s] or [-3.164%; -2.556%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-1025.374µs; +2472.944µs] or [-0.513%; +1.237%]
  • 🟩 throughput [+68389.360op/s; +85878.495op/s] or [+7.641%; +9.595%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+1.898ms; +5.820ms] or [+0.964%; +2.956%]
  • ignore throughput [+7227.512op/s; +22631.942op/s] or [+1.009%; +3.160%]

@lucaspimentel
lucaspimentel merged commit c752825 into master Apr 14, 2026
99 of 103 checks passed
@lucaspimentel
lucaspimentel deleted the lpimentel/improve-azdo-script-2 branch April 14, 2026 18:30
@github-actions github-actions Bot added this to the vNext-v3 milestone Apr 14, 2026
@andrewlock andrewlock added area:builds project files, build scripts, pipelines, versioning, releases, packages for-ai-agents 🤖 files used by AI agents, not humans and removed AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos labels Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:builds project files, build scripts, pipelines, versioning, releases, packages for-ai-agents 🤖 files used by AI agents, not humans

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants