onyx 2018-07-03

Are the slack logs still collected at the clojurians log link in the header? Was looking for a the discussion about a previous question, and the onyx logs there only go through 20180417.

Ah damn. I think that must be because slack deprecated their slack gateway

Our application is all about scaling cluster resources, and I want to dogfood it using our onyx cluster. Is there an API to get a list of pending jobs?

onyx.api/job-state allows you to get the current state for a particular job ID. I could add another which returns the state for all jobs

lib-onyx also has a bunch of helpful code for that sort of thing

Looks like I could use the replica HTTP query server, just get a list of all jobs, and figure it out from there. That would be perfect.

That’d work fine.

Preferable to a job-state fn approach, as that has the play back the log each time