Bug #41232 | Graphs incorrect for data that doesn't change (acts like *no* data) | ||
---|---|---|---|
Submitted: | 4 Dec 2008 15:25 | Modified: | 2 Mar 2009 17:06 |
Reporter: | Mark Leith | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Enterprise Monitor: Server | Severity: | S3 (Non-critical) |
Version: | 2.0.0.7105 | OS: | Any |
Assigned to: | Darren Oldag | CPU Architecture: | Any |
Tags: | Graphs |
[4 Dec 2008 15:25]
Mark Leith
[21 Jan 2009 22:13]
Darren Oldag
pushed into trunk, awaiting 2.1 build and test. ------------------------------------------------------------- when the fix for "don't draw lines when there is no data" was put in, a regression was introduced that drew gaps when there WAS data... but it was not renderable. specifically, the 0/0 ratios case (no activity). we want a continuous line there, but ignore that specifc time data point. but we still want to draw gaps when there really is NO data. the data model previously only sent up to the renderer the 'valid' points, so there was not enough info to draw it correctly. this was changed so that, even if it is bad data, the time entries are now sent up. this makes it fully the 'rendering' phase's responsibility to handle the rendering (go figure). it can see that the times are consecutive, and keep the line going. and it can really see when there was no data collected, and leave gaps there. i feel this is a better separation of concerns, and is more consistent with the 'data report model' vs the chart rendering.
[19 Feb 2009 20:54]
Marcos Palacios
Verified fixed in build 2.1.0.1007.
[2 Mar 2009 17:06]
Tony Bedford
An entry was added to the 2.1.0 changelog: Graphs were incorrect for data that did not change. The graphs appeared as if no data had been gathered. The Hit Ratios graph had gaps in it where there had not been any activity on the parameters being monitored. For instance, if MyISAM tables were not used, then no Key Cache hit ratio series was plotted, even though the variables were still being collected.