- Jun 03, 2021
-
-
Andrew Morgan authored
-
Richard van der Hoff authored
This adds quite a lot of OpenTracing decoration for database activity. Specifically it adds tracing at four different levels: * emit a span for each "interaction" - ie, the top level database function that we tend to call "transaction", but isn't really, because it can end up as multiple transactions. * emit a span while we hold a database connection open * emit a span for each database transaction - actual actual transaction. * emit a span for each database query. I'm aware this might be quite a lot of overhead, but even just running it on a local Synapse it looks really interesting, and I hope the overhead can be offset just by turning down the sampling frequency and finding other ways of tracing requests of interest (eg, the `force_tracing_for_users` setting).
-
Richard van der Hoff authored
The existing tracing reports an error each time there is a timeout, which isn't really representative. Additionally, we log things about the way `wait_for_events` works (eg, the result of the callback) to the *parent* span, which is confusing.
-
Andrew Morgan authored
So that they render nicely in mdbook (see #10086), and so that we no longer have a mix of structured text languages in our documentation (excluding files outside of `docs/`).
-
Travis Ralston authored
[MSC2432](https://github.com/matrix-org/matrix-doc/pull/2432) added this endpoint originally but it has since been included in the spec for nearly a year. This is progress towards https://github.com/matrix-org/synapse/issues/8334
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- Jun 02, 2021
-
-
Dirk Klimpel authored
Related to: #6681, #5956, #10040 Signed-off-by:
Dirk Klimpel <dirk@klimpel.org>
-
Richard van der Hoff authored
... using the script from matrix-org/sytest#1052
-
Erik Johnston authored
-
Patrick Cloke authored
-
Erik Johnston authored
-
- Jun 01, 2021
-
-
Andrew Morgan authored
-
Andrew Morgan authored
-
Andrew Morgan authored
-
Richard van der Hoff authored
Empirically, this helped my server considerably when handling gaps in Matrix HQ. The problem was that we would repeatedly call have_seen_events for the same set of (50K or so) auth_events, each of which would take many minutes to complete, even though it's only an index scan.
-
Brad Murray authored
Signed-off-by:
Brad Murray <brad@beeper.com>
-
- May 28, 2021
-
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Brendan Abolivier authored
-
Erik Johnston authored
-
Erik Johnston authored
Fixes #10087.
-
Richard van der Hoff authored
... because tags on spans which aren't being sampled get thrown away.
-
Erik Johnston authored
-
Eric Eastwood authored
Split out from https://github.com/matrix-org/synapse/pull/9247 Strings: - `parse_string` - `parse_string_from_args` - `parse_strings_from_args` For comparison with ints: - `parse_integer` - `parse_integer_from_args` Previous discussions: - https://github.com/matrix-org/synapse/pull/9247#discussion_r573195687 - https://github.com/matrix-org/synapse/pull/9247#discussion_r574214156 - https://github.com/matrix-org/synapse/pull/9247#discussion_r573264791 Signed-off-by:
Eric Eastwood <erice@element.io>
-
- May 27, 2021
-
-
Erik Johnston authored
-
Callum Brown authored
Implements MSC2414: https://github.com/matrix-org/matrix-doc/pull/2414 See #8551 Signed-off-by:
Callum Brown <callum@calcuode.com>
-
Brendan Abolivier authored
-
Erik Johnston authored
Synapse 1.35.0rc2 (2021-05-27) ============================== Bugfixes -------- - Fix a bug introduced in v1.35.0rc1 when calling the spaces summary API via a GET request. ([\#10079](https://github.com/matrix-org/synapse/issues/10079))
-
Erik Johnston authored
Fixes #10068
-
Patrick Cloke authored
Fixes a bug due to conflicting PRs which were merged. (One added a new caller to a method, the other added a new parameter to the same method.)
-
Denis Kasak authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-