Skip to content

[AppSec] Emit rasp.error and rasp.rule.skipped telemetry - #9090

Open
dromanol wants to merge 1 commit into
masterfrom
dani/aap/rasp-telemetry
Open

[AppSec] Emit rasp.error and rasp.rule.skipped telemetry#9090
dromanol wants to merge 1 commit into
masterfrom
dani/aap/rasp-telemetry

Conversation

@dromanol

Copy link
Copy Markdown
Contributor

Summary of changes

Add the two missing RASP telemetry count metrics:

  • appsec.rasp.error — the WAF returned an error for a RASP evaluation, tagged by waf_error and rule_type/rule_variant.
  • appsec.rasp.rule.skipped — a RASP evaluation never reached the WAF, tagged by reason and rule_type/rule_variant.

Reason for change

.NET was the only tracer not emitting these, so RASP errors and lifecycle-skipped evaluations were invisible in telemetry. Fixes APPSEC-69544.

Implementation details

Both metrics are recorded from RaspModule, which is the only place that knows the address (and therefore the rule type) — no rule type has to be plumbed through SecurityCoordinator/Context.

  • Skipped: CheckVulnerability, OnDownstreamRequest and OnDownstreamResponse had a combined rootSpan is null || rootSpan.IsFinished || rootSpan.Type != SpanTypes.Web guard. It is split so a finished span reports after-request and the rest report out-of-request. A missing security coordinator also reports out-of-request.
  • Error: recorded right after RunWaf. A null result means the WAF never produced one, reported as waf_error:-127 (binding error); otherwise the return code is mapped through the existing ToWafErrorTag(). A timeout returns early, since it is already reported by rasp.timeout — same precedence as SecurityReporter.RecordWafTelemetry.
  • RunWaf also returns null when the additive context was disposed between the lifecycle check and the call, i.e. the request ended in between. The new AppSecRequestContext.IsAdditiveContextDisposed distinguishes that case so it is reported as rasp.rule.skipped{after-request} rather than a phantom binding error.
  • OnDownstreamRequest/OnDownstreamResponse now check AddressEnabled(DownstreamUrl) up front, so a ruleset without SSRF rules doesn't report skips for instrumentation that isn't active.

Tag shapes follow the intake spec in dd-go rather than another tracer's implementation. Note rasp.rule.skipped carries neither waf_version nor event_rules_version — the evaluation is skipped before the WAF is reached.

The embedded common_metrics.json copy used by MetricTests is updated; dd-go needs the same two entries after this merges.

Test coverage

New RaspModuleTelemetryTests (32 tests): both reasons across all 5 rule types, all WAF error codes, success codes and timeouts recording nothing, unknown addresses no-op, the absence of waf_version tags, and the disposed-context vs binding-error split. MetricTests validates both metrics against the intake spec.

Other details

rasp.duration / rasp.duration_ext (distributions) are not included and will follow separately.

🤖 Generated with Claude Code

Add the two missing RASP telemetry count metrics: rasp.error when the WAF
returns an error for a RASP evaluation, and rasp.rule.skipped when the
evaluation never reaches the WAF because of the request lifecycle.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@dromanol
dromanol requested review from a team as code owners August 20, 2026 17:19
@dd-trace-dotnet-ci-bot

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

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

✅ No regressions detected

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

@pr-commenter

pr-commenter Bot commented Aug 20, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-08-20 18:10:41

Comparing candidate commit d07c891 in PR branch dani/aap/rasp-telemetry with baseline commit 9439391 in branch master.

📊 Benchmarking dashboard

Found 1 performance improvements and 0 performance regressions! Performance is the same for 71 metrics, 0 unstable metrics, 65 known flaky benchmarks, 61 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 net6.0

  • 🟩 throughput [+17431.997op/s; +21691.819op/s] or [+6.381%; +7.940%]

