SiaFoundation / hostd

The next-generation of Sia storage providing software. More performant. More stable. Support for larger nodes.
https://sia.tech/software/hostd
MIT License
36 stars 11 forks source link

Last bucket on cumulative graphs need to be dropped #425

Closed NickJH closed 2 months ago

NickJH commented 2 months ago

Current Behavior

The Bandwidth and Operations graph show cumulative data but the last period is always the current one and so has incomplete data. See the attached graph with an image of the month's data. The graph drops at the end as it is for today which is incomplete, but this leaves you thinking today's bandwidth is less that yesterday's, whereas, in reality it is going to beat yesterday's if it continues like this.

Expected Behavior

I think the solution is to drop the last bucket, or in the last bucket have both an actual figure and an extrapolated figure, but the extrapolation would need to be very clear that it is extrapolated.

Steps to Reproduce

No response

Version

v1.1.0

What operating system did the problem occur on (e.g. Ubuntu 22.04, macOS 12.0, Windows 11)?

Ubuntu 24.04 LTS

Anything else?

No response

AZComputerSolutions commented 2 months ago

This was already reported quite some time ago.

https://github.com/SiaFoundation/hostd/issues/276

n8maninger commented 2 months ago

Closing as duplicate of #276