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

km-driven in drive-stats only updates once a day #4193

Closed
1 task done
roely15mol opened this issue Sep 11, 2024 · 7 comments · Fixed by #4258
Closed
1 task done

km-driven in drive-stats only updates once a day #4193

roely15mol opened this issue Sep 11, 2024 · 7 comments · Fixed by #4258
Labels
area:dashboard Related to a Grafana dashboard

Comments

@roely15mol
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

km-driven in drive-stats only updates once a day at 2am, is this as designed or is this a bug.

Expected Behavior

No response

Steps To Reproduce

No response

Relevant log output

06/09/2024, 02:00:00 55.8 km
07/09/2024, 02:00:00 74.7 km
08/09/2024, 02:00:00 115 km
09/09/2024, 02:00:00 100.0 km
10/09/2024, 02:00:000 0km

Screenshots

No response

Additional data

No response

Type of installation

Docker

Version

v1.30.1

@JakobLichterfeld JakobLichterfeld added the area:dashboard Related to a Grafana dashboard label Sep 15, 2024
@swiffer
Copy link
Contributor

swiffer commented Oct 13, 2024

@roely15mol - could you test the PR opened here and see if this is fixed with the changes made to the drive dashboard ?

#4258

@roely15mol
Copy link
Author

I will have a look in the evening! Thanks!

@roely15mol
Copy link
Author

Looks like it's something in the database maybe? That it only calculated it at 2am?
image

@swiffer
Copy link
Contributor

swiffer commented Oct 14, 2024

are you using the dashboard / image provided in PR? data should look like this:

grafik

-> the data is bucketed per day, therefore you only see a daily total. however this is calculated on demand, so no delays should occure. after a ride you should see the km driven increasing on the same day.

@roely15mol
Copy link
Author

Just deployed the new image, will drive home in about 4 to 5 hours, will have a look afterwards. Thanks for the effort.

@roely15mol
Copy link
Author

Just tested and it works with this new image thanks for the work!

@swiffer
Copy link
Contributor

swiffer commented Oct 14, 2024

great to hear, merged and released soon i guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dashboard Related to a Grafana dashboard
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants