Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Running jobs should list all the jobs being run in the cluster #69
Let's say I have 2 nodes,
Currently, the "Failed", "Enqueued", "Scheduled" jobs properly list all jobs in the cluster (that is, jobs saved in Redis, no matter on what node is the VerkWeb being run).
Unfortunately, the "Running jobs" count and list lists only jobs running in the given node.
It would be cool if it would list all the jobs that are
Possibly related to edgurgel/verk#157 ?
P.S. Until we implement it, we could mention it in the README and/or in VerkWeb interface.
I'm not sure what's the best approach in this case. Maybe we could keep track of "long-running jobs" somehow and every
It's also possible (not ideal IMHO) for the user to set up a GenStage consumer that reads data about every job and keeps this info somewhere (your own DB). More here: https://github.com/edgurgel/verk#error-tracking
I see. Seems like it's not that easy and maybe not even required (most of jobs are short-lived IMO).
Maybe we could mention it in the VerkWeb interface at least, so we avoid confusions. Like add a small warning alert above the "Running" list, that it is the list only for the current instance. WDYT? I can do a PR if u want
Perhaps a list of nodes active in the cluster would be more helpful, including the ability to bounce around inspecting each node.
For example, I may have between 2 to 40 (or more) background processors running across a cluster (auto-scaling).
Being able to use a single verk_web instance to enumerate them and pop in to see what any given node is chewing on would be really cool.
(apologies for the near-necro on this issue, btw)