Commit Graph

20 Commits

Author SHA1 Message Date
Matthew Stidham
d44d87fce2 Check to make sure that column variables exist in table before grabbing data
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-07-23 09:36:06 -07:00
Matthew Stidham
53015a5501 Updating to make better Ghost posts, with more details in the first table, and enabling reading test_tags from the kpi.csv files.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-07-22 15:27:20 -07:00
Matthew Stidham
2828bd077b Add failure message when a KPI is not found in a folder for GhostRequest
Automatic script to run influx, grafana, and ghost from wifi capacity and dataplane.

Minor fix in csv_to_influx for correcting missing values

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-07-21 14:19:21 -07:00
Chuck SmileyRekiere
8bb4e74b77 csv_to_influx.py : replace 'NaN' with '0' , NaN not accepted
Not a Number by influx.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-07-17 16:31:36 -06:00
Matthew Stidham
ae2e95723c CSVReader splits on tabs, not commas, and replace NaN with 0x0 in csv file swhen reporting to influx
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-07-14 16:05:56 -07:00
Matthew Stidham
7e3575b481 Removing LFClibase from influx2 script
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-07-08 11:47:17 -07:00
Matthew Stidham
f95bcf3948 correct csv file naming in csv_to_influx.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-06-25 13:53:26 -07:00
Matthew Stidham
23bafa7b34 additional variables for csv to influx parsing
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-13 15:10:36 -07:00
Matthew Stidham
7913b22096 Better csv reading funciton
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-12 20:07:44 -07:00
Matthew Stidham
79fb905fd7 Building Grafana automation
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-07 16:59:04 -07:00
Matthew Stidham
c2cc40708a Properly load scenario, run wifi capacity test, scp kpi file to localhost, and save to grafana.
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-05-06 10:43:09 -07:00
Matthew Stidham
a0d7e2d523 Create new Influx dashboards from a CSV
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-05-04 16:05:41 -07:00
Matthew Stidham
6e7f4e1fb1 Create csv_to_grafana.py and build dependencies
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-22 16:54:58 -07:00
Matthew Stidham
2790c42a7a influx variables need to have a default value of None
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-20 12:39:40 -07:00
Ben Greear
280099b8b2 cv-capacity: Support importing kpi.csv directly into influxdb
And update example command to what works for me on the c7-graphana
instance.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-17 16:18:04 -07:00
Matthew Stidham
a9fb064002 CSV to influx uses a while loop to write data to Influx
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-16 15:00:26 -07:00
Matthew Stidham
aeb638d91b Used seconds instead of milliseconds on first commit
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-15 17:06:48 -07:00
Matthew Stidham
c3b3f8a161 make csv_to_influx work and make test_ipv4_variable_time work properly
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-15 16:58:49 -07:00
Matthew Stidham
6a0dd64c33 Correct scriptname variable in csvtoinflux
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-15 10:20:59 -07:00
Matthew Stidham
7f1800fb55 create csv_to_influx.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-15 10:20:59 -07:00