diff options
author | Erik Johnston <erik@matrix.org> | 2024-07-26 13:22:19 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2024-07-26 13:22:38 +0100 |
commit | 8cd82bdac4c5ebfa0915b200b5ae52be46c8b3e4 (patch) | |
tree | e26c5b5c83aceb78a4be3bbcd43b98329e2a74f0 | |
parent | log response (diff) | |
download | synapse-8cd82bdac4c5ebfa0915b200b5ae52be46c8b3e4.tar.xz |
Tag
-rw-r--r-- | synapse/handlers/sliding_sync.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/synapse/handlers/sliding_sync.py b/synapse/handlers/sliding_sync.py index 781e008daf..35a9581592 100644 --- a/synapse/handlers/sliding_sync.py +++ b/synapse/handlers/sliding_sync.py @@ -41,7 +41,7 @@ from synapse.api.constants import AccountDataTypes, Direction, EventTypes, Membe from synapse.events import EventBase from synapse.events.utils import strip_event from synapse.handlers.relations import BundledAggregations -from synapse.logging.opentracing import start_active_span, tag_args, trace +from synapse.logging.opentracing import set_tag, start_active_span, tag_args, trace from synapse.storage.databases.main.roommember import extract_heroes_from_room_summary from synapse.storage.databases.main.stream import CurrentStateDeltaMembership from synapse.storage.roommember import MemberSummary @@ -1482,6 +1482,12 @@ class SlidingSyncHandler: else: assert_never(room_status.status) + set_tag("sliding_sync.from_bound", from_bound) + set_tag("sliding_sync.room_status", room_status.status) + + set_tag("sliding_sync.initial", initial) + set_tag("room_id", room_id) + # Assemble the list of timeline events # # FIXME: It would be nice to make the `rooms` response more uniform regardless of |