summary refs log tree commit diff
path: root/synapse/rest/client/keys.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2022-08-22 10:03:11 +0100
committerGitHub <noreply@github.com>2022-08-22 10:03:11 +0100
commit94375f7a913f75fe0a93a3eda2bfe5060e975290 (patch)
treef1e76556e5d901ca75413e75c320a64949af9eb9 /synapse/rest/client/keys.py
parentMSC2716v4 room version - remove namespace from MSC2716 event content fields (... (diff)
downloadsynapse-94375f7a913f75fe0a93a3eda2bfe5060e975290.tar.xz
Remove redundant opentracing spans for `/sendToDevice` and `/keys/upload` (#13574)
Diffstat (limited to 'synapse/rest/client/keys.py')
-rw-r--r--synapse/rest/client/keys.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/rest/client/keys.py b/synapse/rest/client/keys.py
index e3f454896a..a395694fa5 100644
--- a/synapse/rest/client/keys.py
+++ b/synapse/rest/client/keys.py
@@ -26,7 +26,7 @@ from synapse.http.servlet import (
     parse_string,
 )
 from synapse.http.site import SynapseRequest
-from synapse.logging.opentracing import log_kv, set_tag, trace_with_opname
+from synapse.logging.opentracing import log_kv, set_tag
 from synapse.types import JsonDict, StreamToken
 
 from ._base import client_patterns, interactive_auth_handler
@@ -71,7 +71,6 @@ class KeyUploadServlet(RestServlet):
         self.e2e_keys_handler = hs.get_e2e_keys_handler()
         self.device_handler = hs.get_device_handler()
 
-    @trace_with_opname("upload_keys")
     async def on_POST(
         self, request: SynapseRequest, device_id: Optional[str]
     ) -> Tuple[int, JsonDict]: