Skip to content

[Tracer] (Event Grid 5/5) Enable integration and add support metadata - #8915

Open
pablomartinezbernardo wants to merge 1 commit into
pmartinez/event-grid-functionsfrom
pmartinez/event-grid-activation
Open

pablomartinezbernardo wants to merge 1 commit into
pmartinez/event-grid-functionsfrom
pmartinez/event-grid-activation

Conversation

@pablomartinezbernardo

@pablomartinezbernardo pablomartinezbernardo commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary of changes

Enable Azure Event Grid tracing by default and add its support metadata.

Reason for change

Activate the integration introduced by the preceding PRs in this Graphite stack.

Implementation details

  • Enable outbound SDK and Azure Functions Event Grid tracing by default.
  • Register supported versions for Azure.Messaging.EventGrid and Azure.Messaging.EventGrid.Namespaces.
  • Document inbound and outbound spans in the v0 and v1 span attribute schemas.

Test coverage

Existing Event Grid SDK, Namespaces, and Azure Functions integration tests now validate the default-enabled behavior without an explicit opt-in setting.

Other details

This PR is the final activation step in the Azure Event Grid Graphite stack.

Copy link
Copy Markdown
Contributor Author

@pablomartinezbernardo pablomartinezbernardo added the area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) label Jul 21, 2026
@pr-commenter

pr-commenter Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-10-02 13:30:34

Comparing candidate commit 7f7cac6 in PR branch pmartinez/event-grid-activation with baseline commit 619db52 in branch master.

📊 Benchmarking dashboard

Found 2 performance improvements and 12 performance regressions! Performance is the same for 58 metrics, 0 unstable metrics, 75 known flaky benchmarks, 51 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.StartRootSpan net472

  • 🟩 throughput [+11249.466op/s; +12469.972op/s] or [+6.357%; +7.047%]

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

  • 🟩 throughput [+10414.560op/s; +11707.722op/s] or [+5.894%; +6.626%]

scenario:Benchmarks.Trace.DbCommandBenchmark.ExecuteNonQuery net472

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+10.133%; +10.144%]
  • 🟥 throughput [-31358.264op/s; -28246.257op/s] or [-8.832%; -7.956%]

scenario:Benchmarks.Trace.DbCommandBenchmark.ExecuteNonQuery net6.0

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+9.750%; +9.761%]
  • 🟥 throughput [-39048.137op/s; -27968.564op/s] or [-7.409%; -5.307%]

