Add reporting for how long narrowing takes in the wild.

I'd also like to add a database table to actually store the values
that we get out of this and our send message requests for future
inspection, but for now, grepping logs+statsd is good enough.

(imported from commit 99ef179651850217fe6e82c5e928d122ca91101e)
This commit is contained in:
Tim Abbott
2013-12-05 18:03:08 -05:00
parent b815203b0b
commit 458c066925
3 changed files with 46 additions and 2 deletions

View File

@@ -126,6 +126,7 @@ urlpatterns += patterns('zerver.views',
url(r'^json/get_profile$', 'json_get_profile'),
url(r'^json/report_error$', 'json_report_error'),
url(r'^json/report_send_time$', 'json_report_send_time'),
url(r'^json/report_narrow_time$', 'json_report_narrow_time'),
url(r'^json/update_message_flags$', 'json_update_flags'),
url(r'^json/register$', 'json_events_register'),
url(r'^json/upload_file$', 'json_upload_file'),