Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Namespace gauge values into stats.gauges

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...
commit 6ed7da4e72ef613497b1562db205463f006041af 1 parent 0ed78be
@davidt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  stats.js
View
2  stats.js
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.