Commit graph

14728 commits

Author SHA1 Message Date
Jorik Schellekens
50964d2341 String concatenation without the '+' 2019-08-05 13:56:04 +01:00
Jorik Schellekens
e7f42857bb Refactor return value so we don't create identical lists each time. 2019-08-05 13:48:09 +01:00
Jorik Schellekens
d859c34fb9 Nicer use of dict update methods. 2019-08-05 12:16:10 +01:00
Jorik Schellekens
46e41ee08d Comment for 'context' column in device_lists_outbound_pokes' 2019-08-05 11:48:10 +01:00
Jorik Schellekens
35eb018c02
Double negatives do not make code that isn't unclear..
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2019-08-05 11:39:58 +01:00
Jorik Schellekens
8b53f8e9bd
Typo
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2019-08-05 11:36:50 +01:00
Jorik Schellekens
08aaad0756
Nicer changelog
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2019-08-05 11:30:18 +01:00
Jorik Schellekens
1801578795 Use unified trace method 2019-07-23 16:06:33 +01:00
Jorik Schellekens
beea2e31b9 I wish python had a good type system. 2019-07-23 16:06:33 +01:00
Jorik Schellekens
d395650bcf Use better decorator names. 2019-07-23 16:06:33 +01:00
Jorik Schellekens
cffba280de Trailing .d 2019-07-23 16:06:33 +01:00
Jorik Schellekens
d26cbb4e23 Unbreak json parsing. 2019-07-23 16:06:33 +01:00
Jorik Schellekens
6944c994a5 Make sure there is an active span here. 2019-07-23 16:06:33 +01:00
Jorik Schellekens
30738e978e newsfile 2019-07-23 16:06:33 +01:00
Jorik Schellekens
4824e30810 Add user _id 2019-07-23 16:06:33 +01:00
Jorik Schellekens
e49487fc91 Better args wrapper 2019-07-23 16:05:58 +01:00
Jorik Schellekens
ab191f99f9 A little extra device_list tracing 2019-07-23 16:05:58 +01:00
Jorik Schellekens
a293759d8c Though style is subjective it depends on a ruthless objectivity: you either have it, or you don't· 2019-07-23 16:05:58 +01:00
Jorik Schellekens
d44f303fe0 Isort of ran out of puns for this one. 2019-07-23 16:05:58 +01:00
Jorik Schellekens
2fd49cedbb Nicer tracing 2019-07-23 16:05:58 +01:00
Jorik Schellekens
d4bdc2ba80 Trace key claiming 2019-07-23 16:05:58 +01:00
Jorik Schellekens
794c9e2a75 Cleanup key upload tracing 2019-07-23 16:05:58 +01:00
Jorik Schellekens
01229a4af9 Clean up room key tracing 2019-07-23 16:05:21 +01:00
Jorik Schellekens
1ed790d67a Some tracing 2019-07-23 16:05:21 +01:00
Jorik Schellekens
957cd77e95 Opentracing across streams 2019-07-23 16:05:21 +01:00
Jorik Schellekens
bfc50050fd The great logging/ migration 2019-07-23 16:05:20 +01:00
Jorik Schellekens
7ae7e796ff These functions were not deferreds! 2019-07-23 16:04:02 +01:00
Jorik Schellekens
d9f0c7ff47 How did that half of the statement get deleted? 2019-07-23 16:04:02 +01:00
Jorik Schellekens
28113ad335 typo 2019-07-23 16:04:02 +01:00
Jorik Schellekens
d94897e818 Include servletname in incoming-request trace 2019-07-23 16:04:02 +01:00
Jorik Schellekens
21940cadf0 Update to new access pattern 2019-07-23 16:04:02 +01:00
Jorik Schellekens
c988c02c7c Trace device messages. 2019-07-23 16:01:06 +01:00
Jorik Schellekens
fd669e5e44 Trace devices 2019-07-23 16:00:46 +01:00
Jorik Schellekens
d876cda725 Trace more e2e stuff and less e2e stuff 2019-07-23 15:59:23 +01:00
Jorik Schellekens
1e7099d04c Fix e2e bugs 2019-07-23 15:59:23 +01:00
Jorik Schellekens
565544b603 Trace e2e 2019-07-23 15:59:23 +01:00
Jorik Schellekens
823c34a940 One tracing decorator to rule them all. 2019-07-23 15:56:29 +01:00
Jorik Schellekens
3641784e8c
Make Jaeger fully configurable (#5694)
* Allow Jaeger to be configured

* Update sample config
2019-07-23 15:46:04 +01:00
Amber Brown
4806651744
Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
Jorik Schellekens
18a466b84e
Opentracing Utils (#5722)
* Add decerators for tracing functions

* Use the new clean contexts

* Context and edu utils

* Move opentracing setters

* Move whitelisting

* Sectioning comments

* Better args wrapper

* Docstrings

Co-Authored-By: Erik Johnston <erik@matrix.org>

* Remove unused methods.

* Don't use global

* One tracing decorator to rule them all.
2019-07-23 13:31:16 +01:00
Erik Johnston
841b12867e
Merge pull request #5732 from matrix-org/erikj/sdnotify
Add process hooks to tell systemd our state.
2019-07-23 13:06:53 +01:00
Erik Johnston
73bf452666
Merge pull request #5740 from matrix-org/erikj/worker_flakey_tests
Mark flakey tests as blacklisted for worker mode
2019-07-23 11:32:32 +01:00
Erik Johnston
22d2338ace Newsfile 2019-07-23 10:27:53 +01:00
Erik Johnston
1883223a01 Mark flakey tests as blacklisted for worker mode 2019-07-23 10:26:52 +01:00
Erik Johnston
4f6984aa88
Merge pull request #5738 from matrix-org/erikj/faster_update
Speed up current state background update.
2019-07-23 10:23:12 +01:00
Erik Johnston
cda4460d99 Also update systemd-with-workers contrib examples 2019-07-23 10:14:01 +01:00
Erik Johnston
39e594b765
Merge pull request #5733 from matrix-org/erikj/exlude_sytest_blacklist
Don't package sytest-blacklist file.
2019-07-23 10:11:34 +01:00
Erik Johnston
cf0006719d Newsfile 2019-07-23 10:01:30 +01:00
Erik Johnston
b2a629ef49 Speed up current state background update.
Turns out that storing huge JSON arrays in the progress JSON isn't
something that postgres particularly likes.
2019-07-23 10:01:30 +01:00
Erik Johnston
d9ea9881d2 Newsfile 2019-07-22 16:09:15 +01:00