equalitie / ouisync

A secure peer-to-peer file synchronization app.
https://ouisync.net
Mozilla Public License 2.0
49 stars 9 forks source link

Usage statistics #134

Closed madadam closed 1 year ago

madadam commented 1 year ago

Gather anonymized usage statistics on the server.

Initially it should be enough to just gather amount of downloaded / uploaded data per unique ip address and then aggregate it by country

Ideas:

Use something like prometheus to gather the data, then visualize with e.g. grafana. That way the actual logic in ouisync would be minimal as all the heavy lifting would be provided by those external tools. Plus in the future we can extend it to gather more data if we want. All we need to do it to collect the data and make it available for prometheus (either serve it for scraping or push it).

jnny commented 1 year ago

@madadam have you discussed implementing ouisync metrics with keith? this sounds like our existing setup for ouinet metrics - we could set up a ouisync set of dashboards in https://mias.ouinet.work/..

madadam commented 1 year ago

Work on the ouisync side is now done. Still need to hook it up to mias.

madadam commented 1 year ago

grafana dashboard on mias created, closing as done.