Skip to content

Commit

Permalink
adding stats_counts - no averaging, just numbers -- indec
Browse files Browse the repository at this point in the history
  • Loading branch information
kastner committed Apr 11, 2011
1 parent 845b294 commit 3bf3786
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stats.js
Expand Up @@ -70,6 +70,7 @@ config.configFile(process.argv[2], function (config, oldConfig) {
for (key in counters) {
var value = counters[key] / (flushInterval / 1000);
var message = 'stats.' + key + ' ' + value + ' ' + ts + "\n";
message += 'stats_counts.' + key + ' ' + counters[key] + ' ' + ts + "\n";
statString += message;
counters[key] = 0;

Expand Down

0 comments on commit 3bf3786

Please sign in to comment.