CSV to influx uses a while loop to write data to Influx

Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
Matthew Stidham
2021-04-16 15:00:06 -07:00
parent fbd1046bc5
commit a9fb064002
2 changed files with 42 additions and 27 deletions

View File

@@ -53,7 +53,6 @@ class RecordInflux(LFCliBase):
print(tag_key, tag_value)
p.time(time)
p.field("value", value)
print(self.influx_bucket, self.influx_org, self.url, self.influx_port)
self.write_api.write(bucket=self.influx_bucket, org=self.influx_org, record=p)
def set_bucket(self, b):