summaryrefslogtreecommitdiffstats
path: root/node.d/node_modules/netdata.js
diff options
context:
space:
mode:
Diffstat (limited to 'node.d/node_modules/netdata.js')
-rw-r--r--node.d/node_modules/netdata.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/node.d/node_modules/netdata.js b/node.d/node_modules/netdata.js
index f36a97b69..6183993b5 100644
--- a/node.d/node_modules/netdata.js
+++ b/node.d/node_modules/netdata.js
@@ -3,7 +3,6 @@
var url = require('url');
var http = require('http');
var util = require('util');
-var Int64 = require('node-int64');
/*
var netdata = require('netdata');
@@ -341,10 +340,8 @@ var netdata = {
return false;
if(this._current_chart._dimensions_count !== 0) {
- if (value instanceof Buffer) {
- var value64 = new Int64(value);
- this.queue('SET ' + dimension + ' = ' + value64.toString(10));
- }
+ if (value instanceof Buffer)
+ this.queue('SET ' + dimension + ' = 0x' + value.toString('hex'));
else
this.queue('SET ' + dimension + ' = ' + value.toString());
}