diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-09-18 12:58:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-18 12:58:49 +0100 |
commit | ad95ec12ca076d6153e4bd6f7c78667fe09ca901 (patch) | |
tree | c48ac4f31a9412582c28d4324e96109590dad3d6 /synapse/http/site.py | |
parent | Merge pull request #3897 from aaronraimist/synaspse-typo (diff) | |
parent | changelog (diff) | |
download | synapse-ad95ec12ca076d6153e4bd6f7c78667fe09ca901.tar.xz |
Merge pull request #3895 from matrix-org/rav/decode_bytes_in_metrics
Fix more b'abcd' noise in metrics
Diffstat (limited to 'synapse/http/site.py')
-rw-r--r-- | synapse/http/site.py | 2 |
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) |