Skip to content

Commit d739436

Browse files
committed
CA-106868: Datasource-list latency units are microseconds, not milliseconds
Signed-off-by: Akshay Ramani <[email protected]>
1 parent c25917f commit d739436

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ocaml/rrdd/rrdd_main.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,12 +418,12 @@ let update_vbds doms =
418418
~units:"B/s" ())::
419419
(VM uuid, ds_make ~name:(vbd_name^"_read_latency")
420420
~description:("Reads from device '" ^ device_name ^ "' in microseconds")
421-
~units:"ms" ~value:(Rrd.VT_Int64 rd_avg_usecs)
421+
~units:"μs" ~value:(Rrd.VT_Int64 rd_avg_usecs)
422422
~ty:Rrd.Gauge ~min:0.0 ~default:false ())::
423423
(VM uuid, ds_make ~name:(vbd_name^"_write_latency")
424424
~description:("Reads from device '" ^ device_name ^ "' in microseconds")
425425
~value:(Rrd.VT_Int64 wr_avg_usecs) ~ty:Rrd.Gauge ~min:0.0
426-
~default:false ~units:"ms" ())::
426+
~default:false ~units:"μs" ())::
427427
acc
428428
with _ -> acc
429429
in

0 commit comments

Comments
 (0)