Skip to content

Commit

Permalink
Fix broken import of go.opentelemetry.io/otel
Browse files Browse the repository at this point in the history
This commits fixes the broken dependencies on go.opentelemetry.io/otel.
It patches the tracing package with an updated tracingProvider to
implement the embeddedTracingProvider with the provider in the noop pkg.

/bug
fixes: #7464
  • Loading branch information
JeromeJu committed Dec 6, 2023
1 parent 84b25a0 commit 5520cad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/tracing/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ type tracerProvider struct {
username string
password string
logger *zap.SugaredLogger
// (#7464)noop.TracerProvider is added to implement embedded.TracerProvider
// for bumping to go.opentelemetry.io/otel/trace/v1.21.0.TracerProvider
noop.TracerProvider
}

func init() {
Expand Down

0 comments on commit 5520cad

Please sign in to comment.