in app/metrics/CloudWatch.scala [72:84]
private def getRequest(
namespace: String,
metricName: String
): GetMetricStatisticsRequest = {
val now = DateTime.now(DateTimeZone.UTC)
new GetMetricStatisticsRequest()
.withNamespace(namespace)
.withMetricName(metricName)
.withPeriod(60 * 60 * 24) // 1 day (24 hrs)
.withStartTime(now.minusDays(90).toDate)
.withEndTime(now.toDate)
.withStatistics(Statistic.Maximum)
}