summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-09-25 11:32:41 +0100
committerErik Johnston <erik@matrix.org>2019-09-25 11:32:41 +0100
commitfde4ce22135b06d05b646141f90cdf3038ed4fe2 (patch)
treeedd0a083d3642e07f0bd0599ffd52026568faaf0 /synapse/api
parentMerge pull request #6092 from matrix-org/babolivier/background_update_deactiv... (diff)
downloadsynapse-fde4ce22135b06d05b646141f90cdf3038ed4fe2.tar.xz
Don't create new span for get_user_by_req
We don't actually care about what happens in `get_user_by_req` and
having it as a separate span means that the entity tag isn't added to
the servlet spans, making it harder to search.
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/auth.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 9e445cd808..59852bdbdb 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -179,7 +179,6 @@ class Auth(object):
     def get_public_keys(self, invite_event):
         return event_auth.get_public_keys(invite_event)
 
-    @opentracing.trace
     @defer.inlineCallbacks
     def get_user_by_req(
         self, request, allow_guest=False, rights="access", allow_expired=False