Commit Graph

185 Commits (2959184a42398277ff916206235b844a8f7be5d7)

Author SHA1 Message Date
David Robertson 3503f42741
Easy type hints in synapse.logging.opentracing (#12894) 3 years ago
Shay cde8af9a49
Add config flags to allow for cache auto-tuning (#12701) 3 years ago
David Robertson 2607b3e181
Update mypy to 0.950 and fix complaints (#12650) 3 years ago
Richard van der Hoff ae01a7edd3
Update type annotations for compatiblity with prometheus_client 0.14 (#12389) 3 years ago
David Robertson 4ae956c8bb
Use version string helper from matrix-common (#11979) 3 years ago
reivilibre 41818cda1f
Fix type errors introduced by new annotations in the Prometheus Client library. (#11832) 3 years ago
Patrick Cloke c072c0b829
Fix mypy for platforms without epoll support. (#11771) 3 years ago
Richard van der Hoff 6a78ede569
Improve `reactor_tick_time` metric (#11724) 3 years ago
Richard van der Hoff 20c6d85c6e
Simplify GC prometheus metrics (#11723) 3 years ago
Patrick Cloke 10a88ba91c
Use auto_attribs/native type hints for attrs classes. (#11692) 3 years ago
Sean Quah 84fac0f814
Add type annotations to `synapse.metrics` (#10847) 3 years ago
Erik Johnston 82d2168a15
Add metrics to the threadpools (#11178) 3 years ago
David Robertson 1bfd141205
Type hints for the remaining two files in `synapse.http`. (#11164) 3 years ago
David Robertson 797ee7812d
Relax `ignore-missing-imports` for modules that have stubs now and update mypy (#11006) 3 years ago
Jonathan de Jong 95e47b2e78
[pyupgrade] `synapse/` (#10348) 3 years ago
Jonathan de Jong bf72d10dbf
Use inline type hints in various other places (in `synapse/`) (#10380) 3 years ago
Richard van der Hoff b2557cbf42
opentracing: use a consistent name for background processes (#10135) 4 years ago
Richard van der Hoff ed53bf314f
Set opentracing priority before setting other tags (#10092) 4 years ago
Erik Johnston 8771b1337d
Export jemalloc stats to prometheus when used (#9882) 4 years ago
Erik Johnston 1fb9a2d0bf
Limit how often GC happens by time. (#9902) 4 years ago
Richard van der Hoff 5d281c10dd
Stop BackgroundProcessLoggingContext making new prometheus timeseries (#9854) 4 years ago
Patrick Cloke b076bc276e
Always use the name as the log ID. (#9829) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke 48d44ab142
Record more information into structured logs. (#9654) 4 years ago
Andrew Morgan 0d87c6bd12
Don't report anything from GaugeBucketCollector metrics until data is present (#8926) 4 years ago
Patrick Cloke 33a02f0f52
Fix additional type hints from Twisted upgrade. (#9518) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Patrick Cloke 1619802228
Various clean-ups to the logging context code (#8935) 4 years ago
David Teller f14428b25c
Allow spam-checker modules to be provide async methods. (#8890) 4 years ago
Erik Johnston 427ede619f
Add metrics for tracking 3PID /requestToken requests. (#8712) 4 years ago
Erik Johnston 2b7c180879
Start fewer opentracing spans (#8640) 4 years ago
Patrick Cloke 34a5696f93
Fix typos and spelling errors. (#8639) 4 years ago
Erik Johnston 1fcdbeb3ab
Start an opentracing span for background processes. (#8567) 4 years ago
Richard van der Hoff 6d2d42f8fb Rewrite BucketCollector 4 years ago
Richard van der Hoff 1c8ca2c543 Fix _exposition.py to stop stripping samples 4 years ago
Richard van der Hoff ceafb5a1c6
Drop support for ancient prometheus_client (#8426) 4 years ago
Patrick Cloke aec294ee0d
Use slots in attrs classes where possible (#8296) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Patrick Cloke d89692ea84
Convert runWithConnection to async. (#8121) 4 years ago
Patrick Cloke c36228c403
Convert run_as_background_process inner function to async. (#8032) 4 years ago
Richard van der Hoff 8ca39bd2c3
Improve stacktraces from exceptions in background processes (#7808) 4 years ago
Erik Johnston a99658074d
Add some metrics for inbound and outbound federation processing times (#7755) 4 years ago
Christian Svensson 8bbe87f42d
Set Content-Length for Metrics requests (#7730) 4 years ago
Patrick Cloke bd6dc17221
Replace iteritems/itervalues/iterkeys with native versions. (#7692) 5 years ago
Erik Johnston f5353eff21
Make inflight background metrics more efficient. (#7597) 5 years ago
Ivan Shapovalov ac481a738e
synapse.metrics: implement detailed memory usage reporting on PyPy (#7536) 5 years ago
Amber Brown 7cb8b4bc67
Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 5 years ago
Richard van der Hoff 8c75667ad7
Add prometheus metrics for the number of active pushers (#7103) 5 years ago
Patrick Cloke 509e381afa
Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 5 years ago
Amber Brown 864f144543
Fix up some typechecking (#6150) 5 years ago