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

fix grafana dashboard #60

Open
dpozinen opened this issue Oct 29, 2023 · 0 comments
Open

fix grafana dashboard #60

dpozinen opened this issue Oct 29, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dpozinen
Copy link
Owner

Right now the downloaded/uploaded is counted from the selection of now - 5m.
This is totally wrong for several reasons:

  • if the torrent is deleted, it will no longer be counted to the total value, since it's not present in the latest time series
  • It's impossible to select a timeframe and see how much was up/down loaded during that specific time

Notes:

  • Selecting the latest in each time series per torrent id is costly, since the query may span years
  • for total uploaded - consider static counter in postgres
@dpozinen dpozinen added the bug Something isn't working label Oct 29, 2023
@dpozinen dpozinen self-assigned this Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant