I try what was written here but i finnaly gave up and made my own simple dashboard.
If anyone want :
I try what was written here but i finnaly gave up and made my own simple dashboard.
If anyone want :
Nice job!
but… how do you do the calculation for the estimated?
I say this because they do not match at all with the ones I have in my grafana panels.
It uses the same api used by the individual info panels on port 12004 by default
And the .exe is for ease of use for windows users.
Hi, thank you, here are the calculation i’m based on :
The usage is from : /api/sno/satellites
- bandwidthDaily[N].egress.usage
- bandwidthDaily[N].ingress.usage
- storageDaily[N].atRestTotalBytes
The bandwith does not account for repair bandwith but i may change that
The estimated payout is from : /api/sno/estimated-payout
- (currentMonth.egressBandwidthPayout + currentMonth.egressRepairAuditPayout + currentMonth.diskSpacePayout) / 100
- previousMonth.held / 100
- (previousMonth.egressBandwidthPayout + previousMonth.egressRepairAuditPayout + previousMonth.diskSpacePayout) / 100
- previousMonth.egressBandwidthPayout / 100
- previousMonth.egressRepairAuditPayout / 100
- previousMonth.diskSpacePayout / 100
So everything should perfectly match what you see on the panels exept ingress/egress bandwith that does not include repairs. Do you think i should change that ?