MatrixSynapse/synapse/logging
Erik Johnston 2b7c180879
Start fewer opentracing spans (#8640)
#8567 started a span for every background process. This is good as it means all Synapse code that gets run should be in a span (unless in the sentinel logging context), but it means we generate about 15x the number of spans as we did previously.

This PR attempts to reduce that number by a) not starting one for send commands to Redis, and b) deferring starting background processes until after we're sure they're necessary.

I don't really know how much this will help.
2020-10-26 09:30:19 +00:00
..
__init__.py
_remote.py Separate the TCP and terse JSON formatting code. (#8587) 2020-10-21 06:59:54 -04:00
_structured.py
_terse_json.py Separate the TCP and terse JSON formatting code. (#8587) 2020-10-21 06:59:54 -04:00
context.py
formatter.py
opentracing.py Start fewer opentracing spans (#8640) 2020-10-26 09:30:19 +00:00
scopecontextmanager.py
utils.py