summary refs log tree commit diff
path: root/synapse/http/site.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-09-17 17:16:50 +0100
committerRichard van der Hoff <richard@matrix.org>2018-09-17 17:16:50 +0100
commitac80cb08fe247812b46c70843b2d5c9764cca619 (patch)
treee3face87f8e6fdfcb839eb2a3fb30ad897b1baaf /synapse/http/site.py
parentchangelog (diff)
downloadsynapse-ac80cb08fe247812b46c70843b2d5c9764cca619.tar.xz
Fix more b'abcd' noise in metrics
Diffstat (limited to 'synapse/http/site.py')
-rw-r--r--synapse/http/site.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/site.py b/synapse/http/site.py
index 2191de9836..9579e8cd0d 100644
--- a/synapse/http/site.py
+++ b/synapse/http/site.py
@@ -288,7 +288,7 @@ class SynapseRequest(Request):
         )
 
         try:
-            self.request_metrics.stop(self.finish_time, self)
+            self.request_metrics.stop(self.finish_time, self.code, self.sentLength)
         except Exception as e:
             logger.warn("Failed to stop metrics: %r", e)