basecamp/marginalia — pull request #39 by Sinjo (2014-09-21 13:54:18+00:00)
Title: Add ability to record Rails request ID

*Merge after #37 - I branched off that branch to avoid creating conflicts with own PR*

Something I find really useful in Rails is the ability to correlate cross-service requests [using consistent request IDs](http://api.rubyonrails.org/classes/ActionDispatch/RequestId.html). I'd love to have these recorded in query logs as well, so I can correlate DB calls all the way back up to a request hitting the web server at the front.

This PR adds that ability to Marginalia.

cc @arthurnn