[ https://issues.apache.org/jira/browse/YUNIKORN-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17542531#comment-17542531 ]
Peter Bacsko commented on YUNIKORN-1202: ---------------------------------------- In {{{}queue.go{}}}, there are some methods related to resource tracking. I modified the method {{updateAllocatedAndPendingResourceMetrics()}} (I believe it was called differently) and I noticed that the condition {{sq.isLeaf}} is used at different places. So right now we're only tracking certain metrics for leafs. I didn't do any research to find out why that {{if}} branch is there. I'm not sure if that's really necessary. It could be that removing that condition is just fine and tracking will be done for all queues. > 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