MatrixSynapse/changelog.d
Richard van der Hoff 60fa4935b5
Improve opentracing for incoming HTTP requests (#11618)
* remove `start_active_span_from_request`

Instead, pull out a separate function, `span_context_from_request`, to extract
the parent span, which we can then pass into `start_active_span` as
normal. This seems to be clearer all round.

* Remove redundant tags from `incoming-federation-request`

These are all wrapped up inside a parent span generated in AsyncResource, so
there's no point duplicating all the tags that are set there.

* Leave request spans open until the request completes

It may take some time for the response to be encoded into JSON, and that JSON
to be streamed back to the client, and really we want that inside the top-level
span, so let's hand responsibility for closure to the SynapseRequest.

* opentracing logs for HTTP request events

* changelog
2021-12-20 17:45:03 +00:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
10520.misc Send and handle cross-signing messages using the stable prefix. (#10520) 2021-12-08 10:01:38 +00:00
11243.misc Allow events to be created with no `prev_events` (MSC2716) (#11243) 2021-12-10 23:08:51 -06:00
11331.misc Fix case in `wait_for_background_updates` where `self.store` does not exist (#11331) 2021-12-07 11:51:53 -05:00
11360.misc Add missing type hints to `synapse.appservice` (#11360) 2021-12-14 17:02:46 +00:00
11378.feature Allow guests to send state events (#11378) 2021-12-09 11:02:05 +00:00
11427.doc Document the usage of refresh tokens. (#11427) 2021-12-08 15:31:17 +00:00
11480.misc Additional type hints for the config module, part 2. (#11480) 2021-12-09 16:15:46 +00:00
11487.misc Test to ensure we share the same `state_group` across the whole historical batch (MSC2716) (#11487) 2021-12-10 20:59:20 -06:00
11516.bugfix Do not allow cross-room relations, per MSC2674. (#11516) 2021-12-09 13:16:01 -05:00
11520.misc Use HTTPStatus constants in place of literals in `tests.rest.client.test_auth`. (#11520) 2021-12-08 14:54:47 +00:00
11531.misc Add a constant for receipt types (m.read). (#11531) 2021-12-08 12:26:29 -05:00
11535.misc Clean up `synapse.rest.admin` (#11535) 2021-12-08 16:59:40 +00:00
11536.misc Improve log messages for stream ids (#11536) 2021-12-08 14:15:14 +00:00
11538.feature Add experimental support for MSC3202: allowing application services to masquerade as specific devices. (#11538) 2021-12-15 10:40:52 +00:00
11541.misc Support unprefixed versions of fallback key property names. (#11541) 2021-12-09 11:41:27 +00:00
11542.misc Add missing `errcode` to `parse_string` and `parse_boolean` (#11542) 2021-12-09 11:23:34 +00:00
11543.misc Use HTTPStatus constants in place of literals in `synapse.http` (#11543) 2021-12-09 11:58:25 +00:00
11546.misc Add type hints to `synapse/storage/databases/main/account_data.py` (#11546) 2021-12-13 16:28:10 +00:00
11547.bugfix Ensure emails are canonicalized before fetching associated user. (#11547) 2021-12-10 07:17:28 -05:00
11549.misc Add type hints to `synapse/storage/databases/main/e2e_room_keys.py` (#11549) 2021-12-14 17:46:47 +00:00
11550.misc Adjust _get_rooms_changed comments (#11550) 2021-12-10 19:19:48 +00:00
11551.misc Add type hints to `synapse/storage/databases/main/end_to_end_keys.py` (#11551) 2021-12-13 16:28:26 +00:00
11555.misc Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
11556.misc Add missing type hints to `synapse.logging.context` (#11556) 2021-12-14 17:35:28 +00:00
11558.misc Stop populating `state_events.prev_state` (#11558) 2021-12-10 14:13:23 +00:00
11560.misc skip some dict munging in event persistence (#11560) 2021-12-10 15:02:33 +00:00
11564.misc checks for generators in database functions (#11564) 2021-12-13 19:01:27 +00:00
11565.misc Make `get_device` return None if the device doesn't exist rather than raising an exception. (#11565) 2021-12-13 15:39:43 +00:00
11566.misc Move HTML parsing to a separate file for URL previews. (#11566) 2021-12-13 17:55:07 +00:00
11570.misc Remove redundant `COALESCE()`s around `COUNT()`s in database queries (#11570) 2021-12-14 12:34:30 +00:00
11571.misc Add missing type hints to synapse.http. (#11571) 2021-12-14 07:00:47 -05:00
11574.misc Convert EventStreamResult to attrs. (#11574) 2021-12-15 11:10:02 -05:00
11575.misc Add type hints to `synapse/storage/databases/main/room.py` (#11575) 2021-12-15 18:00:48 +00:00
11580.misc Require Collections as the parameters for simple_* methods. (#11580) 2021-12-15 17:00:50 +00:00
11582.misc Add MSC2716 and MSC3030 to `/versions` -> `unstable_features` (#11582) 2021-12-16 11:25:37 -06:00
11583.bugfix Disable aggregation bundling on `/sync` responses (#11583) 2021-12-20 16:33:35 +00:00
11588.removal Use mock from standard library (#11588) 2021-12-20 10:34:46 -05:00
11589.misc Add type hints to `synapse/storage/databases/main/transactions.py` (#11589) 2021-12-16 14:59:35 -05:00
11590.misc Add type hints to `synapse/tests/rest/admin` (#11590) 2021-12-16 14:59:56 -05:00
11602.bugfix Return JSON errors for unknown resources under /matrix/client. (#11602) 2021-12-20 16:00:13 +00:00
11603.misc Add opentracing types (#11603) 2021-12-20 12:18:09 +00:00
11618.misc Improve opentracing for incoming HTTP requests (#11618) 2021-12-20 17:45:03 +00:00