From 084b80291bdce92c3311133e4dcd74b4ea44f967 Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Tue, 20 Aug 2013 09:09:55 +0000 Subject: [PATCH] Doc: improve doc about Nova measurements As explained in bug #1202938, the 'cpu_util' measurement documentation may not be clear enough. In this patch, we specify that it returns the average utilisation when there are more than one VCPU (since the measurement is divided by the number of VCPUS during the 'scale' phase of the transformation). We also explicitely state that the Nova measurements return information about the guests, not the hosts. Change-Id: I69f46b5f82dc0dec2a584ea002dbee19bd55568d --- doc/source/measurements.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/source/measurements.rst b/doc/source/measurements.rst index 25f4432da..978346134 100644 --- a/doc/source/measurements.rst +++ b/doc/source/measurements.rst @@ -63,6 +63,8 @@ Here are the meter types by components that are currently implemented: Compute (Nova) ============== +All meters are related to the guest machine, not the host. + ======================== ========== ======== ======== ============ ======================================================= Name Type Unit Resource Origin Note ======================== ========== ======== ======== ============ ======================================================= @@ -70,7 +72,7 @@ instance Gauge instance inst ID both Duration instance: Gauge instance inst ID both Duration of instance (openstack types) memory Gauge MB inst ID notification Volume of RAM in MB cpu Cumulative ns inst ID pollster CPU time used -cpu_util Gauge % inst ID pollster CPU utilisation +cpu_util Gauge % inst ID pollster Average CPU utilisation vcpus Gauge vcpu inst ID notification Number of VCPUs disk.read.request Cumulative request inst ID pollster Number of read requests disk.write.request Cumulative request inst ID pollster Number of write requests