anonymousland-synapse/synapse
Dirk Klimpel c3119d1536
Add an admin API for users' media statistics (#8700)
Add `GET /_synapse/admin/v1/statistics/users/media` to get statisics about local media usage by users.
Related to #6094
It is the first API for statistics.
Goal is to avoid/reduce usage of sql queries like [Wiki analyzing Synapse](https://github.com/matrix-org/synapse/wiki/SQL-for-analyzing-Synapse-PostgreSQL-database-stats)

Signed-off-by: Dirk Klimpel dirk@klimpel.org
2020-11-05 18:59:12 +00:00
..
_scripts
api Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
app
appservice Tie together matches_user_in_member_list and get_users_in_room caches (#8676) 2020-10-30 15:23:16 +00:00
config Improve the sample config for SSO (OIDC, SAML, and CAS). (#8635) 2020-10-30 10:01:59 -04:00
crypto Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
events Block clients from sending server ACLs that lock the local server out. (#8708) 2020-11-03 12:13:48 +00:00
federation Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
groups Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
handlers Block clients from sending server ACLs that lock the local server out. (#8708) 2020-11-03 12:13:48 +00:00
http Merge pull request #8678 from matrix-org/rav/fix_frozen_events 2020-10-30 15:24:10 +00:00
logging Gracefully handle a pending logging connection during shutdown. (#8685) 2020-10-29 12:53:57 -04:00
metrics Start fewer opentracing spans (#8640) 2020-10-26 09:30:19 +00:00
module_api
push Add base pushrule to notify for jitsi conferences (#8286) 2020-11-02 16:36:14 +00:00
replication Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
res/templates
rest Add an admin API for users' media statistics (#8700) 2020-11-05 18:59:12 +00:00
server_notices Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
spam_checker_api
state Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
static Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
storage Add an admin API for users' media statistics (#8700) 2020-11-05 18:59:12 +00:00
streams
util Merge pull request #8678 from matrix-org/rav/fix_frozen_events 2020-10-30 15:24:10 +00:00
__init__.py use correct version 2020-10-30 15:27:58 +00:00
event_auth.py
notifier.py Don't pull event from DB when handling replication traffic. (#8669) 2020-10-28 12:11:45 +00:00
python_dependencies.py
secrets.py
server.py
types.py Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
visibility.py