Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Improved stats charts #4727

Merged
merged 64 commits into from
Oct 17, 2018
Merged

UI: Improved stats charts #4727

merged 64 commits into from
Oct 17, 2018

Conversation

DingoEatingFuzz
Copy link
Contributor

@DingoEatingFuzz DingoEatingFuzz commented Sep 26, 2018

A multi-pr project to improve the way stats are presented in the web UI.

The maxLength is enforced by removing elements from the head of the
list.
It follows the form of poll -> json parse -> append,
Where append is defined in subclasses to add data from the new frame
to long-lived rolling arrays of data.
It accumulates CPU and Memory usage for the allocation as a whole as well
as by task.
When data is coming in live, the tooltip can get bogged down by updates
causing the tooltip to never make it under the mouse, which looks like
either lag or a bug.
A use-case specific line-chart for showing utilization metrics by
percent
It encapsulates all the tracker, polling, and markup for this style
of metric.
This is the best of three options

1. Users of stats trackers control polling (old method)
2. Stat tracker is stateful and has start/stop methods (like logging)
3. Stat trackers blindly throttle requests

This is the best option because it means N number of concurrent users of
a stats tracker can request polling without inundating the tracker with
redundant frames (or the network with redundant requests), but they also
don't have to coordinate amongst themselves to determine what state a
tracker should be in.
- Treat it as an image
- Add a title and a description
- Hide the axes, just in case
Since this is a use case specific chart, we can use use case specific
language in our labels.
@DingoEatingFuzz DingoEatingFuzz merged commit 3c75bd4 into master Oct 17, 2018
@DingoEatingFuzz DingoEatingFuzz deleted the f-ui-improved-stats-charts branch October 17, 2018 17:55
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant