diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-12-21 11:10:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-21 11:10:36 +0000 |
commit | 221595414751f7b8fd0c79772c5ac4ffefeca10a (patch) | |
tree | b104cbf9e17d6ea29793c189183b6684d112c2c8 /synapse/rest/client/notifications.py | |
parent | Do not bundle aggregations for APIs which shouldn't include them. (#11592) (diff) | |
download | synapse-221595414751f7b8fd0c79772c5ac4ffefeca10a.tar.xz |
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
Diffstat (limited to 'synapse/rest/client/notifications.py')
0 files changed, 0 insertions, 0 deletions