File tree Expand file tree Collapse file tree
test/OpenTelemetry.Tests/Trace Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ internal SamplerOptions(IConfiguration configuration)
4545 this . samplerArg = parsedArg ;
4646 }
4747
48- // If unparseable , samplerArg stays null; SamplerArgRaw carries the bad string
48+ // If unparsable , samplerArg stays null; SamplerArgRaw carries the bad string
4949 // for ReadTraceIdRatio to log when called for ratio-based samplers. This matches
5050 // the behavior prior to introducing this options type.
5151 }
Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ private static double ReadTraceIdRatio(SamplerOptions options)
446446 return samplerArg . Value ;
447447 }
448448
449- // No valid ratio — log the original config string for diagnostic fidelity and fall back to 1.0.
449+ // No valid ratio. Log the original config string for diagnostic fidelity and fall back to 1.0.
450450 OpenTelemetrySdkEventSource . Log . TracesSamplerArgConfigInvalid (
451451 options . SamplerArgRaw
452452 ?? ( samplerArg . HasValue
Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ public void TracerProvider_TraceIdRatio_OutOfRange_LogsOriginalConfigString()
408408 }
409409
410410 [ Fact ]
411- public void TracerProvider_TraceIdRatio_UnparseableArg_LogsFromReadTraceIdRatio ( )
411+ public void TracerProvider_TraceIdRatio_UnparsableArg_LogsFromReadTraceIdRatio ( )
412412 {
413413 using var eventListener = new TestEventListener ( OpenTelemetrySdkEventSource . Log ) ;
414414
You can’t perform that action at this time.
0 commit comments