Skip to content

History chart  #50

Open
Open
@diegoasanch

Description

@diegoasanch

Is your feature request related to a problem? Please describe.
The StatsBar gives great insight into the current state of the system, however I would like to view a history of this state over time to better understand when something changed (e.g. a recently opened process ramping up the CPU usage)

Describe the solution you'd like
A chart view for the CPU and Memory usage, similar to the one in MacOS' Activity monitor or Window's Task Manager; having the option to switch between the current list view and the new chart view.

The time-window size can either be agreed upon and made a constant or user-selectable

Describe alternatives you've considered

  1. Getting the data: this can be achieved by converting systemStats into an array (SystemStats[]) and storing there the last N stats from the getProcesses result. N can be calculated as timeWindowSize / refreshRate
  2. Rendering the data: using a charting lib like Chart.js or ECharts

Additional context

I want to implement this myself, but I want to first get the idea on the right track so any suggestions are welcome

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions