Commit Graph

144 Commits (98fd558382226b347d78e5f6e6782c6e74c25e69)

Author SHA1 Message Date
dependabot[bot] 9bb2eac719
Bump black from 22.12.0 to 23.1.0 (#15103) 2 years ago
David Robertson ffc2ee521d
Use mypy 1.0 (#15052) 2 years ago
David Robertson a5a799722d
Tag federation request spans with the worker name (#15042) 2 years ago
David Robertson 3b8574b4f2
Tag /send_join responses to detect faster joins (#14950) 2 years ago
Richard van der Hoff cb59e08062
Improve logging and opentracing for to-device message handling (#14598) 2 years ago
Patrick Cloke d8cc86eff4
Remove redundant types from comments. (#14412) 2 years ago
David Robertson 285d72556b
Update mypy and mypy-zope, attempt 3 (#13993) 2 years ago
David Robertson 8e52cb0bce
Revert "Update mypy and mypy-zope (#13925)" 2 years ago
David Robertson 6d543d6d9f
Update mypy and mypy-zope (#13925) 2 years ago
Eric Eastwood a911ffb42c
Tag trace with instance name (#13761) 2 years ago
Eric Eastwood f694bb71b7
Strip number suffix from instance name to consolidate services that traces are spread over (#13729) 2 years ago
Eric Eastwood 0a4efbc1dd
Instrument the federation/backfill part of `/messages` (#13489) 2 years ago
David Robertson 19e5d44886
Revert "Update locked versions of mypy and mypy-zope (#13521)" 2 years ago
David Robertson f383b9b3ec
Update locked versions of mypy and mypy-zope (#13521) 2 years ago
Eric Eastwood 1b09b0832e
Allow use of both `@trace` and `@tag_args` stacked on the same function (#13453) 2 years ago
Eric Eastwood 860fdd9098
Fix `@tag_args` being off-by-one (ahead) (#13452) 2 years ago
Patrick Cloke 908aeac44a
Additional fixes for opentracing type hints. (#13362) 2 years ago
Patrick Cloke 50122754c8
Add missing types to opentracing. (#13345) 2 years ago
Patrick Cloke a6895dd576
Add type annotations to `trace` decorator. (#13328) 2 years ago
Patrick Cloke 6ad012ef89
More type hints for `synapse.logging` (#13103) 2 years ago
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