Authored by skinny.wu

dns monitor 数据上报influxdb

... ... @@ -37,8 +37,8 @@ public class DNSMonitorMapperImpl implements IDNSMonitorMapper{
.addField("info", info).build();
batchPoints.point(point);
// inluxDBSingle.getInfluxDBByName(InfluxDBContants.AWS).getInfluxDB()
// .write(batchPoints);
inluxDBSingle.getInfluxDBByName(InfluxDBContants.AWS).getInfluxDB()
.write(batchPoints);
}
/**
... ... @@ -77,7 +77,7 @@ public class DNSMonitorMapperImpl implements IDNSMonitorMapper{
}
batchPoints.point(point);
// inluxDBSingle.getInfluxDBByName(InfluxDBContants.AWS).getInfluxDB()
// .write(batchPoints);
inluxDBSingle.getInfluxDBByName(InfluxDBContants.AWS).getInfluxDB()
.write(batchPoints);
}
}
... ...