添加tap 2 influxdb脚本

This commit is contained in:
pengtao 2019-11-27 11:47:02 +08:00
parent afade09004
commit 9bc68a58f4

View File

@ -55,6 +55,7 @@ class TAP2Influx:
except Exception:
log.error(f"split data failed ,{line}", exc_info=True)
try:
print(body)
self.influx.write_points(body)
except Exception:
log.error(f"write 2 influx failed,data={body}", exc_info=True)