mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-26 21:05:00 +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:
parent
3ac3846357
commit
8013f4789d
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,4 +8,3 @@ coverage.*
|
||||
/example/http/client/client
|
||||
/example/http/server/server
|
||||
/example/namedtracer/namedtracer
|
||||
/experimental/streaming/example/basic/basic
|
||||
|
@ -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 {
|
@ -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"
|
@ -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"
|
@ -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 (
|
@ -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"
|
@ -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 {
|
@ -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 {
|
Loading…
Reference in New Issue
Block a user