diff options
author | Eric Eastwood <erice@element.io> | 2022-08-06 01:06:48 -0500 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2022-08-06 01:06:48 -0500 |
commit | 552b7f13b6f27e5a6f1c7b3bebe38fb2ef81c0bc (patch) | |
tree | d96a6b82a5985e56d266ebbf577ab63179b4fbba /synapse/federation/federation_client.py | |
parent | More tracing for federated side (diff) | |
download | synapse-552b7f13b6f27e5a6f1c7b3bebe38fb2ef81c0bc.tar.xz |
More tracing for federation
Diffstat (limited to 'synapse/federation/federation_client.py')
-rw-r--r-- | synapse/federation/federation_client.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py index 76b39408ec..54c3478a82 100644 --- a/synapse/federation/federation_client.py +++ b/synapse/federation/federation_client.py @@ -61,7 +61,7 @@ from synapse.federation.federation_base import ( ) from synapse.federation.transport.client import SendJoinResponse from synapse.http.types import QueryParams -from synapse.logging.tracing import trace, tag_args +from synapse.logging.tracing import tag_args, trace from synapse.types import JsonDict, UserID, get_domain_from_id from synapse.util.async_helpers import concurrently_execute from synapse.util.caches.expiringcache import ExpiringCache @@ -338,6 +338,8 @@ class FederationClient(FederationBase): return None + @trace + @tag_args async def get_pdu( self, destinations: Iterable[str], @@ -475,6 +477,8 @@ class FederationClient(FederationBase): return state_event_ids, auth_event_ids + @trace + @tag_args async def get_room_state( self, destination: str, @@ -534,6 +538,7 @@ class FederationClient(FederationBase): return valid_state_events, valid_auth_events + @trace async def _check_sigs_and_hash_and_fetch( self, origin: str, |