Skip to content

Commit

Permalink
[CHORE] Remove a useless and expensive log line. (#3289)
Browse files Browse the repository at this point in the history
This log line doesn't say much, and it causes lots of events to otel.
  • Loading branch information
rescrv authored Dec 11, 2024
1 parent 9cec526 commit a952add
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions go/shared/otel/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ func ServerGrpcInterceptor(ctx context.Context, req interface{}, info *grpc.Unar
// Set the status to OK upon success.
span.SetStatus(otelCode.Ok, "ok")
span.SetAttributes(attribute.String("rpc.status_code", "ok"))
log.Info("RPC call", zap.String("method", info.FullMethod), zap.String("status", "ok"))

return h, nil
}

Expand Down

0 comments on commit a952add

Please sign in to comment.