Skip to content

Commit

Permalink
using str() on endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
iambibhas committed May 11, 2020
1 parent 3fe7b25 commit 315d162
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion baseframe/statsd.py
Expand Up @@ -124,7 +124,11 @@ def _request_finished(self, app, response):
if hasattr(request, START_TIME_ATTR):
metrics = [
'.'.join(
['request_handlers', request.endpoint, str(response.status_code)]
[
'request_handlers',
str(request.endpoint),
str(response.status_code),
]
),
'.'.join(['request_handlers', '_overall', str(response.status_code)]),
]
Expand Down

0 comments on commit 315d162

Please sign in to comment.