synapse-product/synapse/util
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
..
caches Port to sortedcontainers (with tests!) (#3332) 2018-06-06 00:13:57 +10:00
__init__.py Add batch_iter to utils 2018-05-19 17:48:30 +02:00
async.py Remove run_on_reactor (#3395) 2018-06-14 18:27:37 +10:00
distributor.py Remove preserve_context_over_{fn, deferred} 2017-11-14 11:22:42 +00:00
file_consumer.py Use run_in_background in preference to preserve_fn 2018-04-27 12:55:51 +01:00
frozenutils.py pep8 2018-05-29 17:35:55 +02:00
httpresourcetree.py more bytes strings 2018-04-29 00:13:57 +02:00
jsonobject.py Handle sending events and device messages over federation 2016-11-17 15:48:04 +00:00
logcontext.py Log number of events fetched from DB 2018-06-21 06:15:03 +01:00
logformatter.py Fix incorrect reference to StringIO 2018-05-02 09:12:26 +01:00
logutils.py update to more consistently use seconds in any metrics or logging 2018-05-28 19:39:27 +10:00
manhole.py Add a metrics listener and a ssh listener to the pusher 2016-04-25 17:34:25 +01:00
metrics.py fix up tests 2018-05-28 19:51:53 +10:00
module_loader.py pep8 2017-09-26 19:21:41 +01:00
msisdn.py Support registration / login with phone number 2017-03-13 17:27:51 +00:00
ratelimitutils.py Fix logcontext leaks in rate limiter 2018-05-03 12:31:59 +01:00
retryutils.py Use run_in_background in preference to preserve_fn 2018-04-27 12:55:51 +01:00
rlimit.py Move the versionstring code out of app.homeserver into util 2016-04-11 14:57:09 +01:00
stringutils.py Move more xrange to six 2018-04-28 13:57:00 +02:00
threepids.py fix PR nitpicking 2018-01-19 18:23:45 +00:00
versionstring.py Add federation /version API 2016-08-05 16:36:07 +01:00
wheel_timer.py Move more xrange to six 2018-04-28 13:57:00 +02:00