Instrument Fog Requests in Rails
This code adds debug statements to the rails log for each fog reqests (similar to how active record shows SQL queries):
Fog AWS Compute Request (803.0ms) [ {"Action"=>"DescribeInstances", ...} ]
The end of the request includes cumulative Fog info:
Completed 200 OK in 6043ms (Views: 2955.0ms | ActiveRecord: 319.9ms | Fog: 1642.6ms, 4 reqs)