<div dir="ltr"><div>Are you sure this isn't because of how the agent-plugin has been created? At least the SQL plugins do something like: SELECT metric1, metric2, metric3, metric4 FROM metrics style of queries, which means they'll collect all the data once the getValues is requested, but they only report the values which are requested by the server (those which are enabled). In this example it wouldn't make sense to collect each value separately, since it reduces the load to gather them all at once, but of course this would be dependant on the resource type.<br>
<br></div><div> - Micke<br></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 10, 2014 at 9:01 PM, Jay Shaughnessy <span dir="ltr"><<a href="mailto:jshaughn@redhat.com" target="_blank">jshaughn@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Yow - let me take a look at this right now...<div class="HOEnZb"><div class="h5"><br>
<br>
On 3/10/2014 11:20 AM, Larry O'Leary wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
While looking into another issue dealing with metric collection<br>
failures, I have stumbled across something strange. I can see metrics<br>
being collected by the agent for metrics which are not enabled. Is this<br>
expected?<br>
<br>
In my case I am working with a non-Tx datasource resource from the AS7<br>
plug-in. Even though many of the metrics are disabled by default, I am<br>
seeing some disabled metrics included in the measurement collection<br>
request:<br>
<br>
PreparedStatementCacheCurrentS<u></u>ize<br>
PreparedStatementCacheMissCoun<u></u>t<br>
PreparedStatementCacheMissCoun<u></u>t<br>
PreparedStatementCacheAddCount<br>
PreparedStatementCacheAccessCo<u></u>unt<br>
PreparedStatementCacheAccessCo<u></u>unt<br>
PreparedStatementCacheDeleteCo<u></u>unt<br>
PreparedStatementCacheDeleteCo<u></u>unt<br>
PreparedStatementCacheHitCount<br>
PreparedStatementCacheHitCount<br>
AverageBlockingTime<br>
AverageCreationTime<br>
MaxCreationTime<br>
TimedOut<br>
TotalCreationTime<br>
TotalCreationTime<br>
TotalBlockingTime<br>
TotalBlockingTime<br>
<br>
<br>
If this is happening with other resources and resource types, I can<br>
imagine that the load generated on and by the agent is much higher then<br>
what would be expected.<br>
<br>
<a href="http://ur1.ca/gt6mv" target="_blank">http://ur1.ca/gt6mv</a> contains the log message showing these disabled<br>
metrics being included in the getValues call. Something to note is that<br>
even though the above metrics are disabled, the PC reports them as<br>
enabled as seen in the log message.<br>
<br>
Is this expected? A bug? Something we are already aware of?<br>
</blockquote>
<br></div></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
rhq-devel mailing list<br>
<a href="mailto:rhq-devel@lists.fedorahosted.org" target="_blank">rhq-devel@lists.fedorahosted.<u></u>org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/rhq-devel" target="_blank">https://lists.fedorahosted.<u></u>org/mailman/listinfo/rhq-devel</a><br>
</div></div></blockquote></div><br></div>