Getting "Unexpected metric query error" in MOM log after upgrading to 10.5.1

Document ID:  TEC1022342
Last Modified Date:  07/05/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Application Performance Management

Releases

  • CA Application Performance Management:Release:10.5.1

Components

  • INTROSCOPE:APMISP
Problem:

Observed the following error in the MOM's IntroscopeEnterpriseManager.log since upgraded to 10.5.1:

[ERROR] [PO:client_main Mailman 1] [Manager.MetricCalculatorBean] Unexpected metric query error
com.wily.introscope.spec.server.beans.metricdata.MetricQueryException: com.wily.introscope.spec.metric.AgentNotFoundException: Unknown Error
    at com.wily.introscope.server.beans.metricdata.persisted.HistoricalDataFetcherFromCache.getValues
       (HistoricalDataFetcherFromCache.java:64)
    at com.wily.introscope.server.beans.metricdata.persisted.PersistedQueryHelper.executeQueryBlob
       (PersistedQueryHelper.java:541)
    at com.wily.introscope.server.beans.metricdata.live.LiveMetricSubscriptionManager.registerLiveDataQuery
       (LiveMetricSubscriptionManager.java:167)
    at com.wily.introscope.server.beans.metricdata.MetricDataManager$ExecuteAsyncCommand.run
       (MetricDataManager.java:933)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: com.wily.introscope.spec.metric.AgentNotFoundException: Unknown Error
    at com.wily.introscope.server.enterprise.entity.agent.AgentEntity.getWatchedAgent(AgentEntity.java:2457)
    at com.wily.introscope.server.enterprise.entity.agent.AgentEntity.getRecentHistory(AgentEntity.java:3484)
    at com.wily.introscope.server.enterprise.entity.agent.AgentEntity.getRecentHistory(AgentEntity.java:1)
    at com.wily.introscope.server.beans.metricdata.persisted.HistoricalDataFetcherFromCache.getValues
       (HistoricalDataFetcherFromCache.java:41)
    at com.wily.introscope.server.beans.metricdata.persisted.HistoricalDataFetcherFromCache.getValues
       (HistoricalDataFetcherFromCache.java:62)
    ... 6 more

Environment:
Application Performance Management 10.5.1
Cause:

According to the code, the exception occurs when EM is trying get values for all the metrics in a query and it could not get the value of a particular metric as that metric does not exist. The consequence of this ERROR is that live query could return an empty graph initially and a live search returns error with no result.

Resolution:

The issue has been fixed with a code change in 10.5.2, 10.6 and onward.

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >