summary refs log tree commit diff
path: root/tests/rest/admin/test_statistics.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove spurious "SynapseRequest" result from `make_request"Richard van der Hoff2020-12-151-33/+27
| | | | This was never used, so let's get rid of it.
* Remove redundant `HomeserverTestCase.render`Richard van der Hoff2020-11-161-27/+0
|
* Add an admin API for users' media statistics (#8700)Dirk Klimpel2020-11-051-0/+485
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