anclrii / Storj-Exporter

Prometheus exporter for monitoring Storj storage nodes
GNU General Public License v3.0
58 stars 19 forks source link

No distinction between regular and repair upload in earnings #32

Closed frequentsailor closed 3 years ago

frequentsailor commented 4 years ago

Hello,

first of all I love Storj-Exporter and the corresponding Grafana dashboards. I have learned a lot getting it all to work for my node. Thank you for your effort.

Recently I noticed that the earnings reported in the Grafana dashboard and the earnings reported with the script from ReneSmeekes.

I think it is because Storj-Exporter doesn't take the different prices for regular and repair upload into account.

kevinkk525 commented 3 years ago

The earnings are calculated on the dashboard, not the exporter.

anclrii commented 3 years ago

I think it is because Storj-Exporter doesn't take the different prices for regular and repair upload into account.

True, it was calculated in grafana expressions and was never 100% precise. Fortunately api returns payout estimates now and this is directly exported and visualised on the updated dashboard along with held amount. This should now match what's displayed on the official dashboard.