Authored by skinny.wu

dns monitor 数据上报influxdb

@@ -37,8 +37,8 @@ public class DNSMonitorMapperImpl implements IDNSMonitorMapper{ @@ -37,8 +37,8 @@ public class DNSMonitorMapperImpl implements IDNSMonitorMapper{
37 .addField("info", info).build(); 37 .addField("info", info).build();
38 38
39 batchPoints.point(point); 39 batchPoints.point(point);
40 -// inluxDBSingle.getInfluxDBByName(InfluxDBContants.AWS).getInfluxDB()  
41 -// .write(batchPoints); 40 + inluxDBSingle.getInfluxDBByName(InfluxDBContants.AWS).getInfluxDB()
  41 + .write(batchPoints);
42 } 42 }
43 43
44 /** 44 /**
@@ -77,7 +77,7 @@ public class DNSMonitorMapperImpl implements IDNSMonitorMapper{ @@ -77,7 +77,7 @@ public class DNSMonitorMapperImpl implements IDNSMonitorMapper{
77 } 77 }
78 78
79 batchPoints.point(point); 79 batchPoints.point(point);
80 -// inluxDBSingle.getInfluxDBByName(InfluxDBContants.AWS).getInfluxDB()  
81 -// .write(batchPoints); 80 + inluxDBSingle.getInfluxDBByName(InfluxDBContants.AWS).getInfluxDB()
  81 + .write(batchPoints);
82 } 82 }
83 } 83 }