You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenTelemetrySdkEventSource.Log.MetricInstrumentIgnored(metricName,instrument.Meter.Name,"Metric name conflicting with existing name.","Either change the name of the instrument or change name using View.");
returnnull;
}
Identical instrument registrations (name, kind, unit, description, and data type - int, double, etc) need to be allowed.
When instruments are not identical but are duplicated by name a warning should still be produced. Though, a new metric stream should be created.
We currently reject instruments with duplicate names - that is, we log out a warning.
opentelemetry-dotnet/src/OpenTelemetry/Metrics/MetricReaderExt.cs
Lines 44 to 48 in 102ac27
Identical instrument registrations (name, kind, unit, description, and data type - int, double, etc) need to be allowed.
When instruments are not identical but are duplicated by name a warning should still be produced. Though, a new metric stream should be created.
Related spec change
Relevant sections of the spec:
The text was updated successfully, but these errors were encountered: