Skip to content

Commit

Permalink
Report memory available as Kib
Browse files Browse the repository at this point in the history
This fixes xapi-project#6157

Signed-off-by: Guillaume <[email protected]>
  • Loading branch information
gthvn1 committed Jan 2, 2025
1 parent 9eeb1f3 commit e3f11da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/xcp-rrdd/bin/rrdd/xcp_rrdd.ml
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ let dss_mem_vms doms =
| Ok mem ->
Some
( Rrd.VM uuid
, Ds.ds_make ~name:"memory_internal_free" ~units:"B"
, Ds.ds_make ~name:"memory_internal_free" ~units:"KiB"
~description:"Dom0 current free memory"
~value:(Rrd.VT_Int64 mem) ~ty:Rrd.Gauge ~min:0.0
~default:true ()
Expand Down

0 comments on commit e3f11da

Please sign in to comment.