Commit Graph

18 Commits (5dd73d029eff32668b3ca69b7fb8529fc7c58745)

Author SHA1 Message Date
Richard van der Hoff 15997618e2
Clean up PreserveLoggingContext (#7877) 4 years ago
Patrick Cloke d7c2df2fa3
Improve per-block CPU and DB usage metrics (#7426) 5 years ago
Patrick Cloke fe69fb6263
Add backwards compatibility codepath to LoggingContext. (#7408) 5 years ago
Richard van der Hoff 0f05fd1530
Reduce the number of calls to `resource.getrusage` (#7183) 5 years ago
Richard van der Hoff 60adcbed91
Fix "'NoneType' has no attribute start|stop" logcontext errors (#7181) 5 years ago
Richard van der Hoff 39230d2171
Clean up some LoggingContext stuff (#7120) 5 years ago
Brendan Abolivier dc6fb56c5f
Hopefully mypy is happy now 5 years ago
Brendan Abolivier fe593ef990
Attempt at appeasing the gods of mypy 5 years ago
Neil Pilgrim 2bff4457d9
Add type hints to logging/context.py (#6309) 5 years ago
Richard van der Hoff da4e52544e comment for run_in_background 5 years ago
Erik Johnston 495005360c Bump version of mypy 5 years ago
Erik Johnston ffeafade48 Update comment 5 years ago
Erik Johnston 9a2223d4c8 Fix make_deferred_yieldable to work with coroutines 5 years ago
Andrew Morgan 54fef094b3
Remove usage of deprecated logger.warn method from codebase (#6271) 5 years ago
J. Ryan Stinnett a86a290850 Fix logcontext spam on non-Linux platforms (#6059) 5 years ago
Amber Brown 7dc398586c
Implement a structured logging output system. (#5680) 5 years ago
Jorik Schellekens 38a6d3eea7
Add basic opentracing support (#5544) 5 years ago
Amber Brown 463b072b12
Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 5 years ago
Richard van der Hoff cb8d568cf9 Fix 'utime went backwards' errors on daemonization. (#5609) 5 years ago
Amber Brown 0ee9076ffe Fix media repo breaking (#5593) 5 years ago
Richard van der Hoff dc94773e60 Avoid raising exceptions in metrics 6 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Richard van der Hoff fe641df770 Sanity-checking for metrics updates 6 years ago
Richard van der Hoff 3dcf2feba8
Improve logging for logcontext leaks. (#5288) 6 years ago
Robert Jacob 2a7f0b8953 Implement workaround for login error. 6 years ago
Richard van der Hoff 5c445114d3
Correctly account for cpu usage by background threads (#4074) 6 years ago
Richard van der Hoff 4a15a3e4d5
Include eventid in log lines when processing incoming federation transactions (#3959) 6 years ago
Richard van der Hoff be6527325a Fix exceptions when a connection is closed before we read the headers 6 years ago
Richard van der Hoff 55e6bdf287 Robustness fix for logcontext filter 6 years ago
Amber Brown b37c472419
Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) 6 years ago
Amber Brown 95ccb6e2ec
Don't spew errors because we can't save metrics (#3563) 6 years ago
Richard van der Hoff c3c29aa196
Attempt to include db threads in cpu usage stats (#3496) 6 years ago
Richard van der Hoff 55370331da
Refactor logcontext resource usage tracking (#3501) 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Richard van der Hoff 0495fe0035 Indirect evt_count updates via method call 7 years ago
Richard van der Hoff b088aafcae Log number of events fetched from DB 7 years ago
Amber Brown 3ef5cd74a6 update to more consistently use seconds in any metrics or logging 7 years ago
Erik Johnston 7948ecf234 Comment 7 years ago
Erik Johnston 020377a550 Fix logcontext resource usage tracking 7 years ago
Richard van der Hoff f22e7cda2c Fix a class of logcontext leaks 7 years ago
Richard van der Hoff 2a13af23bc Use run_in_background in preference to preserve_fn 7 years ago
Richard van der Hoff 13843f771e Trap exceptions thrown within run_in_background 7 years ago
Richard van der Hoff 9255a6cb17 Improve exception handling for background processes 7 years ago
Adrian Tschira f63ff73c7f add __bool__ alias to __nonzero__ methods 7 years ago
Richard van der Hoff 5a6e54264d Make 'unexpected logging context' into warnings 7 years ago
Richard van der Hoff 20f40348d4 Factor run_in_background out from preserve_fn 7 years ago
Richard van der Hoff 3a75de923b Rewrite make_deferred_yieldable avoiding inlineCallbacks 7 years ago
Richard van der Hoff 3d12d97415 Track DB scheduling delay per-request 7 years ago
Richard van der Hoff 6324b65f08 Track db txn time in millisecs 7 years ago
Richard van der Hoff 44a498418c Optimise LoggingContext creation and copying 7 years ago