You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2023/12/06 12:05:00 UTC

[jira] [Created] (YUNIKORN-2242) Fix incorrect help message of queue metrics

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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org