1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-11-24 08:22:25 +02:00

Move opentracing bridge out of experimental (#245)

* move bridge out of the experimental directory

* drop a leftover from experimental stuff in gitignore

found by accident when doing `git grep experimental`.
This commit is contained in:
Krzesimir Nowak 2019-10-29 00:56:11 +01:00 committed by rghetia
parent 3ac3846357
commit 8013f4789d
10 changed files with 8 additions and 9 deletions

1
.gitignore vendored
View File

@ -8,4 +8,3 @@ coverage.*
/example/http/client/client
/example/http/server/server
/example/namedtracer/namedtracer
/experimental/streaming/example/basic/basic

View File

@ -30,7 +30,7 @@ import (
otelcore "go.opentelemetry.io/api/core"
oteltrace "go.opentelemetry.io/api/trace"
"go.opentelemetry.io/experimental/bridge/opentracing/migration"
"go.opentelemetry.io/bridge/opentracing/migration"
)
type bridgeSpanContext struct {
@ -322,7 +322,7 @@ func (t *BridgeTracer) StartSpan(operationName string, opts ...ot.StartSpanOptio
})
if checkCtx != checkCtx2 {
t.warnOnce.Do(func() {
t.warningHandler("SDK should have deferred the context setup, see the documentation of go.opentelemetry.io/experimental/bridge/opentracing/migration\n")
t.warningHandler("SDK should have deferred the context setup, see the documentation of go.opentelemetry.io/bridge/opentracing/migration\n")
})
}
if hadTrueErrorTag {

View File

@ -97,4 +97,4 @@
// LogFields() function, so when the call to the function gets
// translated to OpenTelemetry AddEvent() function, an empty context
// is passed.
package opentracing // import "go.opentelemetry.io/experimental/bridge/opentracing"
package opentracing // import "go.opentelemetry.io/bridge/opentracing"

View File

@ -12,4 +12,4 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package internal // import "go.opentelemetry.io/experimental/bridge/opentracing/internal"
package internal // import "go.opentelemetry.io/bridge/opentracing/internal"

View File

@ -27,7 +27,7 @@ import (
otelkey "go.opentelemetry.io/api/key"
oteltrace "go.opentelemetry.io/api/trace"
"go.opentelemetry.io/experimental/bridge/opentracing/migration"
"go.opentelemetry.io/bridge/opentracing/migration"
)
var (

View File

@ -15,7 +15,7 @@
// This package provides interfaces and functions that are useful for
// providing a cooperation of the OpenTelemetry tracers with the
// OpenTracing API.
package migration // import "go.opentelemetry.io/experimental/bridge/opentracing/migration"
package migration // import "go.opentelemetry.io/bridge/opentracing/migration"
import (
"context"

View File

@ -27,7 +27,7 @@ import (
oteltrace "go.opentelemetry.io/api/trace"
"go.opentelemetry.io/global"
"go.opentelemetry.io/experimental/bridge/opentracing/internal"
"go.opentelemetry.io/bridge/opentracing/internal"
)
type mixedAPIsTestCase struct {

View File

@ -19,7 +19,7 @@ import (
oteltrace "go.opentelemetry.io/api/trace"
migration "go.opentelemetry.io/experimental/bridge/opentracing/migration"
migration "go.opentelemetry.io/bridge/opentracing/migration"
)
type WrapperProvider struct {