ianshward/cloudwatch-librato — pull request #1 by yhahn (2012-11-26 06:34:40+00:00)
Title: Use period to determine StartTime/EndTime interval

For metrics that only have `300s` granularity, using a hardcoded `60s` interval can lead to no data being returned by CloudWatch.

This commit uses the period itself to determine Start/End times leading to an interval that is sized appropriately for each metric's period.