...
|
...
|
@@ -102,7 +102,9 @@ public class MonitorAlarmMapperImpl extends InfluxDBQuery implements MonitorAlar |
|
|
|
|
|
@Override
|
|
|
public QueryResult selectVoiceAlarm(String influxDBName, int min) {
|
|
|
String command = "SELECT count(sms_content) FROM monitor_alarm where time > now() - "+ min+"m and type != 'work_system' and type != 'service_exception' and type != 'brower' and type != 'search_exception'";
|
|
|
String command = "SELECT count(sms_content) FROM monitor_alarm where time > now() - "+ min+"m and type != 'work_system' and type != 'service_exception' and type != 'brower' and type != 'search_exception'" +
|
|
|
" and sms_content != 'YOHOBUY实时店铺监控系统:spark数据没写入' " +
|
|
|
" and sms_content != 'MonitAlarmInfo(host=10.67.1.139, service=SparkJobRunner, info=spark任务异常)' ";
|
|
|
// String command = "SELECT count(sms_content) FROM monitor_alarm where time > now() - "+ min+"m";
|
|
|
return query(influxDBName, command, InfluxDBContants.YOMO_MONITOR);
|
|
|
|
...
|
...
|
|