mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 04:34:27 +00:00
metrics: Add iperf value for cpu utilization
This PR adds the iperf value for cpu utilization for kata metrics. Fixes #7936 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
b54dd8cdf4
commit
df5cd10ea0
@ -98,6 +98,19 @@ midval = 98.0
|
|||||||
minpercent = 20.0
|
minpercent = 20.0
|
||||||
maxpercent = 20.0
|
maxpercent = 20.0
|
||||||
|
|
||||||
|
[[metric]]
|
||||||
|
name = "network-iperf3"
|
||||||
|
type = "json"
|
||||||
|
description = "measure container cpu utilization using iperf3"
|
||||||
|
# Min and Max values to set a 'range' that
|
||||||
|
# the median of the CSV Results data must fall
|
||||||
|
# within (inclusive)
|
||||||
|
checkvar = ".\"network-iperf3\".Results | .[] | .cpu.Result"
|
||||||
|
checktype = "mean"
|
||||||
|
midval = 99.0
|
||||||
|
minpercent = 20.0
|
||||||
|
maxpercent = 20.0
|
||||||
|
|
||||||
[[metric]]
|
[[metric]]
|
||||||
name = "network-iperf3"
|
name = "network-iperf3"
|
||||||
type = "json"
|
type = "json"
|
||||||
|
Loading…
Reference in New Issue
Block a user