summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-07-18 10:50:33 +0100
committerRichard van der Hoff <richard@matrix.org>2018-07-18 10:50:33 +0100
commit6e3fc657b4c8db10e872ba1c7264e82b7fed5ed0 (patch)
treea0c8eb06b743827814f80ef9cb10c45a83c81786 /tests/handlers
parentMerge pull request #3546 from matrix-org/rav/fix_erasure_over_federation (diff)
downloadsynapse-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 'tests/handlers')
0 files changed, 0 insertions, 0 deletions