Permalink
Browse files

Remove some more metrics cruft

  • Loading branch information...
1 parent 5232a7b commit 16d7b1115a16113b9e866d65da940c284b143f6d mde committed Mar 31, 2013
Showing with 0 additions and 10 deletions.
  1. +0 −10 lib/app.js
View
@@ -252,7 +252,6 @@ var App = function () {
var self = this
, ctors = this.controllerRegistry
, router = this.router
- , allRequestTimer = geddy.config.metrics && geddy.metrics.Timer('Geddy.all-requests')
, controllerActionTimers = {};
// Handle the requests
@@ -395,15 +394,6 @@ var App = function () {
}
geddy.inFlight.removeEntry(id);
-
- if (geddy.config.metrics) {
- allRequestTimer.update(endTime - accessTime);
- controllerActionTimers[controllerName] = controllerActionTimers[controller] || {};
- controllerActionTimers[controllerName][actionName] =
- controllerActionTimers[controllerName][actionName] ||
- geddy.metrics.Timer("Geddy."+controllerName + '.' + actionName);
- controllerActionTimers[controllerName][actionName].update(endTime - accessTime);
- }
});
params = router.first(reqUrl, method);

0 comments on commit 16d7b11

Please sign in to comment.