Commit Graph

21 Commits

Author SHA1 Message Date
Matthew Stidham
e6cf6b9337 1. Create pandas_extensions.py
2. Remove unused imports

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-21 11:11:04 -07:00
Matthew Stidham
36400e003d Making it so that lanforge-scripts can work if the repository isn't named exactly the same way
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-17 15:29:15 -07:00
erinnerim
1d7578251c Updates to import statements:
- Import importlib, os, and sys to each python script.
 - Append "lanforge-scripts" root directory to the system path, allowing each script to be called from an antecedent directory. e.g.
if 'lanforge-scripts' not in sys.path:
    sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../../")))
 - All statements of the form 'from <module> import <class>' replace with:
<module> = importlib.import_module("lanforge-scripts.<directory>.<module>")
<class> = <module>.<class>
2021-09-15 16:17:16 -07:00
Matthew Stidham
8014226b32 Major Ghost script improvements and additions
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-06-29 14:56:54 -07:00
Matthew Stidham
c2586f8343 Grafana and Ghost integration updates
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-06-22 14:48:19 -07:00
Matthew Stidham
5b1c188ac2 Include embedded dashboard in ghost page
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-06-15 15:56:58 -07:00
Matthew Stidham
2aebe7f26f Improve Grafana script integration with graph groups file, and add measurement variable
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-22 12:08:31 -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
3dc9fda69b Correct y axis labels on Grafana graphs
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-12 13:35:44 -07:00
Matthew Stidham
1805b7a2c1 Commenting grafana_profile
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-12 10:22:58 -07:00
Matthew Stidham
371cde5843 More reliable way to parse CSV files
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-12 09:57:06 -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
4cb4598255 Rename wifi_cap_to_grafana and create dataplane_to_grafana
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-07 13:18:08 -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
18ea161052 Grafana make a different panel for each measurement
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-27 17:21:08 -07:00
Matthew Stidham
9222f4583f Setup custom dashboard with command line flags
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-27 11:09:18 -07:00
Matthew Stidham
0e0aa63682 Grafana automation with Python
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-27 10:21:26 -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
675a039e74 Working create_dashboard from grafana_profile.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-20 17:31:54 -07:00
Matthew Stidham
b68064028f Fix influx2.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-20 11:45:57 -07:00