Skip to content

Instantly share code, notes, and snippets.

View jeremeamia's full-sized avatar
🌵
WFH in AZ

Jeremy Lindblom jeremeamia

🌵
WFH in AZ
View GitHub Profile
<?php
$startTime = strtotime('-1 hours');
$endTime = $startTime + 3600;
$result = $client->getMetricStatistics(array(
'MetricName' => 'Latency',
'Namespace' => 'AWS/ELB',
'StartTime' => $startTime,
'EndTime' => $endTime,