Closed jdauphant closed 2 years ago
user_daily_visits
monthly_active_users
user_daily_visits_view
user_daily_visits-<YYYY-MM-dd>.csv
Montly active users
https://github.com/matrix-org/synapse/blob/25f43faa70f7cc58493b636c2702ae63395779dc/synapse/storage/schema/main/delta/51/monthly_active_users.sql
https://github.com/matrix-org/synapse/blob/25f43faa70f7cc58493b636c2702ae63395779dc/synapse/storage/schema/main/delta/49/add_user_daily_visits.sql
Analysis
user_daily_visits
has been retainedmonthly_active_users
user_daily_visits
Implementation
user_daily_visits
(ormonthly_active_users
) table intouser_daily_visits_view
: an aggregated view without sensitive datauser_daily_visits_view
view into csv fileuser_daily_visits-<YYYY-MM-dd>.csv
user_daily_visits-<YYYY-MM-dd>.csv
to S3 storageuser_daily_visits
in metabase-db(scalingo) : schema has to be defined according touser_daily_visits-<YYYY-MM-dd>.csv
user_daily_visits
table