mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-25 22:20:49 -04:00
query and call for r30 stats
This commit is contained in:
parent
9187e0762f
commit
a32d2548d9
2 changed files with 38 additions and 0 deletions
|
@ -425,6 +425,8 @@ def run(hs):
|
|||
stats["daily_active_rooms"] = yield hs.get_datastore().count_daily_active_rooms()
|
||||
stats["daily_messages"] = yield hs.get_datastore().count_daily_messages()
|
||||
|
||||
stats["r30_users"] = yield hs.get_datastore().count_r30_users()
|
||||
|
||||
daily_sent_messages = yield hs.get_datastore().count_daily_sent_messages()
|
||||
stats["daily_sent_messages"] = daily_sent_messages
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue