priyansh17 opened a new pull request, #140:
URL: https://github.com/apache/yunikorn-web/pull/140

   ### What is this PR for?
   The REST API returns a -1 for all values that could not be converted from 
the internal prometheus counter to an integer. 
   The webapp doesn't handle this gracefully and graph shows negative values on 
app counters which isn't possible.
   
   
   ### What type of PR is it?
   * [ ] - Bug Fix
   * [x] - Improvement
   * [ ] - Feature
   * [ ] - Documentation
   * [ ] - Hot Fix
   * [ ] - Refactoring
   
   ### Todos
   * [] - Task
   
   ### What is the Jira issue?
   [YUNIKORN-74](https://issues.apache.org/jira/browse/YUNIKORN-74)
   
   ### How should this be tested?
   I have added a negative counter in sample json file for testing. It is 
omitting the negative counter.
   
   ### Screenshots (if appropriate)
   <img width="1317" alt="Screenshot 2023-10-20 at 3 24 05 PM" 
src="https://github.com/apache/yunikorn-web/assets/64547846/f486d1a2-b461-4dcf-93c1-f75eacc252dd";>
   
   
   ### Questions:
   * [ ] - The licenses files need update.
   * [ ] - There is breaking changes for older versions.
   * [ ] - It needs documentation.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to