mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 01:25:44 +03:00
9eea4646be
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). |
||
---|---|---|
.. | ||
.gitignore | ||
9221.doc | ||
9224.feature | ||
9906.misc | ||
9953.feature | ||
9973.feature | ||
10035.feature | ||
10040.feature | ||
10044.feature | ||
10046.doc | ||
10048.misc | ||
10054.misc | ||
10055.misc | ||
10057.doc | ||
10059.misc | ||
10063.removal | ||
10069.misc | ||
10074.misc | ||
10077.feature | ||
10078.misc | ||
10082.bugfix | ||
10084.feature | ||
10089.doc | ||
10091.misc | ||
10092.bugfix | ||
10094.misc | ||
10102.misc | ||
10111.misc | ||
10113.feature |