Is it acceptable to ask the editor for feedback about a review I wrote? I am a graduate student. I recently completed the review of a submission and its subsequent revision for a journal in my field, in the peer review process. My comments were taken into account by the authors, and the entire process went fine.

Since it was my first time, I'd like to get some feedback on my reviews. I had a professor read over them before turning them in for tone and content, but am thinking of contacting the editor who asked me to review to ask for feedback as they are more involved in the process and have spent time on the paper and the reviews.

Is this acceptable? Recommended? What other avenues are there for getting such feedback?

Edit: I can and have looked at the other reviewers' reviews. They are pretty similar to mine, perhaps a bit more aggressive and to the point.
This is totally acceptable. It means more work for the editor, of course, but I think most of us are also teachers and hope that by helping you become a better reviewers, that we can draw on your again in the future.

In particular, in your email, you might want to ask whether it is possible to get the other reviews. That may, strictly speaking, not be quite allowed, but I have often done that to help younger scientists see what other reviewers saw in the paper in question.