Bug 1126500
| Summary: | Graphs fail to render with 'java.lang.IllegalArgumentException: lowValue' in log | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | John Sanda <jsanda> |
| Component: | Core Server, Storage Node | Assignee: | Nobody <nobody> |
| Status: | ON_QA --- | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.12 | CC: | hrupp |
| Target Milestone: | GA | ||
| Target Release: | RHQ 4.13 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1126495 | ||
I have added logic to InvalidMetricsManager to treat aggregate metrics having a value of Double.NaN as invalid. master commit hash: 1275e5dc862 |
Description of problem: Prior to RHQ 4.12 it was possible to produce an aggregate metric like {min: Double.NaN, max: Double.NaN, avg: 0.0}. This was caused in part by not handling late measurement reports. When these invalid metrics are included in the result set for a query to fetch data points for a graph, it could result in an IllegalArgumentException being thrown from MetricsServer.createComposites. InvalidMetricsManager was introduced to handle metrics where max < avg or min > avg, but it also needs to treat metrics having NaN as a value as invalid. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: