Authored by qinchao

docker监控时间点扩大

... ... @@ -31,7 +31,7 @@
select
<include refid="Base_Column_List" />
from docker_jenkins_record
where update_callback_time>=DATE_SUB(NOW(),INTERVAL 3 MINUTE)
where update_callback_time>=DATE_SUB(NOW(),INTERVAL 10 MINUTE)
</select>
... ...
... ... @@ -116,7 +116,7 @@ public class DockerMonitorTask {
boolean alarmFlag=true;
logger.info("DockerMonitorTask status is {} ", status);
//从docker发布记录中检索,3分钟内的数据
//从docker发布记录中检索,10分钟内的数据
List<DockerJenkinsRecord> records=dockerJenkinsRecordMapper.selectThreeMinutes();
if(records!=null&&records.size()>0){
logger.info("DockerMonitorTask record is {} ", JSON.toJSONString(records));
... ...