Clamp Identical Errors in Error Snapshots and Auto Trace
search cancel

Clamp Identical Errors in Error Snapshots and Auto Trace

book

Article ID: 129451

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction

By clamping the identical errors for error snapshots and auto trace, we introduce “introscope.agent.errorsnapshots.identicalerror.limit.perperiod” property and “introscope.agent.errorsnapshots.identicalerror.period.time” property. One is to set the maximum identical error count reporting for the error snapshot and auto trace, and the other is set the period to apply the maximum identical error count.
 

Is there a setting to retain the latest error snapshots rather than the old ones?

We see the below message in logs of some applications and the latest snapshots are missing. 

[INFO] [IntroscopeAgent.Agent] Temporarily no errorsnapshot will be sent for the error (HTTP Error Code: 404: /brtmtestapp/t_0.jsp); because more than 60 same errors have occurred in 360 (min)

Environment

CA APM 10.7

Resolution

You may try increasing the Clamp value to retain latest error snapshots 

As per Engineering:

introscope.agent.errorsnapshots.identicalerror.limit.perperiod

This property is used to set the limit for every error message to create error snapshots and trigger auto trace in the period time. If the error count is reached in the time frame, then no more error snapshot and error auto trace will be generated for this error in the period.
Default value: 60


introscope.agent.errorsnapshots.identicalerror.period.time

This property is used to set the period to reset the identical error limit count
Default value: 360 (6 hours, Unit: minute)


Sustainability Metrics

Identical Error Clamped Events Per Interval metric
is related to “introscope.agent.errorsnapshots.identicalerror.limit.perperiod” and “introscope.agent.errorsnapshots.identicalerror.period.time”
When an error is clamped by these properties, it will accumulate into this metric’s value
Value will be reported and reset to 0 in every 15 seconds

Throttle Clamped Events Per Interval metric
is related to “introscope.agent.errorsnapshots.throttle” property
When an error is clamped by this property, it will accumulate into this metric’s value.
The value will be reported and reset to 0 in every 15 seconds



Agent Log:

If the clamp is reached, the agent will log the message
[INFO] [IntroscopeAgent.Agent] Temporarily no errorsnapshot will be sent for the error (<error message>); because more than <introscope.agent.errorsnapshots.identicalerror.limit.perperiod> same errors have occurred in <introscope.agent.errorsnapshots.identicalerror.period.time>(min)

for example:
[INFO] [IntroscopeAgent.Agent] Temporarily no errorsnapshot will be sent for the error (HTTP Error Code: 404: /brtmtestapp/t_0.jsp); because more than 60 same errors have occurred in 360 (min)