Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix count of allocated/idle cores in metrics #377

Merged
merged 3 commits into from
Nov 5, 2024
Merged

Conversation

rezib
Copy link
Contributor

@rezib rezib commented Nov 5, 2024

No description provided.

Select alloc_cpus and alloc_idle_cpus nodes fields on slurmrestd
/slurm/*/nodes and /slurm/*/node/<node> endpoints. These fields are
especially useful to count exactly the number of idle/allocated cores on
mixed nodes.
Report exact number of allocated/idle cores instead of considering all
cores mixed on partially allocated nodes.
@rezib rezib added the bug This was supposed to work in this case and clearly it is not. label Nov 5, 2024
@rezib rezib added this to the v4.0.0 milestone Nov 5, 2024
@rezib rezib self-assigned this Nov 5, 2024
@rezib rezib merged commit 937d374 into main Nov 5, 2024
9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 5, 2024
@rezib rezib deleted the pr/fix-metrics-cores branch November 8, 2024 18:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This was supposed to work in this case and clearly it is not.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant