Skip to content

Commit 0043a42

Browse files
committed
Use 60s resolution in graph
1 parent 9f19ffa commit 0043a42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dashboard/index.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
'MetricName' => 'TodayEC2SpendingUSD',
1616
'StartTime' => $start_time,
1717
'EndTime' => $end_time,
18-
'Period' => 120,
18+
'Period' => 60,
1919
'Statistics' => array('Maximum')
2020
));
2121
$budget_metric = $client->getMetricStatistics(array(
2222
'Namespace' => 'XGBoostCICostWatcher',
2323
'MetricName' => 'DailyBudgetUSD',
2424
'StartTime' => $start_time,
2525
'EndTime' => $end_time,
26-
'Period' => 120,
26+
'Period' => 60,
2727
'Statistics' => array('Maximum')
2828
));
2929

0 commit comments

Comments
 (0)