Hi Osvaldo,
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 feature
introscope.agent.deep.entrypoint.enabled=false
2-disable SmartInstrumentation instrumentation:
introscope.agent.deep.instrumentation.enabled=false
introscope.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: ManagedSocketTracing
TurnOn: SocketTracing
TurnOn: NIOSocketTracing
TurnOn: NIOSocketSummaryTracing
TurnOn: NIOSelectorTracing
TurnOn: NIODatagramTracing
TurnOn: 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=true
introscope.agent.sqlagent.sql.artonly=true
introscope.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, see
https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec1337681.html
https://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