| Summary: | metrics: line not rendered on x-axis just before leaving 0 and after returning to 0 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Mike Fiedler <mifiedle> | ||||
| Component: | Management Console | Assignee: | Samuel Padgett <spadgett> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Yadan Pei <yapei> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.3.0 | CC: | aos-bugs, jokerman, mifiedle, mmccomas, yanpzhan | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-06-04 20:09:07 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
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. |
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.