Create new Influx dashboards from a CSV

Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
Matthew Stidham
2021-04-28 17:24:12 -07:00
parent 5c8692b74f
commit a0d7e2d523
4 changed files with 16 additions and 12 deletions

View File

@@ -96,6 +96,7 @@ class CSVtoInflux(Realm):
line = line.split('\t')
test_id_index = line.index('test-id')
line = fp.readline()
line.split('\t')
return line[test_id_index]
@@ -113,7 +114,7 @@ def main():
debug = False
parser = argparse.ArgumentParser(
prog='test_l3_longevity.py',
prog='csv_to_influx.py',
# formatter_class=argparse.RawDescriptionHelpFormatter,
formatter_class=argparse.RawTextHelpFormatter,
epilog='''