Skip to content

[Configuration] Redact OTLP header configs in telemetry#8763

Open
bm1549 wants to merge 3 commits into
masterfrom
brian.marks/omit-sensitive-config-telemetry
Open

[Configuration] Redact OTLP header configs in telemetry#8763
bm1549 wants to merge 3 commits into
masterfrom
brian.marks/omit-sensitive-config-telemetry

Conversation

@bm1549

@bm1549 bm1549 commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Summary of changes

Renders the OTLP exporter header configurations (OTEL_EXPORTER_OTLP_HEADERS, OTEL_EXPORTER_OTLP_TRACES_HEADERS, OTEL_EXPORTER_OTLP_METRICS_HEADERS, OTEL_EXPORTER_OTLP_LOGS_HEADERS) as <redacted> in configuration telemetry.

Reason for change

These configurations should not be included in configuration telemetry.

Implementation details

The reads use AsRedactedString() / AsRedactedDictionaryResult(), and the four variants are marked sensitive: true in supported-configurations.yaml.

Test coverage

Telemetry-level unit tests covering the redacted reads.

Other details

None.

@bm1549 bm1549 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 Jun 6, 2026
@datadog-official

This comment has been minimized.

@pr-commenter

pr-commenter Bot commented Jun 6, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-17 02:13:15

