synapse-product/synapse
Richard van der Hoff cb59e08062
Improve logging and opentracing for to-device message handling (#14598)
A batch of changes intended to make it easier to trace to-device messages through the system.

The intention here is that a client can set a property org.matrix.msgid in any to-device message it sends. That ID is then included in any tracing or logging related to the message. (Suggestions as to where this field should be documented welcome. I'm not enthusiastic about speccing it - it's very much an optional extra to help with debugging.)

I've also generally improved the data we send to opentracing for these messages.
2022-12-06 09:52:55 +00:00
..
_scripts let update_synapse_database run on a multi-database configurations (#13422) 2022-10-19 19:08:40 +01:00
api Improve logging and opentracing for to-device message handling (#14598) 2022-12-06 09:52:55 +00:00
app Use ClientRestResource on both the main process and workers. (#14528) 2022-12-02 13:10:05 -05:00
appservice Use device_one_time_keys_count to match MSC3202 (#14565) 2022-11-28 16:17:29 +00:00
config Add push.enabled option to disable push notification calculation (#14551) 2022-12-01 13:46:24 +00:00
crypto Stop using deprecated keyIds param on /key/v2/server (#14525) 2022-11-30 11:59:57 +00:00
events Faster joins: do not wait for full state when creating events to send (#14403) 2022-11-17 17:01:14 +01:00
federation Improve logging and opentracing for to-device message handling (#14598) 2022-12-06 09:52:55 +00:00
handlers Improve logging and opentracing for to-device message handling (#14598) 2022-12-06 09:52:55 +00:00
http Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
logging Improve logging and opentracing for to-device message handling (#14598) 2022-12-06 09:52:55 +00:00
metrics Fix logging context warnings due to common usage metrics setup (#14574) 2022-11-28 15:25:18 +00:00
module_api Add a type hint for get_device_handler() and fix incorrect types. (#14055) 2022-11-22 14:08:04 -05:00
push Add push.enabled option to disable push notification calculation (#14551) 2022-12-01 13:46:24 +00:00
replication Faster remote room joins: stream the un-partial-stating of rooms over replication. [rei:frrj/streams/unpsr] (#14473) 2022-12-05 13:07:55 +00:00
res Fix HTML templates missing correct HTML tags (#14448) 2022-11-16 11:14:38 +00:00
rest Improve logging and opentracing for to-device message handling (#14598) 2022-12-06 09:52:55 +00:00
server_notices Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
spam_checker_api Fix import in module_api module and docs on the new check_event_for_spam signature (#12918) 2022-05-31 12:04:53 +02:00
state Faster joins: do not wait for full state when creating events to send (#14403) 2022-11-17 17:01:14 +01:00
static Add viewport directive to HTML templates to optimise for mobile (#13493) 2022-08-11 14:04:20 +01:00
storage Improve logging and opentracing for to-device message handling (#14598) 2022-12-06 09:52:55 +00:00
streams Implement message forward pagination from start when no from is given, fixes #12383 (#14149) 2022-11-24 09:10:51 +00:00
util Better return type for get_all_entities_changed (#14604) 2022-12-05 15:19:14 -05:00
__init__.py Parse SYNAPSE_ASYNC_IO_REACTOR env variable & log the reactor on startup (#14092) 2022-10-07 15:19:59 +01:00
event_auth.py Revert "Fix event size checks (#13710)" 2022-11-01 11:47:09 +00:00
notifier.py Batch up notifications after event persistence (#14033) 2022-10-05 10:12:48 -07:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
server.py Add a type hint for get_device_handler() and fix incorrect types. (#14055) 2022-11-22 14:08:04 -05:00
types.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
visibility.py Faster joins: filter out non local events when a room doesn't have its full state (#14404) 2022-11-21 16:46:14 +01:00