Chia-Ping Tsai created YUNIKORN-2242:
----------------------------------------

             Summary: Fix incorrect help message of queue metrics
                 Key: YUNIKORN-2242
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2242
             Project: Apache YuniKorn
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai


https://github.com/apache/yunikorn-core/blob/master/pkg/metrics/queue.go#L51

the help message of `appMetricsLabel` does not include all states. It shows 
only the "running", but `accepted`, `rejected`, `failed`, and `completed` are 
valid states also (see following links).

`rejected`
https://github.com/apache/yunikorn-core/blob/master/pkg/metrics/queue.go#L160C1-L160C1

`accepted`
https://github.com/apache/yunikorn-core/blob/master/pkg/metrics/queue.go#L147

`failed`
https://github.com/apache/yunikorn-core/blob/master/pkg/metrics/queue.go#L172

`completed`
https://github.com/apache/yunikorn-core/blob/master/pkg/metrics/queue.go#L185




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to