Comparing candidate commit 96d2e66 in PR branch brian.marks/omit-sensitive-config-telemetry with baseline commit 586e97e in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 72 metrics, 0 unstable metrics, 60 known flaky benchmarks, 66 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 ----------------------------------'

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 [-7177.879op/s; -6723.244op/s] or [-8.511%; -7.972%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+302.203ms; +303.917ms] or [+149.964%; +150.814%]
  • 🟥 throughput [-50.277op/s; -46.602op/s] or [-9.046%; -8.385%]

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

  • 🟥 execution_time [+383.118ms; +384.045ms] or [+302.687%; +303.419%]
  • 🟩 throughput [+87.543op/s; +89.163op/s] or [+11.542%; +11.756%]

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

  • 🟥 execution_time [+390.251ms; +392.273ms] or [+345.357%; +347.147%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.528%; +27.540%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.976%; +9.987%]
  • 🟩 execution_time [-15.425ms; -11.232ms] or [-7.204%; -5.246%]
  • 🟩 throughput [+7394.907op/s; +10292.030op/s] or [+5.398%; +7.513%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-271622.441op/s; -268501.553op/s] or [-27.734%; -27.415%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.557%; +38.566%]
  • 🟩 execution_time [-27.564ms; -22.692ms] or [-12.292%; -10.120%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟥 throughput [-157896.501op/s; -141858.244op/s] or [-22.687%; -20.382%]

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

  • 🟩 throughput [+9070.880op/s; +11808.578op/s] or [+7.226%; +9.407%]

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

  • 🟩 throughput [+424275.232op/s; +441137.887op/s] or [+14.147%; +14.709%]

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

  • 🟩 execution_time [-19.155ms; -14.800ms] or [-8.830%; -6.822%]
  • 🟩 throughput [+162638.077op/s; +216337.891op/s] or [+6.456%; +8.587%]

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

  • 🟥 execution_time [+300.352ms; +301.943ms] or [+150.076%; +150.871%]

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

  • 🟥 execution_time [+300.528ms; +303.697ms] or [+151.557%; +153.155%]
  • 🟩 throughput [+666.982op/s; +886.635op/s] or [+5.101%; +6.781%]

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

  • 🟥 execution_time [+298.999ms; +301.985ms] or [+150.613%; +152.116%]

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

  • 🟥 execution_time [+296.765ms; +298.104ms] or [+145.759%; +146.417%]

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

  • 🟥 execution_time [+297.078ms; +300.392ms] or [+145.231%; +146.850%]

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

  • 🟥 execution_time [+300.541ms; +302.352ms] or [+150.210%; +151.115%]

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

  • 🟥 throughput [-208.794op/s; -125.575op/s] or [-9.638%; -5.797%]

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

  • 🟥 execution_time [+33.844µs; +57.989µs] or [+10.805%; +18.513%]
  • 🟥 throughput [-522.679op/s; -320.395op/s] or [-16.293%; -9.988%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.881ms; +300.719ms] or [+149.672%; +150.090%]

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

  • unstable execution_time [+329.204ms; +392.136ms] or [+357.693%; +426.072%]
  • 🟩 throughput [+713.912op/s; +897.255op/s] or [+5.866%; +7.373%]

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

  • unstable execution_time [+320.941ms; +355.043ms] or [+243.687%; +269.581%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+283.494ms; +341.102ms] or [+130.348%; +156.836%]
  • 🟥 throughput [-554.205op/s; -506.156op/s] or [-50.216%; -45.863%]

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

  • unstable execution_time [+203.189ms; +336.517ms] or [+86.591%; +143.409%]
  • 🟥 throughput [-671.935op/s; -588.463op/s] or [-44.818%; -39.251%]

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

  • 🟥 execution_time [+353.846ms; +364.162ms] or [+211.641%; +217.811%]
  • 🟥 throughput [-427.983op/s; -386.256op/s] or [-29.800%; -26.894%]

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

  • 🟩 execution_time [-176.036µs; -136.462µs] or [-8.917%; -6.913%]
  • 🟩 throughput [+39.093op/s; +49.406op/s] or [+7.717%; +9.753%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+302.561ms; +305.321ms] or [+152.364%; +153.754%]

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

  • 🟥 execution_time [+300.688ms; +302.046ms] or [+150.675%; +151.356%]

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

  • 🟥 execution_time [+301.678ms; +304.897ms] or [+151.550%; +153.167%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+302.647ms; +304.371ms] or [+151.979%; +152.845%]

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

  • 🟥 execution_time [+298.726ms; +300.874ms] or [+147.707%; +148.769%]

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

  • 🟥 execution_time [+304.739ms; +308.284ms] or [+154.455%; +156.252%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+302.801ms; +304.611ms] or [+151.979%; +152.887%]

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

  • 🟥 execution_time [+301.989ms; +305.180ms] or [+150.514%; +152.104%]
  • 🟩 throughput [+38583.923op/s; +43691.687op/s] or [+7.662%; +8.676%]

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

  • 🟥 execution_time [+299.534ms; +302.281ms] or [+149.015%; +150.382%]

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

  • 🟩 execution_time [-16.505ms; -12.864ms] or [-7.675%; -5.982%]

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

  • unstable execution_time [+8.314µs; +51.372µs] or [+2.054%; +12.689%]

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

  • 🟩 allocated_mem [-19.251KB; -19.228KB] or [-7.022%; -7.014%]
  • unstable execution_time [-44.017µs; +10.660µs] or [-8.700%; +2.107%]

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

  • 🟩 allocated_mem [-17.615KB; -17.597KB] or [-6.421%; -6.415%]
  • unstable execution_time [-42.720µs; +21.279µs] or [-7.403%; +3.687%]

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

  • unstable execution_time [+11.265µs; +18.145µs] or [+26.628%; +42.890%]
  • 🟥 throughput [-6833.238op/s; -4653.099op/s] or [-28.766%; -19.588%]

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

  • unstable execution_time [-13.015µs; -5.143µs] or [-20.192%; -7.979%]
  • unstable throughput [+1199.555op/s; +2848.399op/s] or [+7.360%; +17.476%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+303.884ms; +305.138ms] or [+153.600%; +154.233%]

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

  • 🟥 execution_time [+302.279ms; +304.894ms] or [+153.859%; +155.190%]

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

  • 🟥 execution_time [+302.914ms; +307.330ms] or [+151.646%; +153.857%]

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

  • 🟩 throughput [+32763.967op/s; +37489.029op/s] or [+6.202%; +7.096%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+299.688ms; +301.753ms] or [+149.368%; +150.397%]

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

  • 🟥 execution_time [+300.964ms; +302.360ms] or [+151.130%; +151.831%]
  • 🟩 throughput [+12580.022op/s; +13631.530op/s] or [+5.471%; +5.928%]

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

  • 🟥 execution_time [+303.861ms; +306.501ms] or [+154.099%; +155.438%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.488ms; +301.370ms] or [+149.885%; +150.325%]
  • 🟩 throughput [+61229424.092op/s; +61568794.943op/s] or [+44.591%; +44.838%]

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

  • unstable execution_time [+321.550ms; +391.615ms] or [+399.905%; +487.043%]

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

  • 🟥 execution_time [+299.053ms; +300.176ms] or [+149.161%; +149.721%]

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

  • 🟩 throughput [+85313.410op/s; +93590.872op/s] or [+7.965%; +8.738%]

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

  • 🟩 throughput [+53308.706op/s; +73130.098op/s] or [+6.170%; +8.465%]

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

  • 🟩 throughput [+77059.375op/s; +108714.222op/s] or [+5.965%; +8.415%]

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

  • 🟩 throughput [+92234.877op/s; +99962.535op/s] or [+9.160%; +9.928%]

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

  • 🟩 throughput [+48505.678op/s; +54354.398op/s] or [+8.808%; +9.870%]

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

  • 🟩 throughput [+24817.569op/s; +34541.867op/s] or [+5.555%; +7.732%]

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

  • 🟩 throughput [+90941.707op/s; +108180.462op/s] or [+10.160%; +12.086%]

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.ActivityBenchmark.StartStopWithChild netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1
  • 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.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • 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 Jun 6, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

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

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration74.34 ± (74.23 - 74.67) ms75.12 ± (74.89 - 75.38) ms+1.1%✅⬆️
.NET Framework 4.8 - Bailout
duration77.21 ± (77.10 - 77.46) ms78.55 ± (78.48 - 78.86) ms+1.7%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1099.28 ± (1098.36 - 1105.27) ms1096.67 ± (1096.14 - 1102.50) ms-0.2%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.77 ± (22.70 - 22.84) ms22.83 ± (22.75 - 22.90) ms+0.2%✅⬆️
process.time_to_main_ms85.53 ± (85.21 - 85.86) ms86.20 ± (85.88 - 86.53) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.89 - 10.90) MB10.93 ± (10.92 - 10.93) MB+0.3%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.47 ± (22.43 - 22.52) ms22.64 ± (22.60 - 22.68) ms+0.7%✅⬆️
process.time_to_main_ms85.55 ± (85.37 - 85.73) ms85.54 ± (85.37 - 85.71) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.93 - 10.94) MB10.95 ± (10.95 - 10.96) MB+0.2%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms214.90 ± (214.04 - 215.76) ms215.11 ± (214.24 - 215.98) ms+0.1%✅⬆️
process.time_to_main_ms542.79 ± (541.39 - 544.19) ms540.98 ± (539.61 - 542.36) ms-0.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.30 ± (48.26 - 48.33) MB48.31 ± (48.27 - 48.34) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 6 - Baseline
process.internal_duration_ms21.66 ± (21.61 - 21.72) ms21.27 ± (21.23 - 21.31) ms-1.8%
process.time_to_main_ms75.57 ± (75.27 - 75.86) ms72.69 ± (72.52 - 72.85) ms-3.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.61 - 10.61) MB10.62 ± (10.62 - 10.63) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.53 ± (21.49 - 21.57) ms21.47 ± (21.43 - 21.52) ms-0.3%
process.time_to_main_ms76.19 ± (75.95 - 76.43) ms75.73 ± (75.51 - 75.95) ms-0.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.71 ± (10.71 - 10.72) MB10.74 ± (10.73 - 10.74) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms370.39 ± (368.22 - 372.56) ms372.37 ± (370.20 - 374.53) ms+0.5%✅⬆️
process.time_to_main_ms548.86 ± (547.63 - 550.08) ms547.86 ± (546.56 - 549.17) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.77 ± (49.74 - 49.79) MB49.82 ± (49.79 - 49.84) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.2%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.49 ± (19.46 - 19.52) ms19.49 ± (19.45 - 19.53) ms-0.0%
process.time_to_main_ms72.41 ± (72.28 - 72.54) ms72.26 ± (72.11 - 72.42) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.68 - 7.69) MB7.68 ± (7.67 - 7.68) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.69 ± (19.65 - 19.74) ms19.43 ± (19.39 - 19.47) ms-1.3%
process.time_to_main_ms75.39 ± (75.18 - 75.59) ms73.41 ± (73.26 - 73.57) ms-2.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.72 ± (7.72 - 7.72) MB7.74 ± (7.73 - 7.75) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms296.98 ± (294.79 - 299.17) ms302.94 ± (300.63 - 305.25) ms+2.0%✅⬆️
process.time_to_main_ms496.04 ± (494.93 - 497.14) ms495.75 ± (494.84 - 496.65) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.81 ± (36.78 - 36.84) MB36.87 ± (36.84 - 36.90) MB+0.2%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.5%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration200.71 ± (200.25 - 201.25) ms200.13 ± (199.66 - 200.53) ms-0.3%
.NET Framework 4.8 - Bailout
duration203.17 ± (203.23 - 204.33) ms204.65 ± (204.04 - 205.04) ms+0.7%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1193.56 ± (1193.65 - 1199.63) ms1198.00 ± (1199.79 - 1206.95) ms+0.4%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms191.94 ± (191.49 - 192.38) ms193.90 ± (193.55 - 194.26) ms+1.0%✅⬆️
process.time_to_main_ms82.86 ± (82.57 - 83.16) ms84.16 ± (83.81 - 84.51) ms+1.6%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.09 ± (16.07 - 16.11) MB16.15 ± (16.12 - 16.17) MB+0.4%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (19 - 20)-0.3%
.NET Core 3.1 - Bailout
process.internal_duration_ms191.66 ± (191.16 - 192.16) ms193.67 ± (193.25 - 194.09) ms+1.0%✅⬆️
process.time_to_main_ms84.10 ± (83.84 - 84.36) ms85.44 ± (85.18 - 85.69) ms+1.6%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.13 ± (16.10 - 16.15) MB16.23 ± (16.20 - 16.26) MB+0.6%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (20 - 21)-0.9%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms385.73 ± (384.37 - 387.09) ms387.03 ± (385.93 - 388.12) ms+0.3%✅⬆️
process.time_to_main_ms538.84 ± (537.46 - 540.22) ms539.29 ± (538.06 - 540.51) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.46 ± (57.27 - 57.64) MB57.91 ± (57.76 - 58.06) MB+0.8%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.1%
.NET 6 - Baseline
process.internal_duration_ms197.85 ± (197.38 - 198.32) ms197.89 ± (197.46 - 198.33) ms+0.0%✅⬆️
process.time_to_main_ms72.27 ± (72.04 - 72.51) ms72.88 ± (72.57 - 73.18) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.39 ± (16.37 - 16.41) MB16.40 ± (16.37 - 16.43) MB+0.1%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.2%
.NET 6 - Bailout
process.internal_duration_ms196.92 ± (196.41 - 197.44) ms197.41 ± (196.93 - 197.89) ms+0.2%✅⬆️
process.time_to_main_ms73.00 ± (72.79 - 73.21) ms73.65 ± (73.41 - 73.89) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.47 ± (16.43 - 16.50) MB16.50 ± (16.47 - 16.53) MB+0.2%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.2%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms587.11 ± (584.78 - 589.43) ms586.54 ± (584.14 - 588.93) ms-0.1%
process.time_to_main_ms542.40 ± (541.28 - 543.51) ms546.62 ± (545.66 - 547.58) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.05 ± (60.96 - 61.14) MB61.13 ± (61.05 - 61.21) MB+0.1%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.1%
.NET 8 - Baseline
process.internal_duration_ms194.94 ± (194.47 - 195.42) ms195.68 ± (195.17 - 196.18) ms+0.4%✅⬆️
process.time_to_main_ms71.42 ± (71.20 - 71.65) ms72.28 ± (72.03 - 72.54) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.72 ± (11.70 - 11.74) MB11.77 ± (11.75 - 11.79) MB+0.4%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.1%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms194.31 ± (193.81 - 194.82) ms195.66 ± (195.20 - 196.12) ms+0.7%✅⬆️
process.time_to_main_ms72.18 ± (71.98 - 72.38) ms73.55 ± (73.33 - 73.78) ms+1.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.78 ± (11.76 - 11.80) MB11.81 ± (11.79 - 11.84) MB+0.3%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.1%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms511.57 ± (509.06 - 514.08) ms511.62 ± (509.01 - 514.24) ms+0.0%✅⬆️
process.time_to_main_ms493.25 ± (492.35 - 494.15) ms497.47 ± (496.67 - 498.27) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.62 ± (50.58 - 50.65) MB50.75 ± (50.71 - 50.79) MB+0.3%✅⬆️
runtime.dotnet.threads.count30 ± (29 - 30)30 ± (30 - 30)+0.7%✅⬆️
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8763) - mean (75ms)  : 72, 79
    master - mean (74ms)  : 71, 78

    section Bailout
    This PR (8763) - mean (79ms)  : 76, 81
    master - mean (77ms)  : 75, 80

    section CallTarget+Inlining+NGEN
    This PR (8763) - mean (1,099ms)  : 1054, 1145
    master - mean (1,102ms)  : 1050, 1153

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8763) - mean (117ms)  : 111, 124
    master - mean (116ms)  : 110, 122

    section Bailout
    This PR (8763) - mean (116ms)  : 113, 119
    master - mean (115ms)  : 111, 119

    section CallTarget+Inlining+NGEN
    This PR (8763) - mean (795ms)  : 772, 818
    master - mean (795ms)  : 765, 824

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8763) - mean (101ms)  : 98, 104
    master - mean (104ms)  : 99, 109

    section Bailout
    This PR (8763) - mean (104ms)  : 100, 109
    master - mean (104ms)  : 100, 109

    section CallTarget+Inlining+NGEN
    This PR (8763) - mean (954ms)  : 900, 1008
    master - mean (952ms)  : 912, 992

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8763) - mean (99ms)  : 96, 103
    master - mean (100ms)  : 97, 102

    section Bailout
    This PR (8763) - mean (101ms)  : 97, 104
    master - mean (103ms)  : 99, 107

    section CallTarget+Inlining+NGEN
    This PR (8763) - mean (829ms)  : 785, 872
    master - mean (823ms)  : 779, 868

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8763) - mean (200ms)  : 195, 205
    master - mean (201ms)  : 195, 207

    section Bailout
    This PR (8763) - mean (205ms)  : 199, 210
    master - mean (204ms)  : 196, 211

    section CallTarget+Inlining+NGEN
    This PR (8763) - mean (1,203ms)  : 1150, 1257
    master - mean (1,197ms)  : 1153, 1241

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8763) - mean (288ms)  : 282, 295
    master - mean (284ms)  : 276, 291

    section Bailout
    This PR (8763) - mean (289ms)  : 284, 294
    master - mean (285ms)  : 278, 291

    section CallTarget+Inlining+NGEN
    This PR (8763) - mean (967ms)  : 933, 1000
    master - mean (963ms)  : 934, 993

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8763) - mean (280ms)  : 275, 286
    master - mean (279ms)  : 270, 288

    section Bailout
    This PR (8763) - mean (281ms)  : 276, 286
    master - mean (278ms)  : 273, 284

    section CallTarget+Inlining+NGEN
    This PR (8763) - mean (1,165ms)  : 1125, 1205
    master - mean (1,157ms)  : 1124, 1191

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8763) - mean (278ms)  : 270, 286
    master - mean (277ms)  : 268, 285

    section Bailout
    This PR (8763) - mean (279ms)  : 273, 286
    master - mean (276ms)  : 269, 284

    section CallTarget+Inlining+NGEN
    This PR (8763) - mean (1,042ms)  : 996, 1088
    master - mean (1,038ms)  : 1000, 1077

Loading

@bm1549 bm1549 force-pushed the brian.marks/omit-sensitive-config-telemetry branch from d3df1fa to ca91b50 Compare June 8, 2026 21:39
@bm1549 bm1549 marked this pull request as ready for review June 9, 2026 21:33
@bm1549 bm1549 requested a review from a team as a code owner June 9, 2026 21:33

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

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

/// <param name="recordValue">If <c>true</c> the value should be recorded in telemetry. If not, the source value should be redacted</param>
/// <returns>The value of the setting, or <c>null</c> if not found.</returns>
ConfigurationResult<IDictionary<string, string>> GetDictionary(string key, IConfigurationTelemetry telemetry, Func<IDictionary<string, string>, bool>? validator, bool allowOptionalMappings, char separator);
ConfigurationResult<IDictionary<string, string>> GetDictionary(string key, IConfigurationTelemetry telemetry, Func<IDictionary<string, string>, bool>? validator, bool allowOptionalMappings, char separator, bool recordValue = true);

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 Keep the existing five-argument interface member

Because IConfigurationSource is public, changing this member's CLR signature from five arguments to six is a binary breaking change: an external custom configuration source or caller compiled against the previous GetDictionary(..., bool, char) member can fail with TypeLoadException/MissingMethodException when run with this assembly, even though the new recordValue parameter is optional in source. Preserve the existing member and add redaction via a separate overload/internal helper so older binaries still bind.

