Fork me on GitHub
#onyx
<
2018-07-03
>
sparkofreason16:07:52

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.

lucasbradstreet17:07:06

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

lmergen17:07:38

yeah it is

lmergen17:07:50

it's a shame

sparkofreason18:07:07

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?

lucasbradstreet18:07:00

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

lucasbradstreet18:07:41

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

sparkofreason19:07:05

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.

lucasbradstreet19:07:15

That’d work fine.

lucasbradstreet19:07:02

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