query and call for r30 stats

This commit is contained in:
Neil Johnson 2018-03-28 10:39:13 +01:00
parent 9187e0762f
commit a32d2548d9
2 changed files with 38 additions and 0 deletions

View file

@ -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