Skip to content

Commit

Permalink
Update the jobSummary query
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Joe Talerico committed Jan 23, 2024
1 parent ee763c7 commit 524eb64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fmatch/matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")'
)
}
},
Expand Down Expand Up @@ -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")'
)
}
},
Expand Down

0 comments on commit 524eb64

Please sign in to comment.