Commit graph

14718 commits

Author SHA1 Message Date
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
Erik Johnston
c96322c8d2 Don't package sytest-blacklist file.
I don't think its useful, and I don't even know where it would end up.
2019-07-22 16:07:12 +01:00
Amber Brown
0d0f6d12bc Fix logging in workers (#5729)
This also adds a worker blacklist.
2019-07-22 16:05:00 +01:00
Erik Johnston
17c27df6ea Update example systemd service file 2019-07-22 15:24:25 +01:00
Erik Johnston
80cfad233e Call startup commands as system triggers.
This helps ensures that we only consider ourselves "up" once all the
startup functions have completed.
2019-07-22 15:22:14 +01:00
Erik Johnston
720d30469f
Merge pull request #5730 from matrix-org/erikj/cache_versions
Cache get_version_string.
2019-07-22 14:52:52 +01:00
Erik Johnston
79f689e6c2 Newsfile 2019-07-22 14:52:19 +01:00
Erik Johnston
c560b791e1 Add process hooks to tell systemd our state.
Fixes #5676.
2019-07-22 14:52:18 +01:00
Jason Robinson
8e513e7afc
Merge pull request #5731 from matrix-org/jaywink/admin-user-list-user-type
Add `user_type` to returned fields in admin API user list endpoints
2019-07-22 16:28:51 +03:00
Erik Johnston
22e862304a
Update changelog.d/5730.misc
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2019-07-22 14:09:56 +01:00
Richard van der Hoff
0cb72812f9
Fix stack overflow in Keyring (#5724)
* Refactor Keyring._start_key_lookups

There's an awful lot of deferreds and dictionaries flying around here. The
whole thing can be made much simpler and achieve the same effect.

* Add a delay to key lookup lock release to fix stack overflow

A tactical call_later here should fix #5723

* changelog
2019-07-22 13:51:22 +01:00