Skip to content

Commit a860b90

Browse files
committed
Add max to "runnable_any" metric
Follow the fix here: #6493 Signed-off-by: Gang Ji <gang.ji@cloud.com>
1 parent 4f4f3f0 commit a860b90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xcp-rrdd/bin/rrdp-cpu/rrdp_cpu.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ let dss_vcpus xc doms =
122122
~description:
123123
"Fraction of time that at least one vCPU is runnable in the \
124124
domain"
125-
~ty:Rrd.Derive ~default:false ~min:0.0 ()
125+
~ty:Rrd.Derive ~default:false ~min:0.0 ~max:1.0 ()
126126
)
127127
:: ( Rrd.VM uuid
128128
, Ds.ds_make

0 commit comments

Comments
 (0)