hashicorp / hashicorp/damon

Show healthy/running/desired allocs in Job summary

Open
#17 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
488
Forks
22
PR merge metrics
No merged PRs in 30d

Description

### 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](https://user-images.githubusercontent.com/14835387/135066630-57656342-9876-420a-af91-91f96f384e7f.png)

### How to solve?

We can show below detail in Summary.

` / / `

### Example

![image](https://user-images.githubusercontent.com/14835387/135066762-b09c3536-b9d9-422f-9c79-4a193183abdf.png)

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the Jobs view where the current group-count summary is assembled, and trace how allocation data is collected for each job group. Update the summary to show healthy allocs / running allocs / desired allocs using totals across groups, then verify the display with jobs containing one or more groups.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.