gigascience / gigadb-website

Source code for running GigaDB
http://gigadb.org
GNU General Public License v3.0
9 stars 15 forks source link

Count downloads of files #1269

Open only1chunts opened 1 year ago

only1chunts commented 1 year ago

User story

As an author I want to know how many times a file(s) has been successfully downloaded by users So that I can see how many times my data has been re-used

Acceptance criteria

Given a user downloads a file from public Giga-Wasabi When the download is successful Then the count for the number of times that file has been downloaded is increased by 1

Additional Info

Currently from the CNGB server we have stats, which need to be parsed to count the historic number of downloads of files.

This work is related to multiple other tickets:

1101 Show important key performance indicators in admin dashboard of Gigadb.org

137 Data citation metrics

832 Show metrics on a dataset page

774 xferlog archiving cron job

161 Authors stats page

Product Backlog Item Ready Checklist

Product Backlog Item Done Checklist

rija commented 1 year ago

This relies on wasabi bucket logging that we've enabled a few weeks ago. We still need find a way to parse that information