mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-03 01:44:29 +00:00
metrics: Replace backslashes used to escape double quoted key in jq expr.
This PR uses squared brackets in a jq expression to access key values corresponding to metric results in json format. The values are the data inputs into the checkmetrics tool. Fixes: #7319 Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
This commit is contained in:
tests/metrics/cmd/checkmetrics/ci_worker
@@ -14,7 +14,7 @@ description = "measure container lifecycle timings"
|
|||||||
# Min and Max values to set a 'range' that
|
# Min and Max values to set a 'range' that
|
||||||
# the median of the CSV Results data must fall
|
# the median of the CSV Results data must fall
|
||||||
# within (inclusive)
|
# within (inclusive)
|
||||||
checkvar = ".\"boot-times\".Results | .[] | .\"to-workload\".Result"
|
checkvar = ".["boot-times"].Results | .[] | .["to-workload"].Result"
|
||||||
checktype = "mean"
|
checktype = "mean"
|
||||||
midval = 0.42
|
midval = 0.42
|
||||||
minpercent = 20.0
|
minpercent = 20.0
|
||||||
@@ -27,7 +27,7 @@ description = "measure memory usage"
|
|||||||
# Min and Max values to set a 'range' that
|
# Min and Max values to set a 'range' that
|
||||||
# the median of the CSV Results data must fall
|
# the median of the CSV Results data must fall
|
||||||
# within (inclusive)
|
# within (inclusive)
|
||||||
checkvar = ".\"memory-footprint\".Results | .[] | .average.Result"
|
checkvar = ".["memory-footprint"].Results | .[] | .average.Result"
|
||||||
checktype = "mean"
|
checktype = "mean"
|
||||||
midval = 2518364.00
|
midval = 2518364.00
|
||||||
minpercent = 20.0
|
minpercent = 20.0
|
||||||
@@ -40,7 +40,7 @@ description = "measure memory inside the container"
|
|||||||
# Min and Max values to set a 'range' that
|
# Min and Max values to set a 'range' that
|
||||||
# the median of the CSV Results data must fall
|
# the median of the CSV Results data must fall
|
||||||
# within (inclusive)
|
# within (inclusive)
|
||||||
checkvar = ".\"memory-footprint-inside-container\".Results | .[] | .memtotal.Result"
|
checkvar = ".["memory-footprint-inside-container"].Results | .[] | .memtotal.Result"
|
||||||
checktype = "mean"
|
checktype = "mean"
|
||||||
midval = 4135244.0
|
midval = 4135244.0
|
||||||
minpercent = 20.0
|
minpercent = 20.0
|
||||||
@@ -53,7 +53,7 @@ description = "measure container average of blogbench write"
|
|||||||
# Min and Max values to set a 'range' that
|
# Min and Max values to set a 'range' that
|
||||||
# the median of the CSV Results data must fall
|
# the median of the CSV Results data must fall
|
||||||
# within (inclusive)
|
# within (inclusive)
|
||||||
checkvar = ".\"blogbench\".Results | .[] | .write.Result"
|
checkvar = ".["blogbench"].Results | .[] | .write.Result"
|
||||||
checktype = "mean"
|
checktype = "mean"
|
||||||
midval = 1623.0
|
midval = 1623.0
|
||||||
minpercent = 20.0
|
minpercent = 20.0
|
||||||
@@ -66,7 +66,7 @@ description = "measure container average of blogbench read"
|
|||||||
# Min and Max values to set a 'range' that
|
# Min and Max values to set a 'range' that
|
||||||
# the median of the CSV Results data must fall
|
# the median of the CSV Results data must fall
|
||||||
# within (inclusive)
|
# within (inclusive)
|
||||||
checkvar = ".\"blogbench\".Results | .[] | .read.Result"
|
checkvar = ".["blogbench"].Results | .[] | .read.Result"
|
||||||
checktype = "mean"
|
checktype = "mean"
|
||||||
midval = 96939.0
|
midval = 96939.0
|
||||||
minpercent = 20.0
|
minpercent = 20.0
|
||||||
|
@@ -14,7 +14,7 @@ description = "measure container lifecycle timings"
|
|||||||
# Min and Max values to set a 'range' that
|
# Min and Max values to set a 'range' that
|
||||||
# the median of the CSV Results data must fall
|
# the median of the CSV Results data must fall
|
||||||
# within (inclusive)
|
# within (inclusive)
|
||||||
checkvar = ".\"boot-times\".Results | .[] | .\"to-workload\".Result"
|
checkvar = ".["boot-times"].Results | .[] | .["to-workload"].Result"
|
||||||
checktype = "mean"
|
checktype = "mean"
|
||||||
midval = 0.61
|
midval = 0.61
|
||||||
minpercent = 20.0
|
minpercent = 20.0
|
||||||
@@ -27,7 +27,7 @@ description = "measure memory usage"
|
|||||||
# Min and Max values to set a 'range' that
|
# Min and Max values to set a 'range' that
|
||||||
# the median of the CSV Results data must fall
|
# the median of the CSV Results data must fall
|
||||||
# within (inclusive)
|
# within (inclusive)
|
||||||
checkvar = ".\"memory-footprint\".Results | .[] | .average.Result"
|
checkvar = ".["memory-footprint"].Results | .[] | .average.Result"
|
||||||
checktype = "mean"
|
checktype = "mean"
|
||||||
midval = 2435844.00
|
midval = 2435844.00
|
||||||
minpercent = 20.0
|
minpercent = 20.0
|
||||||
@@ -40,7 +40,7 @@ description = "measure memory inside the container"
|
|||||||
# Min and Max values to set a 'range' that
|
# Min and Max values to set a 'range' that
|
||||||
# the median of the CSV Results data must fall
|
# the median of the CSV Results data must fall
|
||||||
# within (inclusive)
|
# within (inclusive)
|
||||||
checkvar = ".\"memory-footprint-inside-container\".Results | .[] | .memtotal.Result"
|
checkvar = ".["memory-footprint-inside-container"].Results | .[] | .memtotal.Result"
|
||||||
checktype = "mean"
|
checktype = "mean"
|
||||||
midval = 3677280.0
|
midval = 3677280.0
|
||||||
minpercent = 25.0
|
minpercent = 25.0
|
||||||
@@ -53,7 +53,7 @@ description = "measure container average of blogbench write"
|
|||||||
# Min and Max values to set a 'range' that
|
# Min and Max values to set a 'range' that
|
||||||
# the median of the CSV Results data must fall
|
# the median of the CSV Results data must fall
|
||||||
# within (inclusive)
|
# within (inclusive)
|
||||||
checkvar = ".\"blogbench\".Results | .[] | .write.Result"
|
checkvar = ".["blogbench"].Results | .[] | .write.Result"
|
||||||
checktype = "mean"
|
checktype = "mean"
|
||||||
midval = 1639.0
|
midval = 1639.0
|
||||||
minpercent = 20.0
|
minpercent = 20.0
|
||||||
@@ -66,7 +66,7 @@ description = "measure container average of blogbench read"
|
|||||||
# Min and Max values to set a 'range' that
|
# Min and Max values to set a 'range' that
|
||||||
# the median of the CSV Results data must fall
|
# the median of the CSV Results data must fall
|
||||||
# within (inclusive)
|
# within (inclusive)
|
||||||
checkvar = ".\"blogbench\".Results | .[] | .read.Result"
|
checkvar = ".["blogbench"].Results | .[] | .read.Result"
|
||||||
checktype = "mean"
|
checktype = "mean"
|
||||||
midval = 98687.0
|
midval = 98687.0
|
||||||
minpercent = 20.0
|
minpercent = 20.0
|
||||||
|
Reference in New Issue
Block a user