MatrixSynapse/synapse
Richard van der Hoff 6a78ede569
Improve `reactor_tick_time` metric (#11724)
The existing implementation of the `python_twisted_reactor_tick_time` metric is pretty useless, because it *only* 
measures the time taken to execute timed calls and callbacks from threads. That neglects everything that 
happens off the back of I/O, which is obviously quite a lot for us.

To improve this, I've hooked into a different place in the reactor - in particular, where it calls `epoll`. That call is 
the only place it should wait for something to happen - the rest of the loop *should* be quick.

I've also removed `python_twisted_reactor_pending_calls`, because I don't believe anyone ever looks at it, and
it's a nuisance to populate.
2022-01-17 12:14:40 +00:00
..
_scripts Add type hints to synapse._scripts (#11297) 2021-11-10 17:55:32 +00:00
api Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
app Simplify GC prometheus metrics (#11723) 2022-01-13 14:35:52 +00:00
appservice Add missing type hints to `synapse.appservice` (#11360) 2021-12-14 17:02:46 +00:00
config Fix sample_config.yaml in regards track_puppeted_user_ips (#11749) 2022-01-14 14:11:55 +00:00
crypto Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
events Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
federation Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
groups Add type annotations to `synapse.metrics` (#10847) 2021-11-17 19:07:02 +00:00
handlers Remove the 'password_hash' from the Users Admin API endpoint response dictionary (#11576) 2022-01-14 14:53:33 +00:00
http Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
logging Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
metrics Improve `reactor_tick_time` metric (#11724) 2022-01-17 12:14:40 +00:00
module_api Fix `ModuleApi.looping_background_call` for non-async functions (#11524) 2021-12-07 11:41:31 +00:00
push Fix missing app variable in mail subject (#11745) 2022-01-13 20:19:10 +00:00
replication Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
res Allow configuration of the oEmbed URLs. (#10714) 2021-08-31 18:37:07 -04:00
rest Remove the 'password_hash' from the Users Admin API endpoint response dictionary (#11576) 2022-01-14 14:53:33 +00:00
server_notices disallow-untyped-defs for synapse.server_notices (#11021) 2021-10-07 19:55:15 +01:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
static Display an error page during failure of fallback UIA. (#10561) 2021-08-18 08:13:35 -04:00
storage Make pagination of rooms in admin api stable (#11737) 2022-01-17 11:42:51 +00:00
streams Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
util Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
__init__.py 1.50.0rc2 2022-01-14 11:34:57 +00:00
event_auth.py Check *all* auth events for room id and rejection (#11009) 2021-10-18 18:28:30 +01:00
notifier.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
python_dependencies.py Re-apply: Move glob_to_regex and re_word_boundary to matrix-python-common #11505 (#11687) 2022-01-05 11:41:49 +00:00
server.py Bundle aggregations outside of the serialization method. (#11612) 2022-01-07 09:10:46 -05:00
types.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
visibility.py [pyupgrade] `synapse/` (#10348) 2021-07-19 15:28:05 +01:00