Răspuns: Disabled metrics are still collected

Costel Cosman costelcsmn at yahoo.ro
Mon Mar 10 16:04:53 UTC 2014


Hi, 


I don't know if this is related with this use case, but, at some point, I encountered a similar case using RHQ 4.7 when some measurement collection intervals defined in the RHQ Server were not updated/synchronized in the agent plugin container.

Unfortunately I couldn't reproduce the use-case, the measurement collection intervals didn't want to update at agent restart. 

To fix the problem, I had to change again the values with RHQ GUI in order to get synchronized on the agent side.

I remember there was a similar issue some time ago but I know that it was fixed.


https://bugzilla.redhat.com/show_bug.cgi?id=741971

Regards,
Costel





________________________________
 De la: Larry O'Leary <loleary at redhat.com>
Către: RHQ Dev List <rhq-devel at lists.fedorahosted.org> 
Trimis: Luni, 10 Martie 2014 17:20:37
Subiect: Disabled metrics are still collected
 

While looking into another issue dealing with metric collection
failures, I have stumbled across something strange. I can see metrics
being collected by the agent for metrics which are not enabled. Is this
expected? 

In my case I am working with a non-Tx datasource resource from the AS7
plug-in. Even though many of the metrics are disabled by default, I am
seeing some disabled metrics included in the measurement collection
request:

PreparedStatementCacheCurrentSize
PreparedStatementCacheMissCount
PreparedStatementCacheMissCount
PreparedStatementCacheAddCount
PreparedStatementCacheAccessCount
PreparedStatementCacheAccessCount
PreparedStatementCacheDeleteCount
PreparedStatementCacheDeleteCount
PreparedStatementCacheHitCount
PreparedStatementCacheHitCount
AverageBlockingTime
AverageCreationTime
MaxCreationTime
TimedOut
TotalCreationTime
TotalCreationTime
TotalBlockingTime
TotalBlockingTime


If this is happening with other resources and resource types, I can
imagine that the load generated on and by the agent is much higher then
what would be expected.

http://ur1.ca/gt6mv contains the log message showing these disabled
metrics being included in the getValues call. Something to note is that
even though the above metrics are disabled, the PC reports them as
enabled as seen in the log message.

Is this expected? A bug? Something we are already aware of?
-- 
Larry O'Leary
https://plus.google.com/+LarryOLeary



_______________________________________________
rhq-devel mailing list
rhq-devel at lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/rhq-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/rhq-devel/attachments/20140310/16806044/attachment.html>


More information about the rhq-devel mailing list