storj/cmd/satellite/reports
Cameron d4ad3a3ca6 satellite/satellitedb/attribution: update value attribution query to return byte-hours
Before, the VA query was summing the total and dividing by the number of
rows. This gives the average bytes stored per hour, but we charge for
usage with byte-hours. Why not do value attribution the same way?
To do that, we don't divide by the number of rows. We also have object
and segment fees so return segment-hours and object-hours too.

Change-Id: I1f18b7e1b2bae1d3fae1ca3b93bfc24db5b9b0e6
2022-04-08 16:22:21 -04:00
..
attribution.go satellite/satellitedb/attribution: update value attribution query to return byte-hours 2022-04-08 16:22:21 -04:00
range_test.go satellite: consistent report range arguments 2019-12-20 17:17:09 +00:00
range.go satellite: consistent report range arguments 2019-12-20 17:17:09 +00:00