[
https://issues.apache.org/jira/browse/YUNIKORN-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17777062#comment-17777062
]
Wilfred Spiegelenburg commented on YUNIKORN-74:
-----------------------------------------------
This is still an issue as the metrics collector returns a -1 on error:
[https://github.com/apache/yunikorn-core/blob/master/pkg/metrics/metrics_collector.go#L71-L73]
Graceful handling should be added in the web UI, i.e. use the previous value or
something like that.
> handle negative history counters in web app history
> ---------------------------------------------------
>
> Key: YUNIKORN-74
> URL: https://issues.apache.org/jira/browse/YUNIKORN-74
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: webapp
> Affects Versions: 0.8
> Reporter: Wilfred Spiegelenburg
> Priority: Minor
>
> In the current setup the REST API returns a -1 for all values that could not
> be converted from the internal prometheus counter to an integer. The web app
> must be able to handle it or even show the fact that there is no data by
> colour coding etc.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]