diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-07-18 10:50:33 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-07-18 10:50:33 +0100 |
commit | 6e3fc657b4c8db10e872ba1c7264e82b7fed5ed0 (patch) | |
tree | a0c8eb06b743827814f80ef9cb10c45a83c81786 /synapse/push/baserules.py | |
parent | Merge pull request #3546 from matrix-org/rav/fix_erasure_over_federation (diff) | |
download | synapse-6e3fc657b4c8db10e872ba1c7264e82b7fed5ed0.tar.xz |
Resource tracking for background processes
This introduces a mechanism for tracking resource usage by background processes, along with an example of how it will be used. This will help address #3518, but more importantly will give us better insights into things which are happening but not being shown up by the request metrics. We *could* do this with Measure blocks, but: - I think having them pulled out as a completely separate metric class will make it easier to distinguish top-level processes from those which are nested. - I want to be able to report on in-flight background processes, and I don't think we want to do this for *all* Measure blocks.
Diffstat (limited to 'synapse/push/baserules.py')
0 files changed, 0 insertions, 0 deletions