mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:56:02 -04:00
Move outgoing_responses_counter handling to RequestMetrics
it's much neater there.
This commit is contained in:
parent
b8700dd7d0
commit
49e5a613f1
2 changed files with 2 additions and 4 deletions
|
@ -119,6 +119,8 @@ class RequestMetrics(object):
|
|||
)
|
||||
return
|
||||
|
||||
outgoing_responses_counter.inc(request.method, str(request.code))
|
||||
|
||||
response_count.inc(request.method, self.name, tag)
|
||||
|
||||
response_timer.inc_by(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue