Stats and summary up/down size
Darkomen78 opened this issue · 5 comments
Is there a "simple" way to get a monthly (and yearly) summary "log" for all uploads and downloads ?
With the current code, there's no way.
For downloads though, I monitor via Cloudflare stats.
You need to implement it by your own. You could use the plugin api like https://github.com/psi-4ward/psitransfer/tree/master/plugins
Thanks, I think I don't have dev skills (and time) to implement that 😅
Without having investigated it further, it should work with the event system, as an event is fired with each upload. Unfortunately, since no PRs are merged, this will be a waste of time. Since the result will be a simple .js file, it would probably make sense to create a separate repository for this if there is enough interest.
Ok, thanks for that idea.
For now, I have build a stack with cadvisor, node-exporter and prometheus.