Hide Forgot
Created attachment 1200562 [details] Metrics Description of problem: There are breaks in the metrics graph just before and after a metric value changes from 0 to non-zero and then back again. Version-Release number of selected component (if applicable): 3.3.0.30 How reproducible: Always Steps to Reproduce: 1. Install OpenShift with metrics enabled 2. Create some hello-openshift pods 3. Periodically hit the pods with curl 4. View metrics for the pods Actual results: See attached image Expected results: It seems and unbroken line would be more correct.
This a known side effect of using splines, which otherwise look much better than plain line graphs.
Some background from c3.js. https://github.com/c3js/c3/issues/479 https://github.com/c3js/c3/issues/1608 We might be able to use a different interpolation option. https://github.com/c3js/c3/pull/1268
Looked at this a bit. None of the out-of-the-box interpolation types prevent values dipping below 0. "monotone" helped in some cases, but not all. We'd need to write a custom interpolation function or go back to a line chart to fix this completely.
We've changed charting libraries in 4.1 to plotly, which does not have this issue. We do not plan to update the charts in the 3.x.