|
@@ -310,7 +310,7 @@ public class AppDeviceService {
|
|
|
AggregationWindow window = null;
|
|
|
String aggregationWindow = appDeviceQueryParams.getAggregationWindow();
|
|
|
if (StrUtil.isBlank(aggregationWindow)) {
|
|
|
- window = AggregationWindow.determineAggregationWindow(appDeviceQueryParams.getStartTime(), appDeviceQueryParams.getEndTime());
|
|
|
+ window = AggregationWindow.fromString("1h");
|
|
|
} else {
|
|
|
// 如果用户选择了聚合维度,但不在枚举中,使用默认的聚合窗口
|
|
|
window = AggregationWindow.fromString(aggregationWindow);
|