MatrixSynapse/synapse/logging
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
..
__init__.py
_remote.py Another batch of type annotations (#12726) 2022-05-13 12:35:31 +01:00
_terse_json.py
context.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
filter.py
formatter.py Another batch of type annotations (#12726) 2022-05-13 12:35:31 +01:00
handlers.py Another batch of type annotations (#12726) 2022-05-13 12:35:31 +01:00
opentracing.py Improve logging and opentracing for to-device message handling (#14598) 2022-12-06 09:52:55 +00:00
scopecontextmanager.py More type hints for `synapse.logging` (#13103) 2022-06-30 13:05:06 +00:00