1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-11-29 23:07:45 +02:00

WIP: Named tracer prototype (#227)

* named tracer prototype

* rename Manager to Provider.

* fix compile error after merge.

* rename Tracer method to GetTracer

* provider with options.

* update test.

* cleanup make circl-ci

* remove global config.

* some cleanup.

* use provider for bridge

* update propagation test.

* update examples and plugins.

* remove GlobalTracer methods.

* fix review comments.

* some more cleanup.

* remove unnecessary getTracer call in benchmark test.
This commit is contained in:
rghetia
2019-10-22 13:19:11 -07:00
committed by GitHub
parent 9b5f5dd13a
commit b04db14146
36 changed files with 1065 additions and 411 deletions

View File

@@ -24,7 +24,7 @@ import (
)
var (
tracer = trace.GlobalTracer()
tracer = trace.GlobalProvider().GetTracer("ex.com/basic")
meter = metric.GlobalMeter() // TODO: should share resources ^^^?