-
Notifications
You must be signed in to change notification settings - Fork 264
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
AVERAGE chart looking vastly different between rrdtool 1.4.8 and rrdtool 1.7.2 #1249
Comments
It may has to do with my fix for version 1.7.2 in 2019 (Optimized PDP Calculation). Now the interval interpolation is much more accurate and is not blurring over multiple steps. |
According to my RRA definition (see above, 1 minute step, retaining the last 7 days at that resolution) and given that I'm requesting
I would've expected the 1.4.8 chart to look just like the 1.7.2 one. Is this something you need more time looking into ? Just asking so I know how to proceed with our internal JIRA issue related to this one. |
I overlooked the fact that your rrd-create command does not define an AVG-archive for a 1-minute resolution. So the LoadAverage chart should not be able to display more than one value for a 5-minute interval. This seems indeed a bit strange and has nothing to do with the optimization of PDP-calculation in 1.7.2 |
My reasoning for doing it like that was (correct me if I'm wrong, my understanding of RRD is a bit,aehm,fuzzy) we're collecting the CPU load only once a minute anyway so having a 1 minute average seemed wasteful/pointless. |
Describe the bug
After upgrading our application to rrdtool 1.7.2 (we migrated from CentOS 7.9 and rrdtool 1.4.8 to Rocky Linux 9.2 which ships with rrdtool 1.7.2) we noticed that "rrdtool graph" suddenly renders some charts differently (given the same data and command line options).
I've uploaded all data related to this issue here: bug.zip
The RRA has been created using the following command (and has been updated every 60 seconds by some cron job):
To Reproduce
Use the cpuload.rrd attached to this ticket and issue the following two commands, both on 1.4.8 and 1.7.2:
Expected behavior
Generated PNG files should be (near) identical on both 1.4.8 and 1.7.2 but this is only true for the MAX chart but not the AVERAGE one.
1.4.8
1.7.2
The text was updated successfully, but these errors were encountered: