MatrixSynapse/synapse/api
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
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
auth.py Various opentracing enhancements (#11619) 2021-12-21 11:10:36 +00:00
auth_blocking.py Fix AuthBlocking check when requester is appservice (#10881) 2021-09-24 10:41:18 +01:00
constants.py Add a constant for receipt types (m.read). (#11531) 2021-12-08 12:26:29 -05:00
errors.py Make `check_event_allowed` module API callback not fail open (accept events) when an exception is raised (#11033) 2021-11-01 15:45:56 +00:00
filtering.py Support filtering by relations per MSC3440 (#11236) 2021-11-09 08:10:58 -05:00
presence.py Add missing type hints to synapse.api. (#11109) 2021-10-18 15:01:10 -04:00
ratelimiting.py Add missing type hints to synapse.api. (#11109) 2021-10-18 15:01:10 -04:00
room_versions.py Rename MSC2716 things from `chunk` to `batch` to match `/batch_send` endpoint (#10838) 2021-09-21 15:06:28 -05:00
urls.py Add support for `/_matrix/media/v3` APIs (#11371) 2021-11-17 15:30:24 +00:00