Adding comments.  Changing function name to be more precise.
Add metric.js logic to generate a librato resolution based on the
time interval.
Fix bug in interval_to_resolution()
Dedicated function to log request details.