Skip to content

Commit

Permalink
fix(grpc.go): remove traceparent header from outgoing context to prev…
Browse files Browse the repository at this point in the history
…ent conflicts with Dapr tracing headers
  • Loading branch information
shumkovdenis committed May 13, 2023
1 parent b9ef7d5 commit 3ff03a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/integration/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func (s *GRPCServer) SayHello(ctx context.Context, in *pb.HelloRequest) (*pb.Hel
client := pb.NewGreeterClient(conn)

headersIn.Set("dapr-app-id", "remote")
headersIn.Delete("traceparent")

ctx = metadata.NewOutgoingContext(context.Background(), headersIn)

Expand Down

0 comments on commit 3ff03a9

Please sign in to comment.