Commit Graph

124 Commits (fe1daad67237c2154a3d8d8cdf6c603f0d33682e)

Author SHA1 Message Date
David Robertson 3503f42741
Easy type hints in synapse.logging.opentracing (#12894) 3 years ago
David Robertson aec69d2481
Another batch of type annotations (#12726) 3 years ago
Patrick Cloke 7fbf42499d
Use `getClientAddress` instead of `getClientIP`. (#12599) 3 years ago
Sean Quah 78b99de7c2
Prefer `make_awaitable` over `defer.succeed` in tests (#12505) 3 years ago
Erik Johnston d1cd96ce29
Add opentracing spans to calls to external cache (#12380) 3 years ago
Sean Quah 5627182788
Use `ParamSpec` in type hints for `synapse.logging.context` (#12150) 3 years ago
Patrick Cloke e69f8f0a8e
Remove support for the legacy structured logging configuration. (#12008) 3 years ago
Richard van der Hoff 964f5b9324
Improve opentracing for federation requests (#11870) 3 years ago
Richard van der Hoff 31b554c297
Fixes for opentracing scopes (#11869) 3 years ago
Andrew Morgan 7ad7a47e5a
Add missing `auto_attribs=True` to the `_WrappedRustReporter` class (#11768) 3 years ago
Richard van der Hoff 251b5567ec
Remove `log_function` and its uses (#11761) 3 years ago
Patrick Cloke 10a88ba91c
Use auto_attribs/native type hints for attrs classes. (#11692) 3 years ago
Shay fcfe67578f
Update to the current version of Black and run it on Synapse codebase (#11596) 3 years ago
Patrick Cloke 66d7aa783a
Fix mypy error with opentracing.tags. (#11622) 3 years ago
Richard van der Hoff 60fa4935b5
Improve opentracing for incoming HTTP requests (#11618) 3 years ago
Shay 8ad39438fa
Add opentracing types (#11603) 3 years ago
Sean Quah 0147b3de20
Add missing type hints to `synapse.logging.context` (#11556) 3 years ago
Patrick Cloke 5cace20bf1
Add missing type hints to `synapse.app`. (#11287) 3 years ago
David Robertson 1bfd141205
Type hints for the remaining two files in `synapse.http`. (#11164) 3 years ago
reivilibre 75ca0a6168
Annotate `log_function` decorator (#10943) 3 years ago
David Robertson b83e822556
Stop user directory from failing if it encounters users not in the `users` table. (#11053) 3 years ago
Sean Quah 6b18eb4430
Fix opentracing and Prometheus metrics for replication requests (#10996) 3 years ago
David Robertson 797ee7812d
Relax `ignore-missing-imports` for modules that have stubs now and update mypy (#11006) 3 years ago
Nick Barrett bb228f3523
Include exception in json logging (#11028) 3 years ago
Sean Quah 660c8c1415
Log stack traces when a missing opentracing span is detected (#10983) 3 years ago
Patrick Cloke bb7fdd821b
Use direct references for configuration variables (part 5). (#10897) 3 years ago
Patrick Cloke 01c88a09cd
Use direct references for some configuration variables (#10798) 3 years ago
Patrick Cloke 003846d68a
Use the BaseReporter super-class for _WrappedRustReporter. (#10799) 3 years ago
reivilibre 903db99ed5
Fix PeriodicallyFlushingMemoryHandler inhibiting application shutdown (#10517) 3 years ago
reivilibre e16eab29d6
Add a PeriodicallyFlushingMemoryHandler to prevent logging silence (#10407) 3 years ago
Richard van der Hoff d8324b8238
Fix a handful of type annotations. (#10446) 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 91fa9cca99
Expose opentracing trace id in response headers (#10199) 3 years ago
Patrick Cloke 18edc9ab06
Improve comments in the structured logging code. (#10188) 3 years ago
Richard van der Hoff 9e405034e5
Make opentracing trace into event persistence (#10134) 3 years ago
Richard van der Hoff 1bf83a191b
Clean up the interface for injecting opentracing over HTTP (#10143) 4 years ago
Richard van der Hoff b2557cbf42
opentracing: use a consistent name for background processes (#10135) 4 years ago
Richard van der Hoff d8be7d493d
Enable Prometheus metrics for the jaeger client library (#10112) 4 years ago
Richard van der Hoff 9eea4646be
Add OpenTracing for database activity. (#10113) 4 years ago
Brad Murray 10e6d2abce
Fix opentracing inject to use the SpanContext, not the Span (#10074) 4 years ago
Richard van der Hoff ed53bf314f
Set opentracing priority before setting other tags (#10092) 4 years ago
Richard van der Hoff b378d98c8f
Add debug logging for issue #9533 (#9959) 4 years ago
Richard van der Hoff d9bd62f9d1
Make LoggingContext's name optional (#9857) 4 years ago
Patrick Cloke b076bc276e
Always use the name as the log ID. (#9829) 4 years ago
Jonathan de Jong 495b214f4f
Fix (final) Bugbear violations (#9838) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Jonathan de Jong 2ca4e349e9
Bugbear: Add Mutable Parameter fixes (#9682) 4 years ago
Patrick Cloke 48d44ab142
Record more information into structured logs. (#9654) 4 years ago
Erik Johnston 33548f37aa
Improve tracing for to device messages (#9686) 4 years ago