Known flaky benchmarks

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

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-10318.982op/s; -9531.770op/s] or [-12.235%; -11.302%]

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

  • 🟥 throughput [-8091.973op/s; -6752.279op/s] or [-8.228%; -6.866%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 allocated_mem [+1.605KB; +1.605KB] or [+48.760%; +48.776%]
  • 🟥 execution_time [+306.331ms; +308.942ms] or [+152.012%; +153.308%]
  • 🟥 throughput [-55.048op/s; -50.906op/s] or [-9.904%; -9.159%]

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

  • 🟥 allocated_mem [+1.010KB; +1.010KB] or [+37.448%; +37.460%]
  • 🟥 execution_time [+376.148ms; +378.168ms] or [+297.180%; +298.776%]
  • 🟩 throughput [+70.469op/s; +77.008op/s] or [+9.291%; +10.153%]

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

  • 🟥 allocated_mem [+1.088KB; +1.088KB] or [+40.343%; +40.355%]
  • 🟥 execution_time [+389.847ms; +394.131ms] or [+345.000%; +348.791%]

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

  • 🟥 allocated_mem [+4.725KB; +4.726KB] or [+99.482%; +99.497%]
  • 🟥 throughput [-60772.414op/s; -60385.581op/s] or [-47.284%; -46.983%]

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

  • 🟥 allocated_mem [+3.848KB; +3.848KB] or [+81.379%; +81.391%]
  • 🟩 execution_time [-16.349ms; -12.146ms] or [-7.635%; -5.672%]
  • 🟥 throughput [-59936.857op/s; -57172.936op/s] or [-43.751%; -41.733%]

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

  • 🟥 allocated_mem [+4.576KB; +4.576KB] or [+98.954%; +98.966%]
  • 🟥 throughput [-48202.898op/s; -45960.218op/s] or [-43.581%; -41.553%]

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

  • 🟥 allocated_mem [+1.348KB; +1.348KB] or [+109.063%; +109.078%]
  • 🟥 throughput [-270165.065op/s; -266503.646op/s] or [-27.585%; -27.211%]

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

  • 🟥 allocated_mem [+511 bytes; +512 bytes] or [+41.822%; +41.834%]
  • 🟩 execution_time [-26.908ms; -22.047ms] or [-12.000%; -9.832%]
  • 🟥 throughput [-99172.691op/s; -76156.917op/s] or [-10.595%; -8.136%]

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

  • 🟥 allocated_mem [+1.312KB; +1.312KB] or [+108.600%; +108.616%]
  • 🟥 throughput [-164450.983op/s; -148477.461op/s] or [-23.628%; -21.333%]

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

  • 🟥 allocated_mem [+3.378KB; +3.378KB] or [+89.003%; +89.017%]
  • 🟥 throughput [-73361.370op/s; -72570.109op/s] or [-49.371%; -48.839%]

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

  • 🟥 allocated_mem [+3.336KB; +3.336KB] or [+88.150%; +88.161%]
  • 🟥 throughput [-72839.016op/s; -69961.391op/s] or [-46.346%; -44.515%]

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

  • 🟥 allocated_mem [+3.264KB; +3.264KB] or [+88.493%; +88.506%]
  • 🟥 throughput [-56060.846op/s; -53444.524op/s] or [-44.660%; -42.576%]

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

  • 🟩 throughput [+281501.838op/s; +312917.160op/s] or [+9.386%; +10.434%]

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

  • 🟩 execution_time [-18.936ms; -14.602ms] or [-8.729%; -6.731%]

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

  • 🟩 allocated_mem [-13.759KB; -13.757KB] or [-42.326%; -42.318%]
  • 🟥 execution_time [+300.434ms; +301.276ms] or [+150.117%; +150.537%]
  • 🟩 throughput [+952.477op/s; +983.294op/s] or [+10.520%; +10.860%]

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

  • 🟩 allocated_mem [-13.722KB; -13.718KB] or [-42.341%; -42.329%]
  • 🟥 execution_time [+300.200ms; +303.330ms] or [+151.392%; +152.970%]
  • 🟩 throughput [+2381.721op/s; +2595.535op/s] or [+18.217%; +19.852%]

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

  • 🟩 allocated_mem [-13.722KB; -13.718KB] or [-42.341%; -42.329%]
  • 🟥 execution_time [+300.379ms; +302.996ms] or [+151.308%; +152.626%]
  • 🟩 throughput [+1782.768op/s; +1914.075op/s] or [+17.212%; +18.479%]

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

  • 🟥 execution_time [+297.508ms; +299.025ms] or [+146.124%; +146.869%]
  • 🟩 throughput [+551.619op/s; +563.225op/s] or [+14.624%; +14.931%]

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

  • 🟥 execution_time [+297.885ms; +300.771ms] or [+145.625%; +147.036%]
  • 🟩 throughput [+2744.933op/s; +2795.908op/s] or [+39.879%; +40.619%]

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

  • 🟥 execution_time [+300.533ms; +301.450ms] or [+150.206%; +150.664%]
  • 🟩 throughput [+1290.717op/s; +1367.582op/s] or [+25.620%; +27.145%]

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

  • 🟩 execution_time [-149.009µs; -144.911µs] or [-30.594%; -29.752%]
  • 🟩 throughput [+873.890op/s; +901.741op/s] or [+42.562%; +43.919%]

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

  • 🟩 execution_time [-140.065µs; -113.482µs] or [-32.124%; -26.027%]
  • 🟩 throughput [+873.627op/s; +994.152op/s] or [+37.982%; +43.222%]

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

  • 🟩 execution_time [-142.739µs; -120.769µs] or [-30.582%; -25.875%]
  • 🟩 throughput [+778.110op/s; +860.457op/s] or [+35.919%; +39.720%]

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

  • 🟩 execution_time [-128.960µs; -124.684µs] or [-34.818%; -33.664%]
  • 🟩 throughput [+1382.001op/s; +1432.494op/s] or [+51.183%; +53.053%]

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

  • 🟩 execution_time [-103.781µs; -80.193µs] or [-33.132%; -25.602%]
  • 🟩 throughput [+1212.199op/s; +1413.630op/s] or [+37.788%; +44.067%]

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

  • 🟩 execution_time [-137.254µs; -114.826µs] or [-37.547%; -31.412%]
  • 🟩 throughput [+1320.469op/s; +1459.186op/s] or [+47.386%; +52.364%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.200ms; +299.955ms] or [+149.332%; +149.709%]

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

  • unstable execution_time [+273.414ms; +346.307ms] or [+297.075%; +376.277%]
  • 🟩 throughput [+841.060op/s; +1090.547op/s] or [+6.911%; +8.961%]

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

  • 🟥 execution_time [+365.881ms; +370.176ms] or [+277.810%; +281.071%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 allocated_mem [+2.848KB; +2.853KB] or [+5.059%; +5.069%]
  • unstable execution_time [+353.270ms; +405.470ms] or [+162.430%; +186.431%]
  • 🟥 throughput [-536.243op/s; -486.502op/s] or [-48.589%; -44.082%]

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

  • unstable execution_time [+196.570ms; +329.813ms] or [+83.770%; +140.553%]
  • 🟥 throughput [-679.771op/s; -595.758op/s] or [-45.341%; -39.737%]

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

  • 🟥 execution_time [+320.436ms; +329.949ms] or [+191.658%; +197.348%]
  • 🟥 throughput [-381.789op/s; -344.304op/s] or [-26.583%; -23.973%]

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

  • 🟩 execution_time [-146.431µs; -109.010µs] or [-7.418%; -5.522%]
  • 🟩 throughput [+30.516op/s; +40.898op/s] or [+6.024%; +8.074%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+302.369ms; +303.957ms] or [+152.267%; +153.067%]

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

  • 🟥 execution_time [+303.087ms; +312.710ms] or [+151.878%; +156.700%]

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

  • 🟥 execution_time [+300.214ms; +314.061ms] or [+150.815%; +157.771%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+300.618ms; +302.174ms] or [+150.960%; +151.742%]

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

  • 🟥 execution_time [+298.096ms; +300.350ms] or [+147.395%; +148.510%]

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

  • 🟥 execution_time [+302.282ms; +306.520ms] or [+153.210%; +155.358%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+300.456ms; +303.833ms] or [+150.802%; +152.497%]

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

  • 🟥 execution_time [+291.632ms; +307.846ms] or [+145.352%; +153.433%]
  • 🟩 throughput [+31332.905op/s; +44848.007op/s] or [+6.222%; +8.905%]

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

  • 🟥 execution_time [+299.760ms; +303.834ms] or [+149.128%; +151.155%]

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

  • 🟩 execution_time [-16.874ms; -13.224ms] or [-7.847%; -6.149%]

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

  • unstable execution_time [+7.411µs; +50.932µs] or [+1.831%; +12.581%]

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

  • 🟩 allocated_mem [-18.931KB; -18.908KB] or [-6.906%; -6.897%]
  • unstable execution_time [-30.010µs; +25.425µs] or [-5.931%; +5.025%]

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

  • 🟩 allocated_mem [-23.989KB; -23.971KB] or [-8.745%; -8.738%]
  • unstable execution_time [-59.819µs; +1.114µs] or [-10.366%; +0.193%]

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

  • unstable execution_time [+7.621µs; +12.521µs] or [+18.015%; +29.596%]
  • 🟥 throughput [-5408.870op/s; -3454.904op/s] or [-22.770%; -14.544%]

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

  • unstable execution_time [-13.892µs; -6.118µs] or [-21.553%; -9.491%]
  • unstable throughput [+1499.529op/s; +3190.907op/s] or [+9.200%; +19.577%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.782ms; +304.507ms] or [+153.043%; +153.915%]

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

  • 🟥 execution_time [+303.102ms; +305.640ms] or [+154.278%; +155.570%]

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

  • 🟥 execution_time [+300.583ms; +303.448ms] or [+150.479%; +151.913%]

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

  • 🟩 throughput [+41542.136op/s; +44020.910op/s] or [+7.863%; +8.332%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.655ms; +302.781ms] or [+149.849%; +150.909%]

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

  • 🟥 execution_time [+301.615ms; +303.459ms] or [+151.457%; +152.382%]

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

  • 🟥 execution_time [+303.190ms; +305.486ms] or [+153.759%; +154.923%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.374ms; +300.329ms] or [+149.329%; +149.806%]
  • 🟩 throughput [+66121599.160op/s; +66511055.542op/s] or [+48.154%; +48.437%]

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

  • unstable execution_time [+340.784ms; +398.270ms] or [+423.826%; +495.320%]

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

  • 🟥 execution_time [+300.209ms; +301.519ms] or [+149.738%; +150.391%]
  • 🟩 throughput [+13248570.794op/s; +17029672.697op/s] or [+5.868%; +7.543%]

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

  • 🟩 throughput [+78491.322op/s; +88511.243op/s] or [+7.328%; +8.264%]

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

  • 🟩 throughput [+69297.006op/s; +99191.309op/s] or [+5.364%; +7.678%]

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

  • 🟩 throughput [+68971.806op/s; +76931.909op/s] or [+6.850%; +7.641%]

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

  • 🟩 throughput [+44848.205op/s; +49059.988op/s] or [+8.144%; +8.908%]

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

  • 🟩 throughput [+69373.515op/s; +86700.388op/s] or [+7.751%; +9.687%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice 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.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 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

internal sealed partial class MetricsTelemetryCollector
{
private const int CountLength = 770;
private const int CountLength = 800;

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.

Urgh, this number is getting quite large, I wonder if we're going to have to do something about it at some point 🙁

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yup, I thought the same when I saw it

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants