MatrixSynapse/synapse
Richard van der Hoff b088aafcae Log number of events fetched from DB
When we finish processing a request, log the number of events we fetched from
the database to handle it.

[I'm trying to figure out which requests are responsible for large amounts of
event cache churn. It may turn out to be more helpful to add counts to the
prometheus per-request/block metrics, but that is an extension to this code
anyway.]
2018-06-21 06:15:03 +01:00
..
api Refactor get_send_level to take a power_levels event 2018-06-14 11:26:27 +01:00
app Write a clear restart indicator in logs 2018-06-20 15:33:14 +01:00
appservice Merge pull request #3344 from Half-Shot/hs/as-metrics 2018-06-07 11:37:12 +01:00
config Write a clear restart indicator in logs 2018-06-20 15:33:14 +01:00
crypto Try to log more helpful info when a sig verification fails 2018-06-08 12:13:08 +01:00
events Consistently use six's iteritems and wrap lazy keys/values in list() if they're not meant to be lazy (#3307) 2018-05-31 19:03:47 +10:00
federation Remove run_on_reactor (#3395) 2018-06-14 18:27:37 +10:00
groups Replace some more comparisons with six 2018-05-19 17:56:31 +02:00
handlers Merge pull request #3399 from costacruise/master 2018-06-20 17:26:25 +01:00
http Log number of events fetched from DB 2018-06-21 06:15:03 +01:00
metrics spell gauge correctly 2018-06-16 07:10:34 +01:00
module_api Delete devices in various logout situations 2017-11-29 16:44:35 +00:00
push Remove run_on_reactor (#3395) 2018-06-14 18:27:37 +10:00
replication Fix replication metrics 2018-06-04 16:23:05 +01:00
rest Remove run_on_reactor (#3395) 2018-06-14 18:27:37 +10:00
server_notices Avoid sending consent notice to guest users 2018-05-25 11:36:43 +01:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Log number of events fetched from DB 2018-06-21 06:15:03 +01:00
streams replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
util Log number of events fetched from DB 2018-06-21 06:15:03 +01:00
__init__.py v0.31.2 2018-06-14 16:24:32 +01:00
event_auth.py Make default state_default 50 2018-06-14 12:38:09 +01:00
notifier.py cleanup pep8 errors 2018-05-22 16:54:22 -05:00
python_dependencies.py Add missing dependency on attr 2018-06-06 17:12:41 +01:00
server.py Stub out ServerNoticesSender on the workers 2018-05-22 11:54:51 +01:00
server.pyi Send users a server notice about consent 2018-05-22 11:54:51 +01:00
state.py fix idiotic typo in state res 2018-06-11 14:43:55 +01:00
types.py In DomainSpecificString, override __repr__ in addition to __str__ 2018-04-10 11:35:29 +02:00
visibility.py Remove preserve_context_over_{fn, deferred} 2017-11-14 11:22:42 +00:00