From 32f728de004d4419e99d2d348f420d31894bbdaa Mon Sep 17 00:00:00 2001 From: pourquoi Date: Thu, 19 Jun 2014 17:46:10 +0200 Subject: [PATCH] add 'derive' types --- proxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy.js b/proxy.js index 6ba569f..07ead0a 100644 --- a/proxy.js +++ b/proxy.js @@ -78,7 +78,7 @@ var server = http.createServer(function(req, res) { name = name + '.' + x.type_instance; } for(var z in x.dstypes) { - if (x.dstypes[z] == 'counter' || x.dstypes[z] == 'gauge') { + if (x.dstypes[z] == 'counter' || x.dstypes[z] == 'gauge' || x.dstypes[z] == 'derive') { var n = name + '.' + x.dsnames[z]; if (argv.verbose) { console.log('Push metric', n);