APM Health Tip - Showing the agents that report the most metrics.

Document ID : KB000009653
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

APM Health Tip - Showing the agents that report the most metrics. 

 

Background:

As a good practice to ensure proper functionality and performance of the APM cluster, you should be aware of how many metrics your agents are reporting.   This will allow you to spot metric explosions easier if they are occurring.   Below are the instructions on how to perform this task.

Environment:
All supported APM environments.
Instructions:

 Using the workstation you can perform the following.

 1. Create a new metric grouping and use the following parameters.

    Agent Expression = (.*)\|(.*)\|(.*) and Metric Expression = .*:Metric Count

 

 2. Create a new dashboard.

 3. Add a graph to the new dashboard.

 4. Select a Data Option for the Graph.  (Choose the Metric Grouping just created. )

 5. Enable the Filter on the Sort/Filter tab of the graph (May need to increase number of top results. )

 

 Using the CLW workstation you can run the following query.

get historical data from agents matching (.*) and metrics matching (.*:Metric Count) for past 1 minute with frequency of 60 seconds

 

 An example with the full command would look like this. 

C:\APM\jre\bin\java.exe -Xmx128M -Duser=admin -Dpassword= -Dhost=localhost -Dport=5001 -jar C:\APM\lib\CLWorkstation.jar get historical data from agents matching (.*) and metrics matching (.*:Metric Count) for past 1 minute with frequency of 60 seconds

This will return data that includes the current value of the metric count for metrics.  You can organize and sort the results within a csv file.

 

Additional Information:

APM Health Check

http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec604648.aspx

 

This message is frequently seen in Collectors: "Timed out adding to outgoing message queue. 

http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec1606598.aspx

 

Collector Peformance Tips

http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec1176454.aspx

 

Metric Explosion

http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec1167837.aspx

 

EM - Biz Transactions Performance

http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec595953.aspx