summary refs log tree commit diff
path: root/synapse/http/server.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-05-21 19:48:57 -0500
committerAmber Brown <hawkowl@atleastfornow.net>2018-05-21 19:48:57 -0500
commitfcc525b0b705703fead3d703c0df62a264ff8ce8 (patch)
tree30fa970c9a38a6cf03d80ff2085bb30cffd2fd44 /synapse/http/server.py
parentreplacing portions (diff)
downloadsynapse-fcc525b0b705703fead3d703c0df62a264ff8ce8.tar.xz
rest of the changes
Diffstat (limited to 'synapse/http/server.py')
-rw-r--r--synapse/http/server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py
index b6e2ae14a2..f72d986288 100644
--- a/synapse/http/server.py
+++ b/synapse/http/server.py
@@ -138,8 +138,8 @@ def wrap_request_handler_with_logging(h):
                         # dispatching to the handler, so that the handler
                         # can update the servlet name in the request
                         # metrics
-                        requests_counter.inc(request.method,
-                                             request.request_metrics.name)
+                        requests_counter.labels(request.method,
+                                                request.request_metrics.name).inc()
                         yield d
     return wrapped_request_handler