Skip to content
Snippets Groups Projects
Unverified Commit 2b39494c authored by Will Hunt's avatar Will Hunt Committed by GitHub
Browse files

Add python_version phone home stat

parent c9c50284
No related branches found
No related tags found
No related merge requests found
......@@ -457,6 +457,8 @@ def run(hs):
stats["homeserver"] = hs.config.server_name
stats["timestamp"] = now
stats["uptime_seconds"] = uptime
version = sys.version_info
stats["python_version"] = (version.major) + (version.minor / 10) + (version.micro / 100)
stats["total_users"] = yield hs.get_datastore().count_all_users()
total_nonbridged_users = yield hs.get_datastore().count_nonbridged_users()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment