Closed n1nj4888 closed 3 years ago
Funny, I removed the extra logging in an earlier commit, so I added it back in.
As for bps vs Mbps, I emailed Ookla about that months ago, but haven't heard back. I'm going to keep logging the results in bps (the default) and let the user convert afterwards in the visualizing tool (e.g., Grafana, Kibana, etc...).
I pushed 0.0.12 with the two above changes.
I'll look into the URL, it may be difficult because of the special characters :
and /
.
On second thought, I'm not going to include the website in the info sent to the DB.
Hi @loganmarchione,
Currently the docker image outputs the following to the docker container logs on each speedtest execution:
Could you please consider adding an extra output line here which outputs a simple result summary, such as the below? Note that the speedtest json output (and therefore the InfluxDB record) contains the download/upload bandwidth in bytes/sec rather than Mbps (which is the unit of measure shown at the result URL given and I'd argue better to display the same on the docker container log output below?) - It may also be worth considering adding a note to the readme that the results are logged to the InfluxDB in bytes/sec and so the user may have to do bytes/sec * 8 / 1000 / 1000 to get Mbps?
In addition, the Result URL is not currently written to the database, but this maybe useful if the user wants to go back and see more detailed information from speedtest's website?
Thanks for your consideration!