summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-07-17 11:19:13 +0100
committerJorik Schellekens <joriks@matrix.org>2019-08-14 17:37:47 +0100
commita59e6089b645c17c2becacfed869b5905d671d4e (patch)
tree5f465357e66de7e8c3ab151df0c79ac4e1e1d871
parentAdd user _id (diff)
downloadsynapse-a59e6089b645c17c2becacfed869b5905d671d4e.tar.xz
Make sure there is an active span here.
-rw-r--r--synapse/api/auth.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 3ab6cef9c2..1453ada8ed 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -179,6 +179,7 @@ class Auth(object):
     def get_public_keys(self, invite_event):
         return event_auth.get_public_keys(invite_event)
 
+    @opentracing.trace_deferred
     @defer.inlineCallbacks
     def get_user_by_req(
         self, request, allow_guest=False, rights="access", allow_expired=False