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

Validate units cost in usage report #204

Open
paulobressan opened this issue Nov 19, 2024 · 1 comment · Fixed by #205
Open

Validate units cost in usage report #204

paulobressan opened this issue Nov 19, 2024 · 1 comment · Fixed by #205
Assignees

Comments

@paulobressan
Copy link
Member

No description provided.

@rodrigosuaya
Copy link

@paulobressan there seems to be an issue on how we are aggregating time, and as a result on the calculation of the minimum_cost as well. The report you shared was supposedly for November, so as a maximum we have 20 days of data (until today). This means that no port should have more than 480hs (20 * 24) of total time, but most of them are showing up to 677hs which is equivalent to ~28 days. As mentioned, the result is that the prorated minimum cost is showing almost full cost for the tier when in reality there are still 10 days left of the month. For example, this is what the report is doing:

Image

When minimum_cost should be something closer to $50 ($80 min fee / 30 days month * 20 days passed)

Also, could you please remove the "hs" from the time column, it makes it hard to work with the column as it brakes the format. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants