breadlysm / SpeedFlux

Script to periodically run the Speedtest CLI application by Ookla and post results to InfluxDB.
MIT License
108 stars 69 forks source link

V0.6.0 isp & location influxdb tags #1

Closed breadlysm closed 4 years ago

breadlysm commented 4 years ago

Added ability to add tags to the SpeedTest data when it's written to InfluxDB.

New function takes in the SpeedTest results as JSON, Takes admin selected tags, returns a dictionary of the selected tags and their corresponding results.

Main function was modified to check if there were tags selected. If so, it adds them into the data set. If the user selects no tags or does not declare variable, data is submitted without tags.