From 524eb646fc8674a71ef9a511e225af17e68bebf7 Mon Sep 17 00:00:00 2001 From: Joe Talerico Date: Tue, 23 Jan 2024 14:12:38 -0500 Subject: [PATCH] Update the jobSummary query kube-burner has two documents for jobSummary, one for the job, one for garbage-collection, we need to focus on the jobSummary that is related to the workload and not garbage-collection Signed-off-by: Joe Talerico --- fmatch/matcher.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fmatch/matcher.py b/fmatch/matcher.py index 84cb069..b1c13cf 100644 --- a/fmatch/matcher.py +++ b/fmatch/matcher.py @@ -138,6 +138,7 @@ def match_kube_burner(self, uuids): "query": ( f'( uuid: \"{ids}\" )' f' AND metricName: "jobSummary"' + f' AND NOT (jobConfig.name: "garbage-collection")' ) } }, @@ -186,6 +187,7 @@ def burner_results(self, uuid, uuids, index): f'( uuid: \"{ids}\" )' f' AND metricName: "podLatencyQuantilesMeasurement"' f' AND quantileName: "Ready"' + f' AND NOT (jobConfig.name: "garbage-collection")' ) } },