synapse-product/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 Add debug logging for issue #9533 (#9959) 2021-05-11 11:04:03 +01:00
_remote.py Another batch of type annotations (#12726) 2022-05-13 12:35:31 +01:00
_terse_json.py Include exception in json logging (#11028) 2021-10-08 13:08:25 +02:00
context.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
filter.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
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