scenario:Benchmarks.Trace.DbCommandBenchmark.ExecuteNonQuery netcoreapp3.1

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+9.830%; +9.841%]
  • 🟥 throughput [-34787.715op/s; -26806.757op/s] or [-8.599%; -6.626%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 allocated_mem [+272 bytes; +273 bytes] or [+9.374%; +9.385%]
  • 🟥 throughput [-11814.091op/s; -10942.036op/s] or [-13.487%; -12.491%]

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

  • 🟥 allocated_mem [+199 bytes; +200 bytes] or [+9.426%; +9.438%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync netcoreapp3.1

  • 🟥 allocated_mem [+199 bytes; +200 bytes] or [+7.569%; +7.581%]
  • 🟥 throughput [-14757.730op/s; -12890.606op/s] or [-11.711%; -10.229%]

scenario:Benchmarks.Trace.NLogBenchmark.EnrichedLog net472

  • 🟥 throughput [-9722.777op/s; -8574.911op/s] or [-7.448%; -6.569%]

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.ActivityBenchmark.StartSpan net472

  • 🟩 throughput [+10271.491op/s; +12185.899op/s] or [+5.496%; +6.521%]

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

  • 🟩 throughput [+9125.267op/s; +10181.333op/s] or [+5.132%; +5.726%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-9877.493op/s; -8605.105op/s] or [-11.712%; -10.203%]

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

  • 🟥 throughput [-11923.469op/s; -10760.425op/s] or [-12.124%; -10.941%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 allocated_mem [+1.541KB; +1.541KB] or [+46.817%; +46.831%]
  • 🟥 execution_time [+309.605ms; +312.376ms] or [+153.637%; +155.012%]
  • 🟥 throughput [-58.380op/s; -54.144op/s] or [-10.504%; -9.742%]

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

  • 🟥 allocated_mem [+1.014KB; +1.014KB] or [+37.603%; +37.615%]
  • unstable execution_time [+292.452ms; +354.818ms] or [+231.055%; +280.328%]
  • 🟩 throughput [+72.493op/s; +76.096op/s] or [+9.558%; +10.033%]

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

  • 🟥 allocated_mem [+1.090KB; +1.090KB] or [+40.417%; +40.429%]
  • 🟥 execution_time [+393.888ms; +397.245ms] or [+348.576%; +351.547%]

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

  • 🟥 allocated_mem [+4.758KB; +4.758KB] or [+100.159%; +100.174%]
  • 🟥 throughput [-59885.559op/s; -59498.605op/s] or [-46.594%; -46.293%]

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

  • 🟥 allocated_mem [+3.880KB; +3.880KB] or [+82.058%; +82.072%]
  • 🟩 execution_time [-16.305ms; -12.121ms] or [-7.615%; -5.661%]
  • 🟥 throughput [-61020.501op/s; -58257.914op/s] or [-44.542%; -42.525%]

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

  • 🟥 allocated_mem [+4.608KB; +4.608KB] or [+99.641%; +99.654%]
  • 🟥 throughput [-48683.682op/s; -46439.545op/s] or [-44.016%; -41.987%]

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

  • 🟥 allocated_mem [+1.380KB; +1.380KB] or [+111.648%; +111.662%]
  • 🟥 throughput [-299325.856op/s; -296151.441op/s] or [-30.563%; -30.239%]

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

  • 🟥 allocated_mem [+543 bytes; +544 bytes] or [+44.437%; +44.446%]
  • 🟩 execution_time [-26.342ms; -21.468ms] or [-11.747%; -9.574%]
  • 🟥 throughput [-91568.873op/s; -68764.997op/s] or [-9.782%; -7.346%]

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

  • 🟥 allocated_mem [+1.344KB; +1.344KB] or [+111.253%; +111.267%]
  • 🟥 throughput [-172692.645op/s; -156569.234op/s] or [-24.813%; -22.496%]

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

  • 🟥 allocated_mem [+3.378KB; +3.378KB] or [+89.003%; +89.017%]
  • 🟥 throughput [-73212.285op/s; -72453.772op/s] or [-49.271%; -48.761%]

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

  • 🟥 allocated_mem [+3.336KB; +3.336KB] or [+88.150%; +88.161%]
  • 🟥 throughput [-75277.001op/s; -72392.796op/s] or [-47.898%; -46.062%]

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

  • 🟥 allocated_mem [+3.264KB; +3.264KB] or [+88.493%; +88.506%]
  • 🟥 throughput [-56833.273op/s; -54220.775op/s] or [-45.275%; -43.194%]

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

  • 🟩 throughput [+216757.461op/s; +250276.314op/s] or [+7.228%; +8.345%]

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

  • 🟩 execution_time [-19.172ms; -14.839ms] or [-8.838%; -6.840%]

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

  • 🟩 allocated_mem [-13.759KB; -13.756KB] or [-42.324%; -42.316%]
  • 🟥 execution_time [+299.777ms; +301.083ms] or [+149.788%; +150.441%]
  • 🟩 throughput [+839.426op/s; +921.448op/s] or [+9.271%; +10.177%]

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

  • 🟩 allocated_mem [-13.722KB; -13.718KB] or [-42.341%; -42.329%]
  • 🟥 execution_time [+300.290ms; +303.497ms] or [+151.437%; +153.054%]
  • 🟩 throughput [+2289.675op/s; +2500.566op/s] or [+17.513%; +19.126%]

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

  • 🟩 allocated_mem [-13.722KB; -13.718KB] or [-42.341%; -42.329%]
  • 🟥 execution_time [+299.892ms; +302.283ms] or [+151.062%; +152.266%]
  • 🟩 throughput [+1774.777op/s; +1899.787op/s] or [+17.135%; +18.341%]

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

  • 🟥 execution_time [+295.683ms; +296.684ms] or [+145.228%; +145.720%]
  • 🟩 throughput [+535.924op/s; +550.878op/s] or [+14.208%; +14.604%]

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

  • 🟥 execution_time [+293.558ms; +297.030ms] or [+143.510%; +145.207%]
  • 🟩 throughput [+2363.826op/s; +2645.267op/s] or [+34.342%; +38.431%]

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

  • 🟥 execution_time [+299.781ms; +301.007ms] or [+149.830%; +150.443%]
  • 🟩 throughput [+1450.880op/s; +1465.713op/s] or [+28.799%; +29.093%]

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

  • 🟩 execution_time [-145.811µs; -141.453µs] or [-29.937%; -29.042%]
  • 🟩 throughput [+844.489op/s; +874.449op/s] or [+41.130%; +42.590%]

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

  • 🟩 execution_time [-131.849µs; -105.002µs] or [-30.240%; -24.082%]
  • 🟩 throughput [+787.324op/s; +913.170op/s] or [+34.230%; +39.701%]

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

  • 🟩 execution_time [-144.785µs; -122.835µs] or [-31.021%; -26.318%]
  • 🟩 throughput [+796.665op/s; +878.631op/s] or [+36.776%; +40.559%]

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

  • 🟩 execution_time [-125.480µs; -120.772µs] or [-33.879%; -32.608%]
  • 🟩 throughput [+1317.561op/s; +1375.600op/s] or [+48.796%; +50.946%]

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

  • 🟩 execution_time [-98.472µs; -74.863µs] or [-31.437%; -23.900%]
  • 🟩 throughput [+1105.961op/s; +1308.015op/s] or [+34.476%; +40.775%]

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

  • 🟩 execution_time [-137.217µs; -114.803µs] or [-37.537%; -31.406%]
  • 🟩 throughput [+1320.093op/s; +1458.261op/s] or [+47.373%; +52.331%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.558ms; +300.239ms] or [+149.510%; +149.850%]

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

  • unstable execution_time [+321.143ms; +396.224ms] or [+348.935%; +430.513%]

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

  • 🟥 execution_time [+364.318ms; +368.170ms] or [+276.624%; +279.548%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+377.251ms; +438.150ms] or [+173.456%; +201.457%]
  • 🟥 throughput [-581.686op/s; -532.181op/s] or [-52.706%; -48.221%]

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

  • unstable execution_time [+204.243ms; +337.527ms] or [+87.040%; +143.840%]
  • 🟥 throughput [-667.440op/s; -583.979op/s] or [-44.518%; -38.952%]

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

  • unstable execution_time [+333.555ms; +350.959ms] or [+199.505%; +209.914%]
  • 🟥 throughput [-423.805op/s; -383.597op/s] or [-29.509%; -26.709%]

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

  • 🟩 throughput [+27.761op/s; +42.786op/s] or [+5.480%; +8.446%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 allocated_mem [+96 bytes; +97 bytes] or [+12.092%; +12.103%]
  • 🟥 execution_time [+300.549ms; +302.571ms] or [+151.351%; +152.369%]
  • 🟥 throughput [-20709.469op/s; -17440.707op/s] or [-6.664%; -5.612%]

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

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+12.114%; +12.124%]
  • 🟥 execution_time [+297.547ms; +309.829ms] or [+149.101%; +155.256%]

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

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+12.114%; +12.124%]
  • 🟥 execution_time [+301.810ms; +305.764ms] or [+151.617%; +153.603%]
  • 🟥 throughput [-32091.315op/s; -24055.398op/s] or [-6.760%; -5.067%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+11.165%; +11.177%]
  • 🟥 execution_time [+302.290ms; +304.019ms] or [+151.800%; +152.668%]
  • 🟥 throughput [-17200.511op/s; -15005.297op/s] or [-5.762%; -5.027%]

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

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+12.493%; +12.506%]
  • 🟥 execution_time [+298.732ms; +302.202ms] or [+147.710%; +149.426%]
  • 🟥 throughput [-68728.822op/s; -55451.308op/s] or [-11.074%; -8.934%]

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

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+11.422%; +11.434%]
  • 🟥 execution_time [+302.839ms; +307.117ms] or [+153.492%; +155.660%]
  • 🟥 throughput [-35584.668op/s; -27157.319op/s] or [-7.684%; -5.864%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 allocated_mem [+96 bytes; +97 bytes] or [+11.197%; +11.208%]
  • 🟥 execution_time [+305.515ms; +307.975ms] or [+153.341%; +154.576%]
  • 🟥 throughput [-39891.572op/s; -37004.474op/s] or [-10.349%; -9.600%]

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

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+10.618%; +10.631%]
  • 🟥 execution_time [+299.485ms; +301.745ms] or [+149.266%; +150.392%]

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

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+10.618%; +10.631%]
  • 🟥 execution_time [+299.330ms; +307.012ms] or [+148.914%; +152.736%]
  • 🟥 throughput [-34141.110op/s; -25516.688op/s] or [-8.081%; -6.040%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • 🟥 allocated_mem [+96 bytes; +97 bytes] or [+6.002%; +6.011%]
  • 🟥 throughput [-25586.193op/s; -22551.285op/s] or [-10.289%; -9.068%]

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

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+5.627%; +5.636%]
  • 🟩 execution_time [-16.049ms; -12.389ms] or [-7.463%; -5.761%]

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

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+5.605%; +5.617%]

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

  • unstable execution_time [+17.333µs; +62.073µs] or [+4.281%; +15.333%]

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

  • 🟩 allocated_mem [-19.760KB; -19.737KB] or [-7.208%; -7.200%]
  • unstable execution_time [-22.866µs; +34.749µs] or [-4.519%; +6.868%]

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

  • unstable execution_time [-62.541µs; -3.256µs] or [-10.838%; -0.564%]

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

  • unstable execution_time [+8.173µs; +12.678µs] or [+19.318%; +29.966%]
  • 🟥 throughput [-5555.946op/s; -3743.035op/s] or [-23.389%; -15.757%]

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

  • unstable execution_time [-13.274µs; -5.672µs] or [-20.594%; -8.800%]
  • unstable throughput [+1304.274op/s; +2952.139op/s] or [+8.002%; +18.112%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+303.007ms; +304.480ms] or [+153.157%; +153.901%]

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

  • 🟥 execution_time [+302.991ms; +305.852ms] or [+154.222%; +155.678%]

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

  • 🟥 execution_time [+297.067ms; +300.553ms] or [+148.719%; +150.464%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+9.197%; +9.208%]
  • 🟥 throughput [-36577.180op/s; -34811.629op/s] or [-10.126%; -9.637%]

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

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+9.226%; +9.238%]

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

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+9.226%; +9.238%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+299.938ms; +302.584ms] or [+149.492%; +150.811%]

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

  • 🟥 allocated_mem [+96 bytes; +96 bytes] or [+6.000%; +6.010%]
  • 🟥 execution_time [+301.695ms; +302.939ms] or [+151.497%; +152.121%]

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

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+5.819%; +5.828%]
  • 🟥 execution_time [+302.836ms; +305.387ms] or [+153.579%; +154.873%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.844ms; +300.588ms] or [+149.564%; +149.935%]
  • 🟩 throughput [+61111451.659op/s; +61378824.239op/s] or [+44.505%; +44.700%]

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

  • 🟥 execution_time [+418.636ms; +422.570ms] or [+520.648%; +525.541%]

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

  • 🟥 execution_time [+299.812ms; +300.910ms] or [+149.540%; +150.087%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • 🟥 allocated_mem [+31 bytes; +32 bytes] or [+5.244%; +5.256%]
  • 🟥 throughput [-87457.230op/s; -70781.925op/s] or [-9.760%; -7.899%]

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

  • 🟩 throughput [+71255.229op/s; +79972.869op/s] or [+6.653%; +7.467%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • 🟥 allocated_mem [+31 bytes; +32 bytes] or [+6.037%; +6.047%]
  • 🟥 throughput [-118203.082op/s; -111406.922op/s] or [-10.820%; -10.198%]

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

  • 🟥 allocated_mem [+31 bytes; +32 bytes] or [+6.057%; +6.065%]

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

  • 🟥 allocated_mem [+31 bytes; +32 bytes] or [+6.059%; +6.069%]

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

  • 🟩 throughput [+31946.087op/s; +36882.167op/s] or [+5.801%; +6.697%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+15.733%; +15.745%]
  • 🟥 throughput [-73573.268op/s; -67943.243op/s] or [-10.768%; -9.944%]

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

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+14.810%; +14.823%]

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

  • 🟥 allocated_mem [+95 bytes; +96 bytes] or [+14.810%; +14.821%]
  • 🟥 throughput [-60830.355op/s; -45764.954op/s] or [-8.493%; -6.390%]

Known flaky benchmarks without significant changes:

  • 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 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 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.OptimizedCharSliceWithPool netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1

@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from 32e97da to ab55a19 Compare July 21, 2026 09:34
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch from 4b804a8 to 4e4e326 Compare July 21, 2026 09:34
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from ab55a19 to 4604ccd Compare July 21, 2026 14:08
@pablomartinezbernardo pablomartinezbernardo changed the title [Azure Event Grid] Enable integration and add support metadata [Tracer] (Event Grid 5/5) Enable integration and add support metadata Jul 21, 2026
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch 2 times, most recently from 4604ccd to 686f9c4 Compare July 22, 2026 09:01
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch 2 times, most recently from 5613f67 to f532080 Compare July 24, 2026 08:10
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from 686f9c4 to 2e6c04c Compare July 24, 2026 08:10
@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented Jul 24, 2026 •

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

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

✅ No regressions detected

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

@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from 2e6c04c to 8bb93d9 Compare July 24, 2026 10:11
@github-actions

Copy link
Copy Markdown
Contributor

Snapshots difference summary

The following differences have been observed in committed snapshots. It is meant to help the reviewer.
The diff is simplistic, so please check some files anyway while we improve it.

@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch from f532080 to 9c329a7 Compare July 24, 2026 10:46
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from 8bb93d9 to 915111d Compare July 24, 2026 10:46
@pablomartinezbernardo
pablomartinezbernardo marked this pull request as ready for review July 24, 2026 14:52
@pablomartinezbernardo
pablomartinezbernardo requested review from a team as code owners July 24, 2026 14:52
@pablomartinezbernardo
pablomartinezbernardo requested review from kathiehuang and removed request for a team July 24, 2026 14:52
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch from 9c329a7 to 0d76d64 Compare July 27, 2026 08:08
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from 8198daf to cda1fef Compare July 27, 2026 09:22
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch 2 times, most recently from d3d2a1f to e0ef388 Compare July 27, 2026 10:21
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch 2 times, most recently from 9551aec to be69ee8 Compare July 28, 2026 08:59
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch from e0ef388 to 5e19764 Compare July 28, 2026 08:59
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from be69ee8 to b0dbc24 Compare July 29, 2026 09:10
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch 2 times, most recently from ddf0a72 to 27f0125 Compare July 29, 2026 09:43
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from b0dbc24 to 77686e6 Compare July 29, 2026 09:43
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from 77686e6 to f416f23 Compare September 10, 2026 12:34
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch from 27f0125 to b672698 Compare September 10, 2026 12:34
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch from b672698 to a0927c4 Compare September 15, 2026 13:01
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch 2 times, most recently from 8ade8f3 to 56f2718 Compare September 15, 2026 14:03
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch from a0927c4 to b4f4a8d Compare September 15, 2026 14:03
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from 56f2718 to 6791b10 Compare September 15, 2026 15:12
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch from b4f4a8d to 699858f Compare September 15, 2026 15:12
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from 6791b10 to 1aa7529 Compare September 16, 2026 10:23
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch from 699858f to 4dc5947 Compare September 16, 2026 10:23
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from 1aa7529 to f15a635 Compare September 16, 2026 11:22
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch from 4dc5947 to 31f286b Compare September 16, 2026 11:22
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from f15a635 to 2e3bde3 Compare October 2, 2026 08:35
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch from 31f286b to 29271bb Compare October 2, 2026 08:35
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-activation branch from 2e3bde3 to 7f7cac6 Compare October 2, 2026 12:36
@pablomartinezbernardo
pablomartinezbernardo force-pushed the pmartinez/event-grid-functions branch from 29271bb to 23ca62d Compare October 2, 2026 12:37

This branch has not been deployed

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

Labels

area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants