Skip to content

Commit 54d1705

Browse files
committed
Typos
1 parent 1e74372 commit 54d1705

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/OpenTelemetry/Trace/SamplerOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

src/OpenTelemetry/Trace/TracerProviderSdk.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

test/OpenTelemetry.Tests/Trace/SamplerOptionsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)