Bug 829433 - When MeasurementCollectorRunner logs metric collections is falling behind it should include metric details
Summary: When MeasurementCollectorRunner logs metric collections is falling behind it ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Agent, Performance, Plugin Container
Version: 4.4
Hardware: All
OS: All
medium
high
Target Milestone: ---
: RHQ 4.5.0
Assignee: Armine Hovsepyan
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 752210
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-06 17:54 UTC by Jay Shaughnessy
Modified: 2015-09-03 00:01 UTC (History)
5 users (show)

Fixed In Version:
Clone Of: 752210
Environment:
Last Closed: 2013-08-31 10:10:50 UTC
Embargoed:


Attachments (Terms of Use)
pattern generator plugin (6.69 KB, application/java-archive)
2012-08-15 16:17 UTC, Jay Shaughnessy
no flags Details
agent.log (4.32 KB, text/x-log)
2012-08-16 15:03 UTC, Armine Hovsepyan
no flags Details

Comment 1 Jay Shaughnessy 2012-06-06 18:00:52 UTC
Master commit 54e5a2327ed744e220aadceb9868e8a84e95b322
Add more information in debug mode to help determine what may be holding
up the agent metric collections.


test notes:
this is not very easy to test without manipulating the agent to hold up a metric collection.  a test plugin component with very slow metric reporting could help if you have that sort of thing in your bag of tricks.

Comment 2 Jay Shaughnessy 2012-08-15 16:16:05 UTC
To help test this you can now use the new "delay" property in the
pattern-generator plugin (attached).

The plugin was updated to allow for a delay when reporting metrics. This
allows the plugin to be used for "slow" collection reporting when
simulating an overloaded agent or misbehaving plugin.

For example, to see debug logging in the agent when metric collection is
falling behind try (after installing the plugin and importing the Pattern resource):

1) Update pattern2 collection interval to 40s so that the two pattern metrics
   are not collected at the same time, thus creating more load.
2) Set the new "delay" plugin config prop to 25.  So, each collection will
   take 25s, and quickly the agent will fall behind.

Comment 3 Jay Shaughnessy 2012-08-15 16:17:48 UTC
Created attachment 604640 [details]
pattern generator plugin

to help with testing

Comment 4 Armine Hovsepyan 2012-08-16 15:03:05 UTC
Created attachment 604962 [details]
agent.log

verified.

Message like attached log is being thrown in the logs.

Thanks a lot, Jay, for helping me with the case.

Comment 5 Heiko W. Rupp 2013-08-31 10:10:50 UTC
Bulk close of old bugs in VERIFIED state.


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