You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-29 23:07:45 +02:00
Rename GetTracer to Tracer (#347)
* Rename GetTracer to NewTracer * Drop New prefix
This commit is contained in:
@@ -145,7 +145,7 @@ func TestNewBatchSpanProcessorWithOptions(t *testing.T) {
|
||||
t.Errorf("%s: Error creating new instance of BatchSpanProcessor\n", option.name)
|
||||
}
|
||||
tp.RegisterSpanProcessor(ssp)
|
||||
tr := tp.GetTracer("BatchSpanProcessorWithOptions")
|
||||
tr := tp.Tracer("BatchSpanProcessorWithOptions")
|
||||
|
||||
generateSpan(t, tr, option)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user