Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracing: Remove forgotten debug line #5245

Merged
merged 1 commit into from Mar 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions pkg/tracing/grpc.go
Expand Up @@ -6,7 +6,6 @@ package tracing
import (
"context"

"github.com/davecgh/go-spew/spew"
grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware/v2"
grpc_opentracing "github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors/tracing"
opentracing "github.com/opentracing/opentracing-go"
Expand Down Expand Up @@ -38,7 +37,6 @@ func StreamServerInterceptor(tracer opentracing.Tracer) grpc.StreamServerInterce
return func(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error {
// Add our own tracer.
wrappedStream := grpc_middleware.WrapServerStream(stream)
spew.Println("wrapped ctx", stream.Context())
wrappedStream.WrappedContext = ContextWithTracer(stream.Context(), tracer)

return interceptor(srv, wrappedStream, info, handler)
Expand Down