Skip to content

Commit

Permalink
Merge pull request #21 from w-h-a/propagation
Browse files Browse the repository at this point in the history
chore: rm otel propagation
  • Loading branch information
w-h-a authored Oct 16, 2024
2 parents c7117b5 + 065a5f8 commit f7eaac9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
"github.com/w-h-a/sidecar/cmd/grpc"
"github.com/w-h-a/sidecar/cmd/http"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/propagation"
sdktrace "go.opentelemetry.io/otel/sdk/trace"
)

Expand All @@ -54,7 +53,6 @@ func run(ctx *cli.Context) {
)

otel.SetTracerProvider(tp)
otel.SetTextMapPropagator(propagation.TraceContext{})

tracer := memorytrace.NewTrace(
tracev2.TraceWithName(prefix),
Expand Down

0 comments on commit f7eaac9

Please sign in to comment.