Skip to content

Commit

Permalink
Namespace gauge values into stats.gauges
Browse files Browse the repository at this point in the history
Based on feedback from Erik Kastner, this change makes it so all gauge values
will get stored in carbon using a "stats.gauges." prefix, similar to the way
timers work today.
  • Loading branch information
davidt committed Mar 1, 2012
1 parent 0ed78be commit 6ed7da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stats.js
Expand Up @@ -241,7 +241,7 @@ config.configFile(process.argv[2], function (config, oldConfig) {
}

for (key in gauges) {
statString += 'stats.' + key + ' ' + gauges[key] + ' ' + ts + "\n";
statString += 'stats.gauges.' + key + ' ' + gauges[key] + ' ' + ts + "\n";
numStats += 1;
}

Expand Down

0 comments on commit 6ed7da4

Please sign in to comment.