Bug 428798

Summary: Line Chart / History view is (way) to short
Product: [Unmaintained] ksysguard Reporter: Richard Llom <richard.llom>
Component: libksysguardAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: ahiemstra, justin.zobel, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.20.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of plasma-monitor: line chart & fullscreen
Screenshot of ksysguard: Line chart & fullscreen

Description Richard Llom 2020-11-07 20:08:26 UTC
Currently the line chart spans only like 40 seconds or so and there seems to be no configuration available.
IMHO this time span is way too short and represents more a snapshot than an actual history to *monitor* your system.

For reference:
In ksysguard I have set the page update interval to 0,5 secs and the pixels per time period to 1. This allows me to monitor *20 min* in fullscreen. Which is OK, I don't need more but it certainly shouldn't be much less.


Attached are two screenshots of each application with the same charts. Notice how you can see how my GPU temp is rising in ksysguard, while this change isn't visible in plasma-monitor at all. Coincidentally this was when I started to use plasma-monitor (I will open a separate ticket for that).
Comment 1 Richard Llom 2020-11-07 20:10:20 UTC
Created attachment 133116 [details]
Screenshot of plasma-monitor: line chart & fullscreen
Comment 2 Richard Llom 2020-11-07 20:13:24 UTC
Created attachment 133117 [details]
Screenshot of ksysguard: Line chart & fullscreen

Also notice the vertical grid lines, each of them represents 1 min. Which I think is a nice feature and would also like to see in plasma-monitor.
Comment 3 Justin Zobel 2020-11-07 23:21:08 UTC
Agreed you can't really call it  history if it's only 40 seconds maximum.

I'd love to see the possibility of configuring it even beyond 20 minutes. A true historical view of the system if you're monitoring for long periods.

The lack of time scale displayed also makes it hard to understand. Maybe show on the History title at the top the scale ie History (last 40 seconds) [although with configuration it'll change of course].
Comment 4 Arjen Hiemstra 2020-11-08 13:21:42 UTC
Personally I don't see much point in having a history that long, what I did 20 minutes ago is really not very relevant anymore to what I'm doing now. With the current update rate being 2 seconds, the chart currently shows 200 seconds of history, or a little over 3 minutes. Maybe this could be increased to 5 minutes but beyond that I see little point. Additionally, if you change the value of the X range in the configuration, you can keep however much history you want. If that doesn't work then it's a valid bug, but right now I don't see anything that needs to change here.
Comment 5 Richard Llom 2020-11-08 15:16:44 UTC
(In reply to Arjen Hiemstra from comment #4)
> Personally I don't see much point in having a history that long, what I did
> 20 minutes ago is really not very relevant anymore to what I'm doing now.
> With the current update rate being 2 seconds, the chart currently shows 200
> seconds of history, or a little over 3 minutes. Maybe this could be
> increased to 5 minutes but beyond that I see little point.

Well, two things I would like to reply to this:
1) You might not sit all the time in front of your PC or look at the monitor application, so things that happened in the past might be interesting to you.

2) Some task take longer than 5 min to finish (compiling, rendering, etc.) and if you want to get the full picture of how your PC performed during that tasks you need that long of a time span.

Anyways ...

> Additionally, if
> you change the value of the X range in the configuration, you can keep
> however much history you want. If that doesn't work then it's a valid bug,
> but right now I don't see anything that needs to change here.

... that was the missing piece of information, thats great and works for me!
Kinda confused by the UI, what would you use the "From X" for?


I'm not agreeing on the update rate of 2 seconds tho. Is it planned to have this configurable (per page)?