You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-12-13 23:57:10 +02:00
Make Meter a struct, simplify the global Meter (#709)
* Tests pass * Precommit pass * More lint * Remove a few interfaces * Final edits * Fix comments * Indentation * registry->unique * Comments
This commit is contained in:
@@ -37,7 +37,7 @@ func (*testTraceProvider) Tracer(_ string) trace.Tracer {
|
||||
}
|
||||
|
||||
func (*testMeterProvider) Meter(_ string) metric.Meter {
|
||||
return &metric.NoopMeter{}
|
||||
return metric.Meter{}
|
||||
}
|
||||
|
||||
func TestMultipleGlobalTracerProvider(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user