mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 04:34:27 +00:00
checkmetrics: Add checkmetrics value for memory usage in qemu
This PR adds the checkmetrics value for memory usage in qemu. Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
78086ed1fe
commit
5a61065ab7
@ -32,4 +32,3 @@ checktype = "mean"
|
|||||||
midval = 2518364.00
|
midval = 2518364.00
|
||||||
minpercent = 15.0
|
minpercent = 15.0
|
||||||
maxpercent = 15.0
|
maxpercent = 15.0
|
||||||
|
|
||||||
|
@ -19,3 +19,16 @@ checktype = "mean"
|
|||||||
midval = 0.61
|
midval = 0.61
|
||||||
minpercent = 15.0
|
minpercent = 15.0
|
||||||
maxpercent = 15.0
|
maxpercent = 15.0
|
||||||
|
|
||||||
|
[[metric]]
|
||||||
|
name = "memory-footprint"
|
||||||
|
type = "json"
|
||||||
|
description = "measure memory usage"
|
||||||
|
# Min and Max values to set a 'range' that
|
||||||
|
# the median of the CSV Results data must fall
|
||||||
|
# within (inclusive)
|
||||||
|
checkvar = ".\"memory-footprint\".Results | .[] | .average.Result"
|
||||||
|
checktype = "mean"
|
||||||
|
midval = 2435844.00
|
||||||
|
minpercent = 15.0
|
||||||
|
maxpercent = 15.0
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
# This test uses smem tool to get the memory used.
|
# This test uses smem tool to get the memory used.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -x
|
|
||||||
|
|
||||||
SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
|
SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
|
||||||
source "${SCRIPT_PATH}/../lib/common.bash"
|
source "${SCRIPT_PATH}/../lib/common.bash"
|
||||||
|
Loading…
Reference in New Issue
Block a user