Skip to content
Snippets Groups Projects
Unverified Commit c600886d authored by Amber Brown's avatar Amber Brown Committed by GitHub
Browse files

Merge pull request #3894 from matrix-org/hs/phone_home_py_version

Add python_version phone home stat
parents 286d6930 2b41f2ed
No related branches found
No related tags found
No related merge requests found
Report "python_version" in the phone home stats
......@@ -457,6 +457,10 @@ def run(hs):
stats["homeserver"] = hs.config.server_name
stats["timestamp"] = now
stats["uptime_seconds"] = uptime
version = sys.version_info
stats["python_version"] = "{}.{}.{}".format(
version.major, version.minor, version.micro
)
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