damon icon indicating copy to clipboard operation
damon copied to clipboard

Show healthy/running/desired allocs in Job summary

Open jawahars16 opened this issue 3 years ago β€’ 2 comments

What is the problem?

The current summary data in Jobs view is not very intuitive. Currently it shows, how many groups are running out of total groups in a Job. But people are really interested on whether the desired allocs are running and healthy within a job. Something similar to the below one. This is Job overview from Nomad UI dashboard.

image

How to solve?

We can show below detail in Summary.

<healthy allocs> / <running allocs> / <desired allocs>

Example

image

The allocs should be the sum of allocs from each group. (Mostly each job will have one group. I still can’t find a good use case, where we run multiple groups in a Job)

I can give a PR on this change 😎 . Let me know if this improvement make sense.

jawahars16 avatar Sep 28 '21 10:09 jawahars16

Hey @jawahars16, I thought about the same and I like the idea. The only thing I'm just a little bit concerned about is that people will have to know somehow what the number mean (healthy/running/desired). Probably add it to the readme will be enough. Also at some point it would be nice to have a "help" page where we could add this info as well. Have you also thought about the coloring? Maybe:

  • 0 healthy allocs = yellow
  • 0 running allocs = red

(and yeah PRs are highly appreciated πŸ‘ )

hcjulz avatar Sep 29 '21 08:09 hcjulz

Hi @hcjulz ,

Thanks for the update. A help page would be really nice, which can include this information and other keybindings as well. Yes colouring is a good suggestion. πŸ‘ I am planning to give a PR on this.

Thanks,

jawahars16 avatar Oct 01 '21 02:10 jawahars16