Useful? React with 👍 / 👎.

@@ -280,7 +280,7 @@ not null when string.Equals(x, "http/json", StringComparison.OrdinalIgnoreCase)

OtlpMetricsHeaders = config

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.

ooooh no, just spotted that we are extracting the OtlpMetricsHeaders values as two different types - a string and a dictionary?! We should almost certainly consolidate those - these shouldn't exist on both exporter settings and TracerSettings...

@bm1549 bm1549 requested a review from a team as a code owner June 10, 2026 20:44
bm1549 and others added 2 commits June 16, 2026 21:01
…lemetry

Redact the OTEL_EXPORTER_OTLP_HEADERS family (base, METRICS, TRACES, LOGS)
in instrumentation configuration telemetry. The values are now recorded as
<redacted> in the configuration array of app-started and
app-client-configuration-change events.

- Switch the OTLP header reads in ExporterSettings to AsRedactedString().
- Add AsRedactedDictionaryResult and thread a recordValue flag through the
  dictionary configuration sources so the OTLP metrics/logs header reads in
  TracerSettings are recorded as redacted.
- Mark the four OTLP header variants with sensitive: true in
  supported-configurations.yaml and accept the attribute in the YAML reader.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
… flag

Capture the `sensitive` flag from supported-configurations.yaml through the
source generator and emit a generated ConfigurationKeys.SensitiveKeys set
(keys plus their aliases). ConfigurationTelemetry.Record gates recordValue on
this set so a sensitive config's value is redacted regardless of the call site.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bm1549 bm1549 force-pushed the brian.marks/omit-sensitive-config-telemetry branch from 9bbc976 to fa2afe1 Compare June 17, 2026 01:14
After rebasing onto master (which added scope to ConfigurationEntry),
the Aliases property changed type from string[]? to EquatableArray<string>.
Call .AsArray() to convert when constructing ConfigEntry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants