Move outgoing_responses_counter handling to RequestMetrics

it's much neater there.
This commit is contained in:
Richard van der Hoff 2018-05-09 23:44:22 +01:00
parent b8700dd7d0
commit 49e5a613f1
2 changed files with 2 additions and 4 deletions

View file

@ -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(