Skip to content
Snippets Groups Projects
Commit a35ea1b8 authored by Tibo's avatar Tibo
Browse files

Fix time value of netstat stats

parent 8665ee97
No related branches found
No related tags found
No related merge requests found
Pipeline #3151 passed
......@@ -43,7 +43,8 @@ class Netstat extends AbstractSensor
if ($sent_segments != 0) {
$ratio = $retransmitted_segments / $sent_segments * 100;
}
$dataset["points"][] = new Point($report->time, $ratio);
// point time is in miliseconds :-(
$dataset["points"][] = new Point($report->time * 1000, $ratio);
$previous_report = $report;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment