Showing
1 changed file
with
1 additions
and
1 deletions
monitor-service-influxdb/src/main/java/com/monitor/influxdb/mapper/impl/ServiceAccessMapperImpl.java
@@ -444,7 +444,7 @@ public class ServiceAccessMapperImpl extends InfluxDBQuery implements ServiceAcc | @@ -444,7 +444,7 @@ public class ServiceAccessMapperImpl extends InfluxDBQuery implements ServiceAcc | ||
444 | Double count1 = (Double)series1.getValues().get(0).get(1); | 444 | Double count1 = (Double)series1.getValues().get(0).get(1); |
445 | Double mean = (Double)series1.getValues().get(0).get(2); | 445 | Double mean = (Double)series1.getValues().get(0).get(2); |
446 | Double ratio = count2 / count1; | 446 | Double ratio = count2 / count1; |
447 | - log.info("count2:" + count2 + ",count1:" + count1 + ",mean:" + mean); | 447 | + log.info("count2:" + count2 + ",count1:" + count1 + ",ratio:" + ratio + ",mean:" + mean); |
448 | if(ratio >= 0.95){ | 448 | if(ratio >= 0.95){ |
449 | Map map = new HashMap(); | 449 | Map map = new HashMap(); |
450 | map.put("hostAddress",hostAddress); | 450 | map.put("hostAddress",hostAddress); |
-
Please register or login to post a comment