mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-01 02:05:03 -05:00
File controller service-time stats under the "web" key.
This commit is contained in:
@@ -655,8 +655,8 @@ class MinimalController(BaseController):
|
||||
g.reset_caches()
|
||||
|
||||
# push data to statsd
|
||||
g.stats.transact(action, (end_time - c.start_time).total_seconds())
|
||||
|
||||
g.stats.transact('web.%s' % action,
|
||||
(end_time - c.start_time).total_seconds())
|
||||
|
||||
def abort404(self):
|
||||
abort(404, "not found")
|
||||
|
||||
Reference in New Issue
Block a user