synapse/synapse/http
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
..
federation Add missing type hints to synapse.logging.context (#11556) 2021-12-14 17:35:28 +00:00
__init__.py Add missing type hints to synapse.http. (#11571) 2021-12-14 07:00:47 -05:00
additional_resource.py Add missing type hints to synapse.http. (#11571) 2021-12-14 07:00:47 -05:00
client.py Use HTTPStatus constants in place of literals in synapse.http (#11543) 2021-12-09 11:58:25 +00:00
connectproxyclient.py Type hints for the remaining two files in synapse.http. (#11164) 2021-10-28 14:14:42 +01:00
matrixfederationclient.py Use HTTPStatus constants in place of literals in synapse.http (#11543) 2021-12-09 11:58:25 +00:00
proxyagent.py Additional type hints for the proxy agent and SRV resolver modules. (#10608) 2021-08-18 13:53:20 -04:00
request_metrics.py Type hints for the remaining two files in synapse.http. (#11164) 2021-10-28 14:14:42 +01:00
server.py Various opentracing enhancements (#11619) 2021-12-21 11:10:36 +00:00
servlet.py Add missing type hints to synapse.http. (#11571) 2021-12-14 07:00:47 -05:00
site.py Improve opentracing for incoming HTTP requests (#11618) 2021-12-20 17:45:03 +00:00