search cancel

SaaS Agent clamping

book

Article ID: 189895

calendar_today

Updated On:

Products

CA Application Performance Management SaaS

Issue/Introduction

Agent showing  gaps inside the "Metric View":



In the agent logs, we can see that this agent is reaching the clamp:

[WARN] [IntroscopeAgent.Agent] Note: if no more metrics can be created when the agent starts up, there may be exceptions in the startup process. Increasing the clamp value may solve these exceptions. [INFO] [IntroscopeAgent.Agent] CLAMP EVENT: Agent was not clamped before; New metric has been created and agent has hit the metric clamp.
[WARN] [IntroscopeAgent.Agent] Absolute metric clamp of 5000 reached, no more metrics can be created.  Instrumentation on this application should be reduced.
[WARN] [IntroscopeAgent.Agent] Note: if no more metrics can be created when the agent starts up, there may be exceptions in the startup process. Increasing the clamp value may solve these exceptions.
[INFO] [IntroscopeAgent.Agent] CLAMP EVENT: Agent was not clamped before; New metric has been created and agent has hit the metric clamp.

Environment

Application Performance Management SaaS

Resolution

Raise the clamp properties inside your Agent.Profile as below:


#######################
# Agent Metric Clamp Configuration
#
# ================
# The following setting configures the Agent to approximately clamp the number of metrics sent to the EM  
# If the number of metrics pass this metric clamp value then no new metrics will be created.  Old metrics will still report values.
# The value must be equal to or larger than 1000 to take effect. Lower value will be rejected.
# The default value is 5000. 
# You must restart the managed application before changes to this property take effect.
introscope.agent.metricClamp=5000

The monitored application restart needs to take effect with the above configuration.