Bug 752207 - MeasurementCollectorRunner should log metric collections which fall behind at WARN instead of DEBUG
Summary: MeasurementCollectorRunner should log metric collections which fall behind at...
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugin Container
Version: 3.0.1
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-08 20:18 UTC by Larry O'Leary
Modified: 2022-03-31 04:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Larry O'Leary 2011-11-08 20:18:58 UTC
Currently, when MeasurementCollectorRunner has requests which have a collection scheduled earlier then the current time minus 30 seconds, a debug log message is produced that looks like: "Measurement collection is falling behind... Missed requested time by [" + (System.currentTimeMillis() - requests.iterator().next().getNextCollection()) + "ms]"

(See http://git.fedorahosted.org/git?p=rhq/rhq.git;a=blob;f=modules/core/plugin-container/src/main/java/org/rhq/core/pc/measurement/MeasurementCollectorRunner.java;h=269f6266724f2ea17a771e0fb702d7abba5a0ae8;hb=release-3.0.1#l71)

Such a message seems like something that is potentially harmful or should be addressed and DEBUG level does not seem appropriate for this message. Can this be changed to WARN?

Comment 1 Heiko W. Rupp 2011-11-08 20:41:59 UTC
Falling behind is an indication of overload (may be the agent, but also the target server), so this is definitively more important than just debug level.


Note You need to log in before you can comment on or make changes to this bug.