Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Influx DB export - Upload/Download bits error #1234

Closed
Ja50n-Kru opened this issue Feb 22, 2024 · 12 comments · Fixed by #1802
Closed

Influx DB export - Upload/Download bits error #1234

Ja50n-Kru opened this issue Feb 22, 2024 · 12 comments · Fixed by #1802
Assignees
Labels
🐛 bug Something isn't working

Comments

@Ja50n-Kru
Copy link

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 Ja50n-Kru changed the title Influx DB export Influx DB export - Uoload/Download bits error Feb 22, 2024
@Ja50n-Kru Ja50n-Kru changed the title Influx DB export - Uoload/Download bits error Influx DB export - Upload/Download bits error Feb 22, 2024
@masterwishx
Copy link

masterwishx commented Feb 23, 2024

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

@alexjustesen
Copy link
Owner

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 alexjustesen added the 🐛 bug Something isn't working label Feb 23, 2024
@alexjustesen alexjustesen self-assigned this Feb 23, 2024
@masterwishx
Copy link

masterwishx commented Feb 23, 2024

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 #1235 (comment)

@skyeci-draytek
Copy link

Care to share how it looks in grafana please? Thanks

@masterwishx
Copy link

Care to share how it looks in grafana please? Thanks

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

@skyeci-draytek
Copy link

skyeci-draytek commented Feb 28, 2024

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

@masterwishx
Copy link

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...

@skyeci-draytek
Copy link

@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?

@masterwishx
Copy link

masterwishx commented Feb 28, 2024

@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
Copy link

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

@skyeci-draytek
Copy link

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
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment