Skip to content

Commit

Permalink
Remove incorrect log message
Browse files Browse the repository at this point in the history
  • Loading branch information
alanwest committed Apr 1, 2022
1 parent 3bf47f8 commit 2d47c2d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/OpenTelemetry/Metrics/MetricReaderExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,6 @@ internal List<Metric> AddMetricsListWithViews(Instrument instrument, List<Metric
{
if (metrics.Count == 0)
{
OpenTelemetrySdkEventSource.Log.DuplicateMetricInstrument(
metricName,
meterName,
"Metric instrument has the same name as an existing one but differs by description, unit, or instrument type. Measurements from this instrument will still be exported but may result in conflicts.",
"Either change the name of the instrument or use MeterProviderBuilder.AddView to resolve the conflict.");

metrics.Add(existingMetric);
}
else
Expand Down

0 comments on commit 2d47c2d

Please sign in to comment.