Skip to content

Commit

Permalink
[Instrumentation.EventCounters] Fix analysis warnings
Browse files Browse the repository at this point in the history
Fix code analysis warnings in OpenTelemetry.Instrumentation.EventCounters.
Contributes to #950.
  • Loading branch information
martincostello committed Feb 3, 2023
1 parent d835d5d commit 3c70363
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ public void InstrumentNameTooLong()
// Assert
foreach (var item in metricItems)
{
Assert.False(item.Name.StartsWith("ec.source.ee"));
Assert.False(item.Name.StartsWith("ec.s.ee"));
Assert.False(item.Name.StartsWith("ec.source.ee", StringComparison.Ordinal));
Assert.False(item.Name.StartsWith("ec.s.ee", StringComparison.Ordinal));
}
}

Expand Down

0 comments on commit 3c70363

Please sign in to comment.