| Summary: | MeasurementSenderRunner should log debug instead of warning if a numeric metric value is null, NaN, or Infinity | |||
|---|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Larry O'Leary <loleary> | |
| Component: | Plugin Container | Assignee: | Larry O'Leary <loleary> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | |
| Severity: | low | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 3.0.1, 4.3 | CC: | hrupp, larstobi, lkrejci, skondkar | |
| Target Milestone: | --- | |||
| Target Release: | RHQ 4.3.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 4.3 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 769935 783881 (view as bug list) | Environment: | ||
| Last Closed: | 2013-03-14 15:06:24 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 753929, 783881 | |||
|
Description
Larry O'Leary
2011-11-11 16:29:58 UTC
ips already committed this fix to master as 542a30ca6d0eaebbee5365c756955255ba367e4e: log message reporting invalid numeric metrics at DEBUG, rather than WARN, to avoid flooding the agent log with repetitive messages Committed to release-3.0.1 as 43dedc8135a6ce802501810ff810af739b24ab11 - http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=43dedc8135a6ce802501810ff810af739b24ab11 Verified in master build#855 (Version: 4.3.0-SNAPSHOT Build Number: 74fe0df) The invalid numeric metrics log messages are not logged as warning. These are logged at DEBUG in agent log as below: 2011-12-22 15:22:09,348 DEBUG [MeasurementManager.sender-1] (rhq.core.pc.measurement.MeasurementSenderRunner)- Numeric metric [Servlet.AvgResponseTime] with schedule id [18225] is invalid - value is [Double.NaN]. 2011-12-22 15:22:09,348 DEBUG [MeasurementManager.sender-1] (rhq.core.pc.measurement.MeasurementSenderRunner)- Numeric metric [Servlet.MaxResponseTime] with schedule id [18226] is invalid - value is [Double.NaN]. 2011-12-22 15:22:09,348 DEBUG [MeasurementManager.sender-1] (rhq.core.pc.measurement.MeasurementSenderRunner)- Numeric metric [Servlet.MinResponseTime] with schedule id [18227] is invalid - value is [Double.NaN]. |