Skip to content

Split Linux integration tests by CI Visibility category - #9113

Closed
bouwkast wants to merge 5 commits into
masterfrom
steven/split-ci-vis-tests
Closed

bouwkast wants to merge 5 commits into
masterfrom
steven/split-ci-vis-tests

Conversation

@bouwkast

@bouwkast bouwkast commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Summary of changes

This splits the CI Visibility tests to be run in in parallel to the rest of the other integration tests.

Reason for change

CI Visibility tests account for ~32% or so of the total time for the given run which was also getting very close to the overall job timeout.

Ideally this reduces the end to end CI time at the cost of needing additional agents running per CI run.

Implementation details

This adds an ability to partition integration tests, it likely should only be used here in this case and ideally removed if/when we reduce the time it takes for these tests.

Test coverage

Testing here to see if it works, you should see new splits in the integration tests on Linux for the tracer tests that will have a split for just the CI visibility tests.

Other details

@bouwkast bouwkast added area:builds project files, build scripts, pipelines, versioning, releases, packages area:tests unit tests, integration tests and removed area:builds project files, build scripts, pipelines, versioning, releases, packages labels Aug 24, 2026
@pr-commenter

pr-commenter Bot commented Aug 24, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-09-01 13:43:03

Comparing candidate commit d3f2fd0 in PR branch steven/split-ci-vis-tests with baseline commit 1fc3a46 in branch master.

📊 Benchmarking dashboard

Found 1 performance improvements and 1 performance regressions! Performance is the same for 70 metrics, 0 unstable metrics, 68 known flaky benchmarks, 58 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_SetActive net472

  • 🟩 throughput [+8426.055op/s; +10316.677op/s] or [+5.103%; +6.248%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-5407.733op/s; -4722.759op/s] or [-6.173%; -5.391%]

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.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472

  • 🟩 throughput [+15983.378op/s; +17002.165op/s] or [+10.024%; +10.663%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472

  • 🟩 throughput [+7344.255op/s; +7970.985op/s] or [+5.060%; +5.492%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0

  • 🟩 throughput [+12542.949op/s; +15290.090op/s] or [+5.881%; +7.170%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-9281.279op/s; -8660.767op/s] or [-11.005%; -10.269%]

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

  • 🟥 throughput [-9952.580op/s; -8692.855op/s] or [-10.120%; -8.839%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 allocated_mem [+1.573KB; +1.573KB] or [+47.789%; +47.804%]
  • 🟥 execution_time [+312.469ms; +315.430ms] or [+155.058%; +156.527%]
  • 🟥 throughput [-61.289op/s; -56.958op/s] or [-11.027%; -10.248%]

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

  • 🟥 allocated_mem [+1.012KB; +1.012KB] or [+37.524%; +37.537%]
  • 🟥 execution_time [+374.791ms; +377.747ms] or [+296.108%; +298.443%]
  • 🟩 throughput [+73.449op/s; +76.902op/s] or [+9.684%; +10.139%]

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

  • 🟥 allocated_mem [+1.088KB; +1.088KB] or [+40.343%; +40.355%]
  • 🟥 execution_time [+390.345ms; +396.264ms] or [+345.441%; +350.678%]

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

  • 🟥 allocated_mem [+4.725KB; +4.726KB] or [+99.482%; +99.497%]
  • 🟥 throughput [-60890.143op/s; -60491.104op/s] or [-47.376%; -47.065%]

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

  • 🟥 allocated_mem [+3.848KB; +3.848KB] or [+81.379%; +81.391%]
  • 🟩 execution_time [-16.250ms; -12.079ms] or [-7.589%; -5.641%]
  • 🟥 throughput [-59987.237op/s; -57227.417op/s] or [-43.787%; -41.773%]

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

  • 🟥 allocated_mem [+4.576KB; +4.576KB] or [+98.954%; +98.966%]
  • 🟥 throughput [-48883.071op/s; -46607.690op/s] or [-44.196%; -42.139%]

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

  • 🟥 allocated_mem [+1.348KB; +1.348KB] or [+109.063%; +109.078%]
  • 🟥 throughput [-281819.939op/s; -278484.882op/s] or [-28.775%; -28.435%]

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

  • 🟥 allocated_mem [+511 bytes; +512 bytes] or [+41.822%; +41.834%]
  • 🟩 execution_time [-27.801ms; -12.898ms] or [-12.398%; -5.752%]
  • 🟥 throughput [-110638.352op/s; -69287.536op/s] or [-11.820%; -7.402%]

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

  • 🟥 allocated_mem [+1.312KB; +1.312KB] or [+108.600%; +108.616%]
  • 🟥 throughput [-172414.368op/s; -156136.465op/s] or [-24.773%; -22.434%]

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

  • 🟥 allocated_mem [+3.378KB; +3.378KB] or [+89.003%; +89.017%]
  • 🟥 throughput [-72623.199op/s; -71867.452op/s] or [-48.875%; -48.366%]

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

  • 🟥 allocated_mem [+3.336KB; +3.336KB] or [+88.150%; +88.161%]
  • 🟥 throughput [-73098.827op/s; -70210.011op/s] or [-46.512%; -44.673%]

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

  • 🟥 allocated_mem [+3.264KB; +3.264KB] or [+88.493%; +88.506%]
  • 🟥 throughput [-56410.621op/s; -53755.467op/s] or [-44.938%; -42.823%]

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

  • 🟩 throughput [+336061.984op/s; +357146.847op/s] or [+11.206%; +11.909%]

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

  • 🟩 execution_time [-19.053ms; -14.723ms] or [-8.783%; -6.787%]

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

  • 🟩 allocated_mem [-13.759KB; -13.756KB] or [-42.324%; -42.316%]
  • 🟥 execution_time [+300.654ms; +301.267ms] or [+150.227%; +150.533%]
  • 🟩 throughput [+995.257op/s; +1012.885op/s] or [+10.993%; +11.187%]

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

  • 🟩 allocated_mem [-13.722KB; -13.718KB] or [-42.341%; -42.329%]
  • 🟥 execution_time [+299.708ms; +302.862ms] or [+151.143%; +152.734%]
  • 🟩 throughput [+2365.447op/s; +2577.540op/s] or [+18.092%; +19.714%]

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

  • 🟩 allocated_mem [-13.722KB; -13.718KB] or [-42.341%; -42.329%]
  • 🟥 execution_time [+299.618ms; +301.986ms] or [+150.924%; +152.117%]
  • 🟩 throughput [+1831.188op/s; +1959.899op/s] or [+17.679%; +18.922%]

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

  • 🟥 execution_time [+296.677ms; +297.898ms] or [+145.716%; +146.316%]
  • 🟩 throughput [+422.829op/s; +504.116op/s] or [+11.209%; +13.364%]

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

  • 🟥 execution_time [+297.229ms; +300.154ms] or [+145.304%; +146.734%]
  • 🟩 throughput [+2545.922op/s; +2647.399op/s] or [+36.987%; +38.462%]

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

  • 🟥 execution_time [+301.875ms; +303.362ms] or [+150.877%; +151.620%]
  • 🟩 throughput [+1379.083op/s; +1403.639op/s] or [+27.374%; +27.861%]

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

  • 🟩 execution_time [-148.132µs; -144.472µs] or [-30.413%; -29.662%]
  • 🟩 throughput [+870.292op/s; +893.447op/s] or [+42.387%; +43.515%]

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

  • 🟩 execution_time [-138.986µs; -112.332µs] or [-31.877%; -25.764%]
  • 🟩 throughput [+861.601op/s; +983.758op/s] or [+37.459%; +42.770%]

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

  • 🟩 execution_time [-142.584µs; -120.620µs] or [-30.549%; -25.843%]
  • 🟩 throughput [+776.797op/s; +859.017op/s] or [+35.858%; +39.654%]

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

  • 🟩 execution_time [-128.934µs; -124.126µs] or [-34.811%; -33.513%]
  • 🟩 throughput [+1372.814op/s; +1433.810op/s] or [+50.843%; +53.102%]

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

  • 🟩 execution_time [-103.924µs; -80.346µs] or [-33.178%; -25.650%]
  • 🟩 throughput [+1215.299op/s; +1416.338op/s] or [+37.884%; +44.151%]

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

  • 🟩 execution_time [-136.650µs; -114.254µs] or [-37.382%; -31.255%]
  • 🟩 throughput [+1310.701op/s; +1447.836op/s] or [+47.036%; +51.957%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.974ms; +300.827ms] or [+149.718%; +150.144%]

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

  • 🟥 execution_time [+408.439ms; +417.019ms] or [+443.786%; +453.109%]
  • 🟩 throughput [+838.900op/s; +1061.702op/s] or [+6.893%; +8.724%]

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

  • unstable execution_time [+296.449ms; +348.080ms] or [+225.091%; +264.294%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+330.876ms; +372.751ms] or [+152.134%; +171.387%]
  • 🟥 throughput [-519.481op/s; -479.368op/s] or [-47.070%; -43.435%]

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

  • unstable execution_time [+202.062ms; +335.350ms] or [+86.110%; +142.912%]
  • 🟥 throughput [-670.015op/s; -586.523op/s] or [-44.690%; -39.121%]

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

  • 🟥 execution_time [+349.616ms; +362.441ms] or [+209.111%; +216.782%]
  • 🟥 throughput [-420.291op/s; -382.054op/s] or [-29.264%; -26.602%]

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

  • unstable throughput [+10.951op/s; +46.803op/s] or [+3.148%; +13.453%]

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

  • 🟩 throughput [+27.468op/s; +46.039op/s] or [+5.422%; +9.089%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+302.656ms; +304.410ms] or [+152.412%; +153.295%]

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

  • 🟥 execution_time [+301.082ms; +302.652ms] or [+150.873%; +151.659%]

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

  • 🟥 execution_time [+300.515ms; +303.979ms] or [+150.966%; +152.706%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+300.636ms; +302.280ms] or [+150.969%; +151.795%]

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

  • 🟥 execution_time [+297.768ms; +300.125ms] or [+147.233%; +148.399%]

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

  • 🟥 execution_time [+303.983ms; +308.508ms] or [+154.072%; +156.365%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+302.200ms; +304.007ms] or [+151.677%; +152.584%]

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

  • 🟥 execution_time [+298.681ms; +307.613ms] or [+148.865%; +153.317%]
  • 🟩 throughput [+33497.489op/s; +43052.746op/s] or [+6.652%; +8.549%]

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

  • 🟥 execution_time [+297.881ms; +301.456ms] or [+148.193%; +149.972%]

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

  • 🟩 execution_time [-16.370ms; -12.705ms] or [-7.612%; -5.908%]
  • 🟩 throughput [+19691.903op/s; +27398.301op/s] or [+5.402%; +7.516%]

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

  • unstable execution_time [+9.755µs; +56.391µs] or [+2.410%; +13.929%]

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

  • 🟥 allocated_mem [+38.833KB; +38.861KB] or [+14.166%; +14.176%]
  • unstable execution_time [+17.956µs; +122.039µs] or [+3.549%; +24.120%]
  • unstable throughput [-293.019op/s; -21.401op/s] or [-14.622%; -1.068%]

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

  • unstable execution_time [-62.692µs; -4.917µs] or [-10.864%; -0.852%]

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

  • unstable execution_time [+6.980µs; +11.347µs] or [+16.499%; +26.820%]
  • 🟥 throughput [-5105.199op/s; -3228.836op/s] or [-21.491%; -13.592%]

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

  • unstable execution_time [-14.401µs; -6.377µs] or [-22.343%; -9.894%]
  • unstable throughput [+1656.443op/s; +3377.729op/s] or [+10.163%; +20.723%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.056ms; +303.600ms] or [+152.676%; +153.456%]

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

  • 🟥 execution_time [+303.584ms; +306.012ms] or [+154.523%; +155.759%]

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

  • 🟥 execution_time [+298.721ms; +302.060ms] or [+149.547%; +151.218%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+298.393ms; +300.490ms] or [+148.722%; +149.767%]

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

  • 🟥 execution_time [+301.497ms; +303.280ms] or [+151.398%; +152.293%]

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

  • 🟥 execution_time [+303.644ms; +305.848ms] or [+153.989%; +155.106%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+301.096ms; +302.360ms] or [+150.188%; +150.819%]
  • 🟩 throughput [+65824295.821op/s; +66142382.911op/s] or [+47.937%; +48.169%]

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

  • 🟥 execution_time [+420.302ms; +424.272ms] or [+522.721%; +527.657%]

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

  • 🟥 execution_time [+300.090ms; +301.180ms] or [+149.678%; +150.222%]
  • 🟩 throughput [+17831227.553op/s; +18805066.047op/s] or [+7.898%; +8.329%]

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

  • 🟩 throughput [+70191.551op/s; +76788.699op/s] or [+6.554%; +7.170%]

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

  • 🟩 throughput [+68141.243op/s; +99059.825op/s] or [+5.274%; +7.667%]

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

  • 🟩 throughput [+62873.020op/s; +72938.683op/s] or [+6.244%; +7.244%]

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

  • 🟩 throughput [+42277.281op/s; +49654.587op/s] or [+7.677%; +9.016%]

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

  • 🟩 throughput [+46836.650op/s; +65081.107op/s] or [+5.233%; +7.271%]

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 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 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 net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1
  • 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 netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • 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

@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented Aug 24, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

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

✅ No regressions detected

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

@bouwkast

Copy link
Copy Markdown
Collaborator Author

@codex review

@github-actions github-actions Bot added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Aug 24, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 1531191365

ℹ️ 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".

@bouwkast

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 1a5d2be78b

ℹ️ 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".

@bouwkast
bouwkast marked this pull request as ready for review August 25, 2026 17:21
@bouwkast
bouwkast requested a review from a team as a code owner August 25, 2026 17:21

@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.

I may be missing something, but can't we use the existing "area" split instead of introducing a new concept? 🤔 Reasoning being, I figure we don't need to run civisibility tests on all PRs at all, same as we do for ASM?

@bouwkast

Copy link
Copy Markdown
Collaborator Author

I may be missing something, but can't we use the existing "area" split instead of introducing a new concept? 🤔 Reasoning being, I figure we don't need to run civisibility tests on all PRs at all, same as we do for ASM?

I think the Area filter is on the assembly / project level, but I was assuming that we would want to continue running CI Visibility tests on all PRs, if we don't want to do that then the Area logic is a better approach

@bouwkast
bouwkast requested review from a team as code owners August 28, 2026 15:03
@bouwkast
bouwkast requested review from vandonr and removed request for a team August 28, 2026 15:03
@bouwkast

Copy link
Copy Markdown
Collaborator Author

I may be missing something, but can't we use the existing "area" split instead of introducing a new concept? 🤔 Reasoning being, I figure we don't need to run civisibility tests on all PRs at all, same as we do for ASM?

@andrewlock Okay "I" made a large change to split them to be like that seeing as we want to drastically reduce PR CI time as well

@bouwkast

Copy link
Copy Markdown
Collaborator Author

@codex review

@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: e2d3bb3389

ℹ️ 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 on lines +206 to +207
return _changedTeamValue.First(x => x.TeamName == CiVisibilityDotnet).IsChanged ||
_changedTeamValue.First(x => x.TeamName == TracingDotnet).IsChanged;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Include APM-owned changes in the CI Visibility matrix

For PRs whose only changes are in shared files owned solely by @DataDog/apm-dotnet, neither predicate is true, so every generated matrix omits the CIVisibility area. For example, Configuration/IntegrationId.cs is APM-owned but is directly exercised by the moved CI tests when configuring XUnit log submission. Before this split those tests were part of the unconditional Tracer entries; now behavioral regressions from such changes receive no CI Visibility test run. Track APM-owned changes here as well, or keep this area unconditional.

Useful? React with 👍 / 👎.

@bouwkast

bouwkast commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator Author

Closing in favor of #9169

@bouwkast bouwkast closed this Sep 4, 2026
andrewlock added a commit that referenced this pull request Sep 8, 2026
…icated jobs only when required (#9169)

## Summary of changes

Splits out CiVisibility tests to only run when CI Visibility files have
changed.

## Reason for change

The CI Vis tests take a long time, and are getting longer with new major
versions of xunit etc. Splitting them out as we do for ASM should reduce
PR build times (and incidentally reduce chances of flake etc too).

## Implementation details

This is an alternative approach to
#9113, in which we keep
using the `Area` approach. My thinking there was that we _might_ want to
split this out later, + it also gives an easy mechanism for skipping
_unit_ tests etc later as well if we want to, without introducing
additional filter concepts.

## Test coverage

This is the test.

## Other details

Splitting the Windows integration tests doesn't really gain anything
because hardly any ci vis tests run on windows, but I think it still
makes sense for parity.

I'm also thinking we _should_ split the arm64 integration tests now, as
they're getting that much longer. I'll do a separate PR for that
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 area:tests unit tests, integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants