...
|
...
|
@@ -376,7 +376,7 @@ public class NewJavaApiInfoServiceImpl implements NewJavaApiInfoService { |
|
|
if(costThreshold == null){
|
|
|
costThreshold = 150;
|
|
|
}
|
|
|
String nowString = DateTime.now().toString("yyyy-MM-dd HH:mm:ss");
|
|
|
String nowString = DateTime.now().minusSeconds(10).toString("yyyy-MM-dd HH:mm:ss");
|
|
|
log.info("sendAlarmMsg nowString is :" + nowString + ",costThreshold is " + costThreshold);
|
|
|
List<Map> list = serviceAccessMapper.getAlarmData(costThreshold);
|
|
|
//获取cpu、内存、带宽使用情况
|
...
|
...
|
|