storj/satellite/attribution
Cameron 48fb3e947c cmd/satellite/reports: sum attribution data by user agent
Attribution is attached to bucket usage, but that's more granular than
necessary for the attribution report. This change iterates over the
bucket attributions, parses the user agent, converts the first entry
to lower case, and uses that as the key to a map which holds the
attribution totals for each unique user agent.

Change-Id: Ib2962ba0f57daa8a7298f11fcb1ac44a8bb97875
2022-04-18 13:23:37 +00:00
..
db_test.go satellite/satellitedb/attribution: update value attribution query to return byte-hours 2022-04-08 16:22:21 -04:00
db.go cmd/satellite/reports: sum attribution data by user agent 2022-04-18 13:23:37 +00:00