Refactor logcontext resource usage tracking (#3501)
Factor out the resource usage tracking out to a separate object, which can be passed around and copied independently of the logcontext itself.
Showing
- changelog.d/3501.misc 0 additions, 0 deletionschangelog.d/3501.misc
- synapse/http/request_metrics.py 17 additions, 66 deletionssynapse/http/request_metrics.py
- synapse/http/site.py 9 additions, 15 deletionssynapse/http/site.py
- synapse/util/logcontext.py 111 additions, 33 deletionssynapse/util/logcontext.py
- synapse/util/metrics.py 9 additions, 16 deletionssynapse/util/metrics.py
Loading
Please register or sign in to comment