1
0
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:
ferhat elmas
2019-11-25 18:46:07 +01:00
committed by rghetia
parent 059ca3ef6f
commit 0f052af2f4
26 changed files with 52 additions and 52 deletions

View File

@@ -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)