Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

Commit

Permalink
Merge pull request #10 from taskcluster/api-all
Browse files Browse the repository at this point in the history
Adding a api.all.<status>.count and measure
  • Loading branch information
imbstack committed May 26, 2016
2 parents a1c6d20 + 4142255 commit 9d358dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ export function expressMiddleware(monitor, name) {
monitor.measure(k, d[0] * 1000 + d[1] / 1000000);
monitor.count(k);
}
monitor.measure(['all', success], d[0] * 1000 + d[1] / 1000000);
monitor.count(['all', success]);
} catch (e) {
debug('Error while compiling response times: %s, %j', err, err, err.stack);
}
Expand Down

0 comments on commit 9d358dc

Please sign in to comment.