dns monitor 数据上报influxdb
Showing
1 changed file
with
4 additions
and
4 deletions
@@ -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 | } |
-
Please register or login to post a comment