speedtest-tracker icon indicating copy to clipboard operation
speedtest-tracker copied to clipboard

Influx DB export - Upload/Download bits error

Open Ja50n-Kru opened this issue 1 year ago • 12 comments

Describe the bug Download and upload bits on InfluxDB export no longer a number?

Has something changed in the last few updates for the Influx DB update? I have been using Grafana to plot the data, and in the last day or so after an update (to v16, I think) download and upload data is now longer being plotted from the data in Grafana - all other metrics like ping, jitter etc. are. It appears through data for download_bits and upload_bits is no longer being output as a number field?

Ja50n-Kru avatar Feb 22 '24 23:02 Ja50n-Kru

please try in console to run : php artisan cache:clear , then restart container

masterwishx avatar Feb 23 '24 11:02 masterwishx

What I'm noticing is InfluxDB is super strict with the format of data it receives. At some point in the code's history I got stuck between it being a string and it being a float or int.

I think I'm going to need to rip the band aid off and get this fixed back to a float or int.

alexjustesen avatar Feb 23 '24 12:02 alexjustesen

I think I'm going to need to rip the band aid off and get this fixed back to a float or int

Strange for me all working fine in influxdb but also one time all notifications get off also influxdb with exception but after cleared cache all fine now but not treshold for discord as in https://github.com/alexjustesen/speedtest-tracker/issues/1235#issuecomment-1961275845

masterwishx avatar Feb 23 '24 12:02 masterwishx

Care to share how it looks in grafana please? Thanks

skyeci-draytek avatar Feb 27 '24 21:02 skyeci-draytek

Care to share how it looks in grafana please? Thanks

https://grafana.com/grafana/dashboards/17808-speedtest-tracker-v2-influxdbv2/

masterwishx avatar Feb 28 '24 05:02 masterwishx

Thank you. Really hope I can figure this out as I would like to use it.

skyeci-draytek avatar Feb 28 '24 05:02 skyeci-draytek

Thank you. Really hope I can figure this out as I would like to use it.

It's really not a problem, just follow the steps...

masterwishx avatar Feb 28 '24 06:02 masterwishx

@masterwishx - do you still have to to do the "InfluxDBv1 client connect steps"? - I have a db in influxv2 which has fields but no data?

skyeci-draytek avatar Feb 28 '24 22:02 skyeci-draytek

@masterwishx - do you still have to to do the "InfluxDBv1 client connect steps"? - I have a db in influxv2 which has fields but no data?

No, no need steps for InfluxDBv1 ! (it was for use InfluxDBv2 with for old speedtest-tracker https://github.com/henrywhitaker3/Speedtest-Tracker)

Here we use native InfluxDBv2

masterwishx avatar Feb 28 '24 23:02 masterwishx

Please post logs of speedtest-tracker and what you have in influxdbv2 befor try this https://github.com/alexjustesen/speedtest-tracker/issues/1234#issuecomment-1961201847

masterwishx avatar Feb 28 '24 23:02 masterwishx

Please post logs of speedtest-tracker and what you have in influxdbv2 befor try this #1234 (comment)

To save going off topic I wil put a post in the discussion area. I would appreciate it if you can help in there.

Can you clarify where the logs are found. Many thanks

skyeci-draytek avatar Feb 29 '24 10:02 skyeci-draytek

@masterwishx - thanks for the guides. finally got it going. I needed to match my dbase to yours - all good now with new data being uploaded. grafana1

skyeci-draytek avatar Mar 01 '24 21:03 skyeci-draytek