synapse-product/synapse
Richard van der Hoff 2215954147
Various opentracing enhancements (#11619)
* Wrap `auth.get_user_by_req` in an opentracing span

give `get_user_by_req` its own opentracing span, since it can result in a
non-trivial number of sub-spans which it is useful to group together.

This requires a bit of reorganisation because it also sets some tags (and may
force tracing) on the servlet span.

* Emit opentracing span for encoding json responses

This can be a significant time sink.

* Rename all sync spans with a prefix

* Write an opentracing span for encoding sync response

* opentracing span to group generate_room_entries

* opentracing spans within sync.encode_response

* changelog

* Use the `trace` decorator instead of context managers
2021-12-21 11:10:36 +00:00
..
_scripts
api Various opentracing enhancements (#11619) 2021-12-21 11:10:36 +00:00
app Return JSON errors for unknown resources under /matrix/client. (#11602) 2021-12-20 16:00:13 +00:00
appservice Add missing type hints to synapse.appservice (#11360) 2021-12-14 17:02:46 +00:00
config Add MSC2716 and MSC3030 to /versions -> unstable_features (#11582) 2021-12-16 11:25:37 -06:00
crypto
events Do not bundle aggregations for APIs which shouldn't include them. (#11592) 2021-12-20 14:14:38 -05:00
federation Improve opentracing for incoming HTTP requests (#11618) 2021-12-20 17:45:03 +00:00
groups
handlers Various opentracing enhancements (#11619) 2021-12-21 11:10:36 +00:00
http Various opentracing enhancements (#11619) 2021-12-21 11:10:36 +00:00
logging Improve opentracing for incoming HTTP requests (#11618) 2021-12-20 17:45:03 +00:00
metrics
module_api Fix ModuleApi.looping_background_call for non-async functions (#11524) 2021-12-07 11:41:31 +00:00
push Ensure emails are canonicalized before fetching associated user. (#11547) 2021-12-10 07:17:28 -05:00
replication Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
res
rest Various opentracing enhancements (#11619) 2021-12-21 11:10:36 +00:00
server_notices
spam_checker_api
state
static
storage Add type hints to synapse/storage/databases/main/transactions.py (#11589) 2021-12-16 14:59:35 -05:00
streams
util Improve opentracing support for ResponseCache (#11607) 2021-12-20 18:12:08 +00:00
__init__.py 1.49.0 2021-12-14 12:56:14 +00:00
event_auth.py
notifier.py Convert EventStreamResult to attrs. (#11574) 2021-12-15 11:10:02 -05:00
py.typed
python_dependencies.py Revert "Move glob_to_regex and re_word_boundary to matrix-python-common (#11505) (#11527) 2021-12-07 13:51:11 +00:00
server.py Add MSC3030 experimental client and federation API endpoints to get the closest event to a given timestamp (#9445) 2021-12-02 01:02:20 -06:00
types.py Add type hints to synapse/storage/databases/main/e2e_room_keys.py (#11549) 2021-12-14 17:46:47 +00:00
visibility.py