Skip to content

Commit 5bd942e

Browse files
committed
InfluxDB v0.9.0 does like timestamps in ms format. Removed them since they are optional and how statsd works.
1 parent 926fdb7 commit 5bd942e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/influxdb.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,6 @@ InfluxdbBackend.prototype.assembleEvent_v09 = function (name, events) {
396396

397397
var payload = {
398398
measurement: name,
399-
time: events[0]['time'],
400399
fields: { value: events[0]['value'] }
401400
}
402401

@@ -503,7 +502,6 @@ InfluxdbBackend.prototype.httpPOST_v09 = function (points) {
503502

504503
var payload = JSON.stringify({
505504
database: self.database,
506-
time_precision: 'ms',
507505
points: points
508506
});
509507

0 commit comments

Comments
 (0)