Support ms resolution.

Patch from Jay Dawes <ajaxous@gmail.com>
This commit is contained in:
Alexander Zobnin
2017-03-26 19:20:18 +03:00
parent 9162210fc7
commit 682be45901
17 changed files with 100 additions and 25 deletions

View File

@@ -304,7 +304,7 @@ var ZabbixAPIDatasource = function () {
value = extractText(point.value, target.textFilter, target.useCaptureGroups);
}
return [value, point.clock * 1000];
return [value, point.clock * 1000 + Math.round(point.ns / 1000000)];
});
});
} else {