-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Description
Hi,
We have a nested account arrangement, and those accounts aren't properly being reported on.
I dug into the code, and the command is:
$ sshare -n -P -o account,fairshare
root|0.500000
top_1|0.999998
nested_1_1|0.999998
nested_1_2|1.000000
nested_1_2_1|1.000000
top_2|0.481723
nested_2_1|0.858038
nested_2_2|0.961831
However when I get the metrics, I only get root, top_1 and top_2.
'root' isn't useful. top accounts are useful as an aggregate, but I'd also like to see the nested accounts.
Ideally, we would have "slurm_account_fairshare" as it is, and also offer "slurm_subaccount_fairshare" so that I could graph both.
Looks like ParseFairShareMetrics() is the culprit, throwing away anything that starts with more than one space.
if ! strings.HasPrefix(line," ") {
I can see the argument for doing it, hence my proposal to gather two sets of metrics.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels