synapse-old/synapse/metrics
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 Rewrite BucketCollector 2020-09-30 16:49:15 +01:00
_exposition.py Fix _exposition.py to stop stripping samples 2020-09-30 16:45:43 +01:00
background_process_metrics.py Start fewer opentracing spans (#8640) 2020-10-26 09:30:19 +00:00