diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-03-09 16:19:18 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-03-09 16:30:26 +0000 |
commit | 88541f9009a7ca39c85cac7483d6a240ef497d33 (patch) | |
tree | 20022955f62583d29277dbcd582dda93f8c1bae8 /synapse/metrics | |
parent | refactor JsonResource (diff) | |
download | synapse-88541f9009a7ca39c85cac7483d6a240ef497d33.tar.xz |
Add a metric which increments when a request is received
It's useful to know when there are peaks in incoming requests - which isn't quite the same as there being peaks in outgoing responses, due to the time taken to handle requests.
Diffstat (limited to 'synapse/metrics')
-rw-r--r-- | synapse/metrics/__init__.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/synapse/metrics/__init__.py b/synapse/metrics/__init__.py |