-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Description
There's a nice JobList method on the client that can be used to get back a slice of all jobs, according to some provided params (kind, state etc).
I've been using this - but just to get a count of the number of jobs of each kind in each state (I've made a prometheus metrics Collector that keeps track of the number of jobs by kind and state).
This is quite a heavy query as it's returning the whole JobRow - which includes a bunch of fields I don't really care about for this narrow purpose.
It'd be great if there were a lighter weight JobCount method that would just return a count of the number of jobs according to the parameters.
Metadata
Metadata
Assignees
Labels
No labels