I've found a couple of agents clamped, how I could fix this situation?
Can a fellow APM admin or CA Partner help with giving an answer?
Osvaldo: Can you please provide a screenshot of what you are seeing?
Actually I can´t, because it is in one of our customers and I've been there yesterday and I won't back till next week, but I saw in the Investigator agent with a red circle arrow.
You can try to increase the clamp in the EM/collectors apm-events-thresholds-config.xml
However, you might want to investigate why you reached the clamp and what is causing the metrics explosion and then fine tune/reduce the agent instrumentation, this is an exercise that you would need to perform, for example
1- disabling automatic entry point detection featureintroscope.agent.deep.entrypoint.enabled=false
2-disable SmartInstrumentation instrumentation:introscope.agent.deep.instrumentation.enabled=falseintroscope.agent.deep.trace.enabled=false
3-reduce/disable JMX collection: set introscope.agent.jmx.enable=false
4-switch from full to typical pbl. The full profile provies greater visibility, but incurs higher overhead. It is recommended as a starting point for qa, staging and development environments
5-Turn off the socket tracers in toggles typical/full pbd file.TurnOn: ManagedSocketTracingTurnOn: SocketTracingTurnOn: NIOSocketTracingTurnOn: NIOSocketSummaryTracingTurnOn: NIOSelectorTracingTurnOn: NIODatagramTracingTurnOn: NIODatagramSummaryTracing
6- If you noticed a high # of SQL metrics, disable/ reduce SQL instrumentation:
- Reduce the length of SQL statements. The default maximum length captured by the agent is 999. You can modify this by adding the following line to the IntroscopeAgent.profile file:introscope.agent.sqlagent.sql.maxlength=
- Set the following properties available since 9.1:introscope.agent.sqlagent.sql.turnoffmetrics=trueintroscope.agent.sqlagent.sql.artonly=trueintroscope.agent.sqlagent.sql.turnofftrace=true
- Use SQLAgent normalization mechanism - see Agent documentation
Also, if you need to remove unwanted metrics for the Agent you can always use the SS tool, seehttps://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec1337681.htmlhttps://docops.ca.com/ca-apm/10-5/en/administrating/configure-enterprise-manager/configure-and-manage-smartstor-data#ConfigureandManageSmartStorData-UsetheSmartStorCommand-LineTools
I hope this helps,Regards,Sergio
Hi Sergio, thanks very much!!
Dear Osvaldo:Was Sergio's response helpful? Did you make any progress when you return to he customer site? Marking as answered since some very good and clear next steps were provided.
However, we want to hear how you made out after making the suggested changes and if you have any followup changes
I'll investigate the line that Sergio addressed me. Thanks very much!