summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2019-04-08 15:47:39 +0100
committerGitHub <noreply@github.com>2019-04-08 15:47:39 +0100
commitb25e387c0d0eef77e0ba20cb9f12b67272664bae (patch)
treefa07bc3910ad6a2f9bcee968fdd36866eb4e45f2 /synapse/app
parentMerge pull request #5024 from matrix-org/rav/record_correct_server_in_serverkeys (diff)
downloadsynapse-b25e387c0d0eef77e0ba20cb9f12b67272664bae.tar.xz
add context to phonehome stats (#5020)
add context to phonehome stats
Diffstat (limited to 'synapse/app')
-rwxr-xr-xsynapse/app/homeserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 869c028d1f..79be977ea6 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -518,6 +518,7 @@ def run(hs):
             uptime = 0
 
         stats["homeserver"] = hs.config.server_name
+        stats["server_context"] = hs.config.server_context
         stats["timestamp"] = now
         stats["uptime_seconds"] = uptime
         version = sys.version_info
@@ -558,7 +559,6 @@ def run(hs):
 
         stats["database_engine"] = hs.get_datastore().database_engine_name
         stats["database_server_version"] = hs.get_datastore().get_server_version()
-
         logger.info("Reporting stats to matrix.org: %s" % (stats,))
         try:
             yield hs.get_simple_http_client().put_json(