[ 
https://issues.apache.org/jira/browse/YUNIKORN-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541386#comment-17541386
 ] 

Wilfred Spiegelenburg commented on YUNIKORN-1202:
-------------------------------------------------

The root queue is always the size of the cluster. The maximum resources 
available in the cluster is a direct reflection of the number of nodes 
registered.

If the root queue has a maximum resource 1000GB / 500 vcores then that is the 
{{total}} for the cluster and thus the metric you are looking for. The usage of 
the root queue is the same as for all other queues. It gets updated for every 
allocation that is made and thus reflects the partition usage.

The partition metrics would thus be a copy of the root queue metrics. Not sure 
if we want/need to expose that separately on the partition but there is no need 
to track anything extra.

> Add metrics to track partition resources
> ----------------------------------------
>
>                 Key: YUNIKORN-1202
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1202
>             Project: Apache YuniKorn
>          Issue Type: Sub-task
>            Reporter: Weiwei Yang
>            Priority: Major
>
> When we monitor the cluster resources, we need to track what is available vs 
> what is used. In the queue metrics, currently, we have per queue used 
> resource metrics e.g yunikorn_queue_root_xyz_used_resource. But we do not 
> have metrics to track what's the total partition resources (both used and 
> total), we need to add that too.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: issues-h...@yunikorn.apache.org

Reply via email to