1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-14 10:13:10 +02:00
opentelemetry-go/bridge/opentracing
JBD a2c75c6d78
Unexport NoopXXX trace types (#1134)
* Unexport NoopXXX trace types

The change unexports the noop implementations and provide the NoopProvider function for user to construct noop providers. Users can access noop tracer and noop spans by using the provider.

This change removes the types users should never be directly using from the package. It improves the usability of the API by reducing the API surface to half and helping the user to focus on the canonical APIs.

Fixes #1133

* Provide noop tracer and span for internal use

* Remove obsolete doc

* Use noop span instead of nil

* Fix the broken  build
2020-09-08 20:43:35 -04:00
..
internal Unify API Span Start/End Options (#1108) 2020-09-03 07:34:36 -07:00
migration Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
bridge.go Unexport NoopXXX trace types (#1134) 2020-09-08 20:43:35 -04:00
doc.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
go.mod Release v0.11.0 (#1089) 2020-08-24 22:38:37 -04:00
go.sum Bump github.com/google/go-cmp from 0.5.1 to 0.5.2 (#1093) 2020-08-26 11:39:41 -07:00
mix_test.go Rename global SetTraceProvider and TraceProvider (#1102) 2020-08-31 10:02:04 -07:00
util.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
wrapper.go Unify API Span Start/End Options (#1108) 2020-09-03 07:34:36 